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

Use Amazon VPC annotation to get pod IPs, if set #1523

Merged

Conversation

caseydavenport
Copy link
Member

@caseydavenport caseydavenport commented Oct 12, 2021

Description

Still needs tests.

Corresponding PR to aws/amazon-vpc-cni-k8s#1629

Fixes projectcalico/calico#3530

Reference: kubernetes/kubernetes#39113

Todos

  • Tests
  • Documentation
  • Release note

Release Note

Read pod IP information from Amazon VPC CNI annotation, if present on the pod. 

@caseydavenport caseydavenport force-pushed the casey-respect-aws-annotation branch from 9f18417 to a52a875 Compare October 15, 2021 15:47
@caseydavenport
Copy link
Member Author

Good catch - thanks @fasaxc

Think this is ready for a final look

Copy link
Member

@fasaxc fasaxc left a comment

Choose a reason for hiding this comment

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

One bit of copy/pasta and could do with a test to check that setting the AWS annotation to "" has the same effect as the calico annotation. Hopefully there's a test you can copy/paste for that!

lib/backend/k8s/conversion/conversion.go Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Huge network connections latencies after installing Calico in an EKS cluster
3 participants