Skip to content
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

Support for the ENI_CONFIG_LABEL_DEF environment variable #411

Closed
wants to merge 6 commits into from

Conversation

VRanga000
Copy link
Contributor

Proposed changes

When an EKS cluster worker node group is spread across multiple availability zones,
and we want to use custom CNI networking, EKS allows you to specify the
ENI_CONFIG_LABEL_DEF environment variable value for worker nodes
This is used to tell Kubernetes to automatically apply the ENIConfig for each Availability Zone
Ref: https://docs.aws.amazon.com/eks/latest/userguide/cni-custom-network.html (step 6(c)).

This PR exposes the env variable in the CNI module in pulumi-eks.

Related issues (optional)

Addresses issue #410

@VRanga000
Copy link
Contributor Author

closing this, will reopen after it passes internal review.

@VRanga000 VRanga000 closed this Jul 28, 2020
@VRanga000 VRanga000 reopened this Jul 30, 2020
@VRanga000
Copy link
Contributor Author

The build error in travis ci does not seem related to my change, seems like an env var is not getting set, from what I can tell:

aws: error: the following arguments are required: value
The command "aws configure set default.aws_secret_access_key $DEFAULT_AWS_SECRET_ACCESS_KEY" failed and exited with 2 during .

@leezen leezen requested a review from metral July 30, 2020 16:32
Copy link
Contributor

@metral metral left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution! 🎉

Overall LGTM just a comment

nodejs/eks/cluster.ts Outdated Show resolved Hide resolved
@metral
Copy link
Contributor

metral commented Jul 30, 2020

The build error in travis ci does not seem related to my change, seems like an env var is not getting set, from what I can tell:

No worries, I'll have to shepherd this PR through since the secrets are not available for public use.

Copy link
Contributor

@metral metral left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉

Thanks for the changes!

Will pull this in for testing and aim to merge it if all goes green.

@metral metral mentioned this pull request Aug 4, 2020
@metral
Copy link
Contributor

metral commented Aug 7, 2020

Merged this PR in via #412

@metral metral closed this Aug 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants