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:
Ali Afsharzadeh
2026-05-06 13:26:22 +03:30
committed by GitHub
parent 17f92d2cce
commit 09e9c43570
3 changed files with 14 additions and 5 deletions

View File

@@ -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 %}