This message was deleted.
# general
a
This message was deleted.
a
If your CNI is not in the dropdown list you can modify the cluster yaml, specify:
Copy code
cni:
  - none
And provide your own CNI manifest as an addon
c
Does Kubernetes work with CNI: none? I thought some kind of CNI is mandatory.
a
It is. But you need to supply your own CNI manifest if you don't want to deploy one of the CNI's from the dropdown
c
AFAICT there is no dropdown to select a CNI for K3s in Rancher v2.7.1. And the cluster.yaml doen't mention a CNI, either, but of course I will try your suggestion. Thank you very much.
a
Ah yes, you're right. You'd need to pass the equivalent of
--flannel-backend=none
. I've not tested this but in the cluster yaml in the
machineGlobalConfig
block add
flannel-backend: none
and supply the CNI manifest via addons or fleet etc
c
K3s only ships with a single CNI, unlike RKE2 which allows a selection. If you want to deploy your own you should do as David said.
c
It turned out that the built-in Flannel in K3s is fine for my needs. I just got a problem with RKE2 (calico by default). Posted yesterday on the rke2 channel, but no reply yet.