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

Enable AWS_VPC_K8S_CNI_EXTERNALSNAT=true #110

Closed
Nuru opened this issue Mar 30, 2021 · 1 comment
Closed

Enable AWS_VPC_K8S_CNI_EXTERNALSNAT=true #110

Nuru opened this issue Mar 30, 2021 · 1 comment
Assignees

Comments

@Nuru
Copy link
Sponsor Contributor

Nuru commented Mar 30, 2021

In order to use a Network Load Balancer with "Preserve Source IP" as Ingress to a Kubernetes service, you need to put the EKS cluster in a private subnet and set AWS_VPC_K8S_CNI_EXTERNALSNAT=true in the aws-node Daemonset. According to AWS, the way to do this is

kubectl set env daemonset -n kube-system aws-node AWS_VPC_K8S_CNI_EXTERNALSNAT=true

We need some way to set this via Terraform, since it is a required setting.

References

@Nuru Nuru pinned this issue Mar 30, 2021
@Nuru
Copy link
Sponsor Contributor Author

Nuru commented Jul 14, 2021

Closing this as not so important now that the underlying problem has been resolved in amazon-vpc-cni-k8s release 1.8.0.

@Nuru Nuru closed this as completed Jul 14, 2021
@Nuru Nuru unpinned this issue Jul 14, 2021
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

No branches or pull requests

3 participants