-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Description
What problem are you trying to solve?
Currently, Karpenter requires fixed values for Kubelet arguments such as systemReserved, kubeReserved, and maxPods which are configured in spec.kubelet field in the EC2NodeClass. The optimal choice for these values can change depending on the instance size, which makes it difficult to configure with NodePool that provision various instance sizes.
Recently, a maxPodsExpression field was introduced to amazon-eks-ami NodeConfig's which is passed in as a Kubelet Option. This field allows configuration of maxPods based of the instance that will be launched, e.g. "((default_enis - 1) * (ips_per_eni - 1)) + 2". Karpenter should support this field as well as explore similar mechanisms for configuring systemReserved and kubeReserved.
Related Issues:
- Percentage-Based Resource Reservations #8694
- Support amazon-eks-ami NodeConfig's maxPodsExpression #8739
How important is this feature to you?
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment