-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] AL2023 self-managed nodegroups should support kubeletExtraConfig
#7751
Comments
@TiberiuGC EKS Optimized AMIs have Service Unit files for nodeadm Therefore, we should be building |
@punkwalker thanks for the feedback! Based on these references - https://awslabs.github.io/amazon-eks-ami/nodeadm/doc/api/#kubeletoptions and https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/, I was assuming we could pass something along the lines below to the userdata 👇🏻
What do you think about this? Will this not work? |
@TiberiuGC Nodeadm is using the values of And Nodeadm also sets Setting So, IMO we should use |
@punkwalker thanks for investigating this option. Lmk if you'd like to work on the fix you've suggested, if your time allows. |
Sure @TiberiuGC I will work on it. |
Currently, there's a validation in place that prevents the use case described in the title, e.g.
Error: could not create cluster provider from options: kubeletExtraConfig is not supported for AmazonLinux2023 nodegroups (path=nodeGroups[0].kubeletExtraConfig)
For self-managed AL2023 nodes, we need to build the kubelet config file and pass it to the nodeadm process via
nodeConfig.kubelet.flags
i.e.--config
.The text was updated successfully, but these errors were encountered: