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 default plugin handling mechanism #188

Open
sushanthakumar opened this issue Jun 24, 2019 · 0 comments
Open

Update default plugin handling mechanism #188

sushanthakumar opened this issue Jun 24, 2019 · 0 comments

Comments

@sushanthakumar
Copy link
Collaborator

What happened:
Cni Genie supports default plugin selection mechanism as mentioned here
https://github.com/cni-genie/CNI-Genie/blob/master/docs/default-plugin/README.md

So while using genie , when no cni annotations are found and no default plugins are specified, genie will use "weave" as the plugin as a final fallback mechanism
In a case, where genie is installed and some plugin(s) are installed other than weave,
pod with no cni annotaion and no default plugin specification will not be coming to run state as genie will try to use weave in this case which is not installed

What you expected to happen:
In such case (pod no cni annotation/no default plugin) , genie can use the kubelet way of plugin selection ie checking for valid conf file with given order. This will make sure that if any plugin is installed, pod will always be able to get ip address

How to reproduce it (as minimally and precisely as possible):
Create cluster
Install Genie first and then install any non weave plugin
Create a pod with normal yaml (without any genie specific configs)

Anything else we need to know?: -NA-

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