mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-08 09:57:38 -02:30
Disable 'Check that IP range is enough for the nodes' when calico is used (#9491)
This commit is contained in:
@@ -187,6 +187,7 @@
|
|||||||
that:
|
that:
|
||||||
- 2 ** (kube_network_node_prefix - kube_pods_subnet | ipaddr('prefix')) >= groups['k8s_cluster'] | length
|
- 2 ** (kube_network_node_prefix - kube_pods_subnet | ipaddr('prefix')) >= groups['k8s_cluster'] | length
|
||||||
msg: "Not enough IPs are available for the desired node count."
|
msg: "Not enough IPs are available for the desired node count."
|
||||||
|
when: kube_network_plugin != 'calico'
|
||||||
run_once: yes
|
run_once: yes
|
||||||
|
|
||||||
- name: Stop if unknown dns mode
|
- name: Stop if unknown dns mode
|
||||||
|
|||||||
Reference in New Issue
Block a user