Commit f4d486c
committed
Fix duplicate --max-pods arguments in KUBELET_EXTRA_ARGS
Fixes #7946 by removing existing --max-pods arguments before appending
the new value in makeMaxPodsScript. This prevents duplicate --max-pods
flags when the AMI bootstrap script already includes one.
The fix:
- Removes any existing --max-pods=<number> arguments
- Cleans up extra spaces
- Appends the new --max-pods value
Only affects AL2 managed nodegroups. AL2023 uses nodeadm configuration
and is not impacted by this change.1 parent 5f55c80 commit f4d486c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
0 commit comments