Skip to content

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

@Soni96pl

Description

@Soni96pl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions