public-cloud-roadmap icon indicating copy to clipboard operation
public-cloud-roadmap copied to clipboard

Support other network plugins (CNI) than canal in MKS

Open arcalys opened this issue 2 years ago • 14 comments

Add support for multiple network plugins (e.g. calico, cilium, weave,...) and let the user choose/define it at cluster creation through the GUI, CLI and Terraform.

arcalys avatar Jan 17 '23 16:01 arcalys

Hello @arcalys and thanks for your feature request. We have been exploring this idea, but currently lack a substantial and motivated demand count for a given other CNI to make sure this is worth maintaining multiple CNI for each future version of Kubernetes.

Could you share details about the CNI you wish to use and the use case it would enable ?

mhurtrel avatar Jan 17 '23 20:01 mhurtrel

Hello @mhurtrel,

On our end, we have self-hosted clusters running with Cilium, which we like especially for its observability stack, encryption and a bunch of other features (multi-clusters mesh, security features and policies, DNS policies,...).

For users in general though, I'd say the transition/migration to MKS would be easier if one does not have to change everything and rewrite every existing resource (network policies,...).

arcalys avatar Jan 18 '23 08:01 arcalys

+1 for Cilium which add great features on observability and security sides!

rverchere avatar Feb 22 '23 08:02 rverchere

+1 for cilium, it add Layer 7 network Policies features.

seb-835 avatar Jun 21 '23 12:06 seb-835

+1 for cilium, the observability capacties with Hubble and tracing capacity, security with previously mentionned Layer 7 network Policies but also sidecar-less service mesh (and since last release e2e encryption), Tetragon and finally native Ingress and Gateway API support. To be 100% transparent my company is currently thinking of migrating from ovh to other cloud provider only to have cilium support since it's that much important for us.

If I can help with this feature, I would be glad to.

Arcahub avatar Sep 14 '23 16:09 Arcahub

it adds Multi-region clustering

theyough avatar Sep 16 '23 09:09 theyough

Cilium will be a game changer for your current managed Kubernetes offer.

https://github.com/ovh/public-cloud-roadmap/issues/116 helped a lot, but it not the same as a CNI like cilium.

:eyes: at:

  • https://docs.cilium.io/en/stable/network/egress-gateway/
  • Hubble to debug ;-)
  • With https://github.com/cilium/cilium/issues/20550 fixed in https://github.com/cilium/cilium/pull/27464 :kissing_heart:

:+1:

romain-fluttaz avatar Sep 22 '23 20:09 romain-fluttaz

Hi, is there a plan for integrating this feature?

This would be indeed a game changer since Cilium is the only CNI able to offer a FQDN based network policy. Hope this will be integrated soon.

Yayg avatar Oct 30 '23 10:10 Yayg

Hi @Yayg I confirm that we will work on integrating an alternative CNI, and Clilium is currently the one we consider. However it is not planned for the next 6 months, sorry.

Please note that in the meantime, Cilium is part of the CNIs supported in Managed Rancher Service (for self managed clusters with RKE). If it is an aleternative for you, do not hesitate to join the alpha (private beta) : https://labs.ovhcloud.com/en/managed-rancher-service/

mhurtrel avatar Nov 01 '23 09:11 mhurtrel

For the record, I've been able to setup Cilium in chaining mode on MKS on a single-node PoC cluster with:

cilium install --version 1.14.6 \
	--set cni.chainingTarget=k8s-pod-network \
	--set cni.chainingMode=generic-veth \
	--set hubble.relay.enabled=true \
	--set hubble.ui.enabled=true \
	--set routingMode=native \
	--set enableIPv4Masquerade=false \
	--set enableIPv6Masquerade=false  \
	--set operator.replicas=1

The install survived a MKS minor version update and Hubble was correctly reporting L3/L4 streams.

However, I was not able to get L7 rules and observability to work (known issue). In particular, I need to filter egress streams based on the FQDN.

yadutaf avatar Jan 24 '24 14:01 yadutaf

Alternatively, an option like Azure's "Bring your own CNI" would be great for us. If this mode is selected, OVH would of course no longer provide support for CNI related topics but the customer would retain the benefits of a the managed control plane and nodes.

yadutaf avatar Jan 30 '24 09:01 yadutaf

+1 for Cilium. It is an absolute requirement for us.

royolsen avatar Apr 16 '24 14:04 royolsen

+1 for cilium !

Davidffry avatar Jul 01 '24 15:07 Davidffry

Any updates? @mhurtrel

hbrombeer avatar Aug 06 '24 10:08 hbrombeer