It is possible to use CNI plugins that are not directly supported by the KubeOne. Here’s an example for Calico.
Example AWS kubeone config
apiVersion: kubeone.k8c.io/v1beta2
kind: KubeOneCluster
versions:
kubernetes: 1.22.5
cloudProvider:
aws: {}
clusterNetwork:
cni:
external: {}
addons:
enable: true
addons:
- name: calico-vxlan
params:
MTU: "0" # auto-detect MTU
You can use the following MTU values depending on your provider:
MTU: ""
— auto-detect MTUMTU: "8951"
— use this if provider is AWSMTU: "1400"
— use this if provider is OpenStackMTU: "1410"
— use this if provider is GCE