mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-11 19:37:40 -02:30
Disable controller-manager allocate-node-cidrs for cilium cluster-pool ipam (#13148)
Signed-off-by: Ali Afsharzadeh <afsharzadeh8@gmail.com>
This commit is contained in:
@@ -365,7 +365,16 @@ controllerManager:
|
||||
{% endif %}
|
||||
- name: service-cluster-ip-range
|
||||
value: "{{ kube_service_subnets }}"
|
||||
{% if kube_network_plugin is defined and kube_network_plugin == "calico" and not calico_ipam_host_local %}
|
||||
{% if (
|
||||
kube_network_plugin is defined and
|
||||
kube_network_plugin == "calico" and
|
||||
not calico_ipam_host_local
|
||||
) or (
|
||||
kube_network_plugin is defined and
|
||||
kube_network_plugin == "cilium" and
|
||||
cilium_ipam_mode == "cluster-pool"
|
||||
)
|
||||
%}
|
||||
- name: allocate-node-cidrs
|
||||
value: "false"
|
||||
{% else %}
|
||||
|
||||
Reference in New Issue
Block a user