Browse Source

Don't check address space when using 'none' network plugin

Since 'none' can be, for instance, a manual calico deployment, don't
check whether there is enough ip for pods on a node, because the plugin
can use another mechanism than the podCIDR to allocate IPs.
pull/11901/head
Max Gautier 3 months ago
parent
commit
85d9e3e2ae
Failed to extract signature
1 changed files with 1 additions and 2 deletions
  1. 3
      roles/kubernetes/preinstall/tasks/0040-verify-settings.yml

3
roles/kubernetes/preinstall/tasks/0040-verify-settings.yml

@ -112,8 +112,7 @@
when:
- not ignore_assert_errors
- ('k8s_cluster' in group_names)
- kube_network_node_prefix is defined
- kube_network_plugin != 'calico'
- kube_network_plugin not in ['calico', 'none']
- name: Stop if ip var does not match local ips
assert:

Loading…
Cancel
Save