Browse Source
Disable 'Check that IP range is enough for the nodes' when calico is used (#9491)
pull/9556/head
Mohamed Zaian
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
roles/kubernetes/preinstall/tasks/0020-verify-settings.yml
|
|
@ -187,6 +187,7 @@ |
|
|
|
that: |
|
|
|
- 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." |
|
|
|
when: kube_network_plugin != 'calico' |
|
|
|
run_once: yes |
|
|
|
|
|
|
|
- name: Stop if unknown dns mode |
|
|
|