-
Notifications
You must be signed in to change notification settings - Fork 233
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
Add Cilium as a Overlay Network #462
Comments
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
There was added "external" CNI support added, so any CNI plugin can be installed more info: #862 |
Sad, that cilium isn't included in the plugins that can be directly integrated via kubeone. |
@shibumi we will accept the PR with cilium addon ;) |
@kron4eg ah ok. So you are open for a possible cilium addon? Will have a look on this maybe. The Canal part doesn't look that complicated. If I read this correctly you are just composing the canal deployment directly via the Kubernetes API, right? So everything what I would need to do is:
Is this correct? |
@shibumi while yes we are open, I meant "addons" mechanism. Existing example would be Calico VXLAN addon. So no Go code is necessary. |
@shibumi would be very nice to see this feature in KubeOne :) |
@kron4eg this sounds even easier than the Go code. |
OK then I'll reopen this back. |
@shibumi can you ping me in the CNCF Slack? I'm also very interested in Cilium in KubeOne/Kubermatic. |
/remove-lifecycle stale |
@cedi sure, it shouldn't be that complicated. It's really just adding the cilium YAML to the addon directory + adding some Go templating and tests I guess. Or am I missing something? |
I'll demo implemented cilium in a fork of KubeOne: https://github.com/cedi/kubeone/tree/add_cilium_cni @kron4eg I know you suggested to use the yaml-way in combination with the |
The reason why I was suggesting addon in form of YAML is: we plan to move even more in-go-manifests to YAML addons. We want this to avoid maintaining this in Go form, and to give people opportunity to customize stuff if they are willing to do so. |
With release of Go 1.16 and its new io.Fs interface and emed package we will ship some "default addons" right with binary itself, of course with maintaining ability to customize them. |
Our candidate packages "to-move-to-yaml" list for now is:
Maybe we will change something in this list, but most likely not. Anyway, the more code is expressed in form of addons the better — since it gives users opportunity to customize monifests (e.g. upgrade components without waiting for the next kubeone upgrade) |
@kron4eg would have been nice to read about such plans in a roadmap :) |
Yeah, I totally get your point. I mean I converted the YAML to the right Go-Structs. It's really PITA. So I'll get your point and fully agree. As I said before: I have no hard feelings regarding the Go implementation. It was a nice proof of concept for me to get a bit more into the internals of KubeOne and I had some nice learnings. So don't worry :)
This sounds great! |
This want-to-move of internal go package to external YAML addons is just a sporadic idea inspired by the Go 1.16 release notes :D There is no official plan, and even an issue to start implementing this. |
here's #1254 umbrella issue for this addons migration. |
What feature would you like to be added?
Cilium as a overlay
What are use cases of the feature?
Cilium has lot of benefits over a calico / kube-proxy setup, described in detail here: https://cilium.readthedocs.io/en/stable/intro/.
For me the 3 outstanding features are:
The text was updated successfully, but these errors were encountered: