mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 08:18:44 -03:30
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.
This commit is contained in:
@@ -112,8 +112,7 @@
|
|||||||
when:
|
when:
|
||||||
- not ignore_assert_errors
|
- not ignore_assert_errors
|
||||||
- ('k8s_cluster' in group_names)
|
- ('k8s_cluster' in group_names)
|
||||||
- kube_network_node_prefix is defined
|
- kube_network_plugin not in ['calico', 'none']
|
||||||
- kube_network_plugin != 'calico'
|
|
||||||
|
|
||||||
- name: Stop if ip var does not match local ips
|
- name: Stop if ip var does not match local ips
|
||||||
assert:
|
assert:
|
||||||
|
|||||||
Reference in New Issue
Block a user