Skip to content

Commit

Permalink
remove equal for use max pods as well
Browse files Browse the repository at this point in the history
  • Loading branch information
spring1843 committed Mar 15, 2022
1 parent c149e49 commit 3e2eb45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cloudprovider/aws/amifamily/bootstrap/eksbootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (e EKS) Script() string {
kubeletExtraArgs := strings.Join([]string{e.nodeLabelArg(), e.nodeTaintArg()}, " ")

if !e.AWSENILimitedPodDensity {
userData.WriteString(" \\\n--use-max-pods=false")
userData.WriteString(" \\\n--use-max-pods false")
kubeletExtraArgs += " --max-pods=110"
}
if kubeletExtraArgs = strings.Trim(kubeletExtraArgs, " "); len(kubeletExtraArgs) > 0 {
Expand Down

0 comments on commit 3e2eb45

Please sign in to comment.