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

Update docs with instructions for the new AWS CNI to allow connecting to external service #313

Open
Soni96pl opened this issue Feb 8, 2024 · 0 comments

Comments

@Soni96pl
Copy link

Soni96pl commented Feb 8, 2024

Setup based on docs doesn't work on a fresh cluster with AWS CNI above version 1.12.6 as it doesn't allow routing services to endpoints outside the cluster. At first I switched to Calico which seemed to fix the issue, but there is a simpler way:

kubectl set env daemonset aws-node -n kube-system "AWS_EXTERNAL_SERVICE_CIDRS=<Another Cluster CIDR>/16"

This isn't strictly cloud map issue, but I believe docs will benefit from including this as currently the steps can't be followed exactly. I'm willing to submit a PR adding section to the docs if there is approval, though I think someone more versed might be better suited as I haven't explored alternative solutions.

Hope this helps someone ✌️

AWS_EXTERNAL_SERVICE_CIDRS was introduced in: aws/amazon-vpc-cni-k8s#2243

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

1 participant