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

Is the VPC_ID env var used? #2999

Open
SharpEdgeMarshall opened this issue Aug 1, 2024 · 2 comments
Open

Is the VPC_ID env var used? #2999

SharpEdgeMarshall opened this issue Aug 1, 2024 · 2 comments

Comments

@SharpEdgeMarshall
Copy link

What happened:

We are wondering if the env var VPC_ID added by eks is still used by the vpc-cni plugin, there's no trace of its usage in the doc or the code.
We need to know it because we are self-managing the vpc-cni addon so we need to configure all the needed env vars.

Environment:

  • Kubernetes version (use kubectl version): NA
  • CNI Version: NA
  • OS (e.g: cat /etc/os-release): Bottlerocket
  • Kernel (e.g. uname -a): NA
@orsenthil
Copy link
Member

We are wondering if the env var VPC_ID added by eks is still used by the vpc-cni plugin

No. We don't. But vpc-id is very important and we get it from the IMDS of the machine

// retrieve vpc-id

@SharpEdgeMarshall
Copy link
Author

Sure, I know that; we wondered why EKS put that env var if it's not used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants