[Bug] Duplicate --max-pods
attribute passed to KUBELET_EXTRA_ARGS
#7946
Labels
--max-pods
attribute passed to KUBELET_EXTRA_ARGS
#7946
What were you trying to accomplish?
--max-pods
forKUBELET_EXTRA_ARGS
should have exactly one but not two whenMaxPodsPerNode
is assigned.What happened?
When
MaxPodsPerNode
is assigned, it would invokemakeMaxPodsScript
withappend()
eksctl/pkg/nodebootstrap/managed_al2.go
Lines 51 to 55 in c9afc42
However, the original
KUBELET_EXTRA_ARGS
already have--max-pods
flag set, aftersed -i
it would have two--max-pods
flags assigned, which is confusing (although the actual result is okay),eksctl/pkg/nodebootstrap/managed_al2.go
Lines 97 to 103 in c9afc42
How to reproduce it?
Create Managed Node Group with
MaxPodsPerNode
set.Logs
Actual result:
Anything else we need to know?
n/a
Versions
The text was updated successfully, but these errors were encountered: