How to pass "--kubelet-extra-args" to node group created by aws_eks_node_group?

I’m following the example for creating an EKS managed node group from Increase the amount of available IP addresses for your Amazon EC2 nodes - Amazon EKS

The configuration requires me to pass additional arguments to the /etc/eks/bootstrap.sh script via the --kubelet-extra-args argument.

My worker nodes are configured via a Terraform resource aws_eks_node_group

I can’t find any option with the resource that would allow me to pass the --kubelet-extra-args arguments. Am I looking at the wrong place or is there no way to achieve this?

3 Likes