Disable 'Check that IP range is enough for the nodes' when calico is used (#9491)
This commit is contained in:
parent
6e63f3d2b4
commit
c036a7d871
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue