eksctl icon indicating copy to clipboard operation
eksctl copied to clipboard

Does eksctl support customizing env variables for aws-node and worker nodes?

Open hq6 opened this issue 3 years ago • 3 comments

In my environment, I need to specify the HTTP_PROXY environment variable to make EKS work correctly due to lack of outbound internet and lack of permissions to write into route tables.

Is there a mechanism to inject extra environment variables into the daemonset aws-node? Also, there is a mechanism to run custom scripts to set up env variables on unmanaged node groups?

hq6 avatar Mar 09 '22 02:03 hq6

Hi @hq6

You could use the bootstrap command to define any environment properties. For that though you would have to define a bootstrap override. Currently, there is no other way to push environment properties to aws-node. There is an existing issue in the aws-go-sdk for this here: https://github.com/aws/aws-sdk/issues/286

Skarlso avatar Mar 10 '22 09:03 Skarlso

Thanks for the pointer! I can try with the bootstrap override for the unmanaged node groups.

For the aws-node issue, since it's blocked on the dependency issue, should I keep this issue open or close it?

hq6 avatar Mar 13 '22 22:03 hq6

@hq6 Yeah, it's worth having it around to increase visibility! :)

Skarlso avatar Mar 14 '22 06:03 Skarlso

Closing this since the linked aws-go-sdk issue is closed.

Himangini avatar Sep 27 '22 13:09 Himangini