mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-22 08:17:45 -02:30
Add toggle to disable node subnet allocation (#13239)
Signed-off-by: Justin Lamp <justin.lamp@netways.de>
This commit is contained in:
@@ -365,14 +365,15 @@ 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
|
||||
) or (
|
||||
kube_network_plugin is defined and
|
||||
kube_network_plugin == "cilium" and
|
||||
cilium_ipam_mode == "cluster-pool"
|
||||
{% if not kube_controller_manager_allocate_node_cidrs
|
||||
or kube_network_plugin is defined and (
|
||||
(
|
||||
kube_network_plugin == "calico" and
|
||||
not calico_ipam_host_local
|
||||
) or (
|
||||
kube_network_plugin == "cilium" and
|
||||
cilium_ipam_mode == "cluster-pool"
|
||||
)
|
||||
)
|
||||
%}
|
||||
- name: allocate-node-cidrs
|
||||
|
||||
Reference in New Issue
Block a user