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
I'd like to see AL2023 (AL2 doesn't have the correct inputs) calculate the kube-reserved value from the actual max pods if provided and not always use the hypothetical instance value.
Why is this needed:
Running a calculation for kube-reserved based on max pods makes sense but using the wrong value for max pods in this calculation when there is a user defined value is part of the structured API doesn't make any sense. If I've set my node's max pods value to 110 then I expect the kube-reserved value to reflect this.
I also noticed this for the ubuntu custom ami, which probably uses this repo as a reference to build their eks images.
There are two problems actually:
the script does not consider the fact that one could use prefix delegation mode for the vpc cni (which allows you to have more pods per node compared to the default mode) and doesn't calculate max pods properly. It only considers what is available on eni-max-pods.txt.
What would you like to be added:
I'd like to see AL2023 (AL2 doesn't have the correct inputs) calculate the
kube-reserved
value from the actual max pods if provided and not always use the hypothetical instance value.Why is this needed:
Running a calculation for
kube-reserved
based on max pods makes sense but using the wrong value for max pods in this calculation when there is a user defined value is part of the structured API doesn't make any sense. If I've set my node's max pods value to 110 then I expect thekube-reserved
value to reflect this.CC @cartermckinnon
The text was updated successfully, but these errors were encountered: