fix kubelet_max_pod assert
This commit is contained in:
parent
48c0c8d854
commit
9c2098b8fa
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@
|
||||||
# NOTICE: the check blatantly ignores the inet6-case
|
# NOTICE: the check blatantly ignores the inet6-case
|
||||||
- name: Guarantee that enough network address space is available for all pods
|
- name: Guarantee that enough network address space is available for all pods
|
||||||
assert:
|
assert:
|
||||||
that: "{{ kubelet_max_pods <= (2 ** (32 - kube_network_node_prefix)) - 2 }}"
|
that: "{{ kubelet_max_pods | default(110) <= (2 ** (32 - kube_network_node_prefix)) - 2 }}"
|
||||||
msg: "Do not schedule more pods on a node than inet addresses are available."
|
msg: "Do not schedule more pods on a node than inet addresses are available."
|
||||||
ignore_errors: "{{ ignore_assert_errors }}"
|
ignore_errors: "{{ ignore_assert_errors }}"
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Reference in a new issue