mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 11:47:47 +03:00
Feature DynamicKubeletConfig is deprecated in 1.22 and will not move to GA (#7938)
* Feature DynamicKubeletConfig is deprecated in 1.22 and will not move to GA * Add check for dynamic_kubelet_configuration with kube >= 1.22
This commit is contained in:
@@ -114,6 +114,16 @@
|
||||
when:
|
||||
- kube_version is version('v1.21.0', '>=')
|
||||
|
||||
- name: Stop when dynamic_kubelet_configuration enabled for kubernetes >= 1.22
|
||||
assert:
|
||||
that: not dynamic_kubelet_configuration
|
||||
msg: >
|
||||
Feature DynamicKubeletConfig is deprecated in 1.22 and will not move to GA.
|
||||
It is planned to be removed from Kubernetes in the version 1.23.
|
||||
Please use alternative ways to update kubelet configuration.
|
||||
when:
|
||||
- kube_version is version('v1.22.0', '>=')
|
||||
|
||||
# This assertion will fail on the safe side: One can indeed schedule more pods
|
||||
# on a node than the CIDR-range has space for when additional pods use the host
|
||||
# network namespace. It is impossible to ascertain the number of such pods at
|
||||
|
||||
Reference in New Issue
Block a user