kubespray/roles/network_plugin
Frank Ritchie f05d6b3711
Add cilium_ipam_mode variable (#7418)
Starting with Cilium v1.9 the default ipam mode has changed to "Cluster
Scope". See:

https://docs.cilium.io/en/v1.9/concepts/networking/ipam/

With this ipam mode Cilium handles assigning subnets to nodes to use
for pod ip addresses. The default Kubespray deploy uses the Kube
Controller Manager for this (the --allocate-node-cidrs
kube-controller-manager flag is set). This makes the proper ipam mode
for kubespray using cilium v1.9+ "kubernetes".

Tested with Cilium 1.9.5.

This PR also mounts the cilium-config ConfigMap for this variable
to be read properly.

In the future we can probably remove the kvstore and kvstore-opt
Cilium Operator args since they can be in the ConfigMap. I will tackle
that after this merges.
2021-04-01 07:33:22 -07:00
..
calico add support for custom calico port (#7419) 2021-03-29 08:38:45 -07:00
canal Replace kube-master with kube_control_plane (#7256) 2021-03-23 17:26:05 -07:00
cilium Add cilium_ipam_mode variable (#7418) 2021-04-01 07:33:22 -07:00
cni/tasks Use role to copy CNI bin (#5953) 2020-04-16 10:06:45 -07:00
flannel Replace kube-master with kube_control_plane (#7256) 2021-03-23 17:26:05 -07:00
kube-ovn Replace kube-master with kube_control_plane (#7256) 2021-03-23 17:26:05 -07:00
kube-router Replace kube-master with kube_control_plane (#7256) 2021-03-23 17:26:05 -07:00
macvlan fix: correct hardcoded macvlan template, use var macvlan_interface. (#7401) 2021-03-24 01:46:06 -07:00
meta Remove contiv related files (#6964) 2020-11-30 06:48:50 -08:00
multus Disable CRI-O restart by Multus (#6930) 2020-11-28 08:52:47 -08:00
ovn4nfv Replace kube-master with kube_control_plane (#7256) 2021-03-23 17:26:05 -07:00
weave Update Weave to 2.8.0 (#7181) 2021-01-19 08:35:48 -08:00