From 3118437e10bc160bd704967169bea0ab348acb39 Mon Sep 17 00:00:00 2001 From: Sergey Date: Thu, 17 Oct 2019 15:48:38 +0300 Subject: [PATCH] check on all cluster node - kubelet_max_pods <= (2 ** (32 - kube_network_node_prefix | int)) - 2 (#5279) --- roles/kubernetes/preinstall/tasks/0020-verify-settings.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml b/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml index 6ff736622..928e34dc4 100644 --- a/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml +++ b/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml @@ -81,7 +81,7 @@ msg: "Do not schedule more pods on a node than inet addresses are available." ignore_errors: "{{ ignore_assert_errors }}" when: - - inventory_hostname in groups['kube-node'] + - inventory_hostname in groups['k8s-cluster'] - kube_network_node_prefix is defined - name: Stop if ip var does not match local ips