mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 13:54:37 +03:00
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:
|
||||
- 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:
|
||||
|
||||
Reference in New Issue
Block a user