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

Deployment script to check available CNI plugins and test them #14

Closed
kshafiee opened this issue May 11, 2017 · 5 comments
Closed

Deployment script to check available CNI plugins and test them #14

kshafiee opened this issue May 11, 2017 · 5 comments
Assignees
Milestone

Comments

@kshafiee
Copy link
Contributor

No description provided.

@karunchennuri karunchennuri self-assigned this May 11, 2017
@karunchennuri
Copy link
Contributor

@kshafiee Please confirm if the below scope works to meet the expectation.

Scope:

  1. Identify existing CNI plugins running on the node
  2. Install missing plugins on the node
  3. Make CNI-Genie as primary plugin on the node
  4. Restart the kubelet
  5. Integrate script with 'make test' to run e2e tests, which should succeed.

@kshafiee
Copy link
Contributor Author

@karunchennuri let's not do step 2 to ensure this same script can run on any node regardless of whether it runs all or only some of the CNI plugins

@karunchennuri karunchennuri modified the milestone: v1.0 May 12, 2017
@karunchennuri
Copy link
Contributor

I think we should make this more comprehensive:

  1. create a daemon set that configures conf file and genie bin into /etc/cni/net.d or /opt/cni/bin
  2. Restart kubelet so that genie takes precedence over existing cni plugin that cluster might have been configured with.

@karunchennuri
Copy link
Contributor

Pt. 2 above is not needed. Make sure the genie conf is lexicographical precedes any other conf file in the same folder. Kubelet auto-picks every time first file in the /etc/cni/net.d

@karunchennuri
Copy link
Contributor

PR #21 addresses this requirement.

We aren't meeting 1 and 2 yet, for now we expect plugins to be at place.

Created docker image for CNI-Genie.
Documented steps to install cni-genie here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants