You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of the original problem posted here: #3903:
Setting spec.kubeletConfiguration.maxPods to 110 caused nodes to think they could handle 110 pods even if the node could not get as many nics/ips. If the ec2 instance can support 58 pods (awslabs/amazon-eks-ami@master/files/eni-max-pods.txt) and the maxPods config is set to 110 I would expect the node to never try and run more than 58 pods.
In other words, we want to be able to rely on Karpenter's automatically calculated maxPods for small instances, but also we want to be able to put an upper bound (e.g. 110) to the maxPods value.
In order to achieve this, Karpenter behavior could be changed this way:
first take the "karpenter-calculated" max pod count (=58)
and take the "user-inputted" max pod count (=110)
finally, set the min of the two as the final maxPods kubelet config value
But then, some users may want to use the user-inputted max pods value to override final the decision (as is the current behavior), because of some flaw in karpenter's automated calculations.
Therefore, I think karpenter should have a flag that allows the user to decide between:
using the "user-inputted" max pod count as the final decision to override the final kubelet config value (= the current ASIS behavior)
or using the minimum of "user-inputted" and "karpenter-calculated" max pod counts as the final kubelet config value (= which is what will solve the original Issue Author's and my use case)
What problem are you trying to solve?
Description of the original problem posted here: #3903:
In other words, we want to be able to rely on Karpenter's automatically calculated
maxPods
for small instances, but also we want to be able to put an upper bound (e.g. 110) to themaxPods
value.In order to achieve this, Karpenter behavior could be changed this way:
maxPods
kubelet config valueBut then, some users may want to use the user-inputted max pods value to override final the decision (as is the current behavior), because of some flaw in karpenter's automated calculations.
Therefore, I think karpenter should have a flag that allows the user to decide between:
Originally posted by @dlemfh in #3903 (comment)
How important is this feature to you?
The text was updated successfully, but these errors were encountered: