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

CNI binary download purpose and updates #463

Closed
cgswong opened this issue May 4, 2020 · 2 comments
Closed

CNI binary download purpose and updates #463

cgswong opened this issue May 4, 2020 · 2 comments
Labels
question Further information is requested

Comments

@cgswong
Copy link

cgswong commented May 4, 2020

What is the purpose of the CNI and CNI plugin binaries that are installed per here please? Also, if their purpose is still relevant, why have they not been updated to reflect the latest version (which since v0.6.1 the plugin binaries are in a different repo with latest v0.8.5). In reviewing my EKS 1.14 cluster node I am not seeing a /opt/cni/bin directory.

@mogren
Copy link

mogren commented May 12, 2020

Hi @cgswong,

This is a relic from older times. All it does it to copy the binaries from containernetworking, like loopback and cnitool to the base image. They can be useful when testing networking stuff on a worker node. You should definitely have a /opt/cni/bin folder on your workers. If not, I assume you are using some custom worker node, or another CNI. Check /etc/cni/net.d to see what CNI config you have and where the binary it refers to is located.

The only CNI plugin that is actually used by the AWS VPC CNI, portmap, is copied in by the CNI when it is starting up.

Also, I have a PR to use an init container for the CNI instead, to copy in the latest version of the plugins we need: aws/amazon-vpc-cni-k8s#955

@mogren mogren added the question Further information is requested label May 12, 2020
@cgswong
Copy link
Author

cgswong commented May 12, 2020

Thanks for the informative response.

@cgswong cgswong closed this as completed May 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants