mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
[kubernetes] drop pre 1.22.0 workarounds
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
9535a41187
commit
ae1dcb031f
@@ -77,16 +77,6 @@
|
||||
- not ignore_assert_errors
|
||||
- inventory_hostname in groups['kube_node']
|
||||
|
||||
- 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
|
||||
@@ -270,14 +260,6 @@
|
||||
msg: "kata_containers_enabled support only for containerd and crio-o. See https://github.com/kata-containers/documentation/blob/1.11.4/how-to/run-kata-with-k8s.md#install-a-cri-implementation for details"
|
||||
when: kata_containers_enabled
|
||||
|
||||
- name: Stop if kata_containers_version is >= 2.3.0 and kube_version < 1.22.0
|
||||
assert:
|
||||
that: kube_version is version('v1.22.0', '>')
|
||||
msg: "Kata containers version 2.3.0 is compatible with Kubernetes 1.22.0+"
|
||||
when:
|
||||
- kata_containers_enabled
|
||||
- kata_containers_version is version ('2.3.0', '>=')
|
||||
|
||||
- name: Stop if gvisor_enabled is enabled when container_manager is not containerd
|
||||
assert:
|
||||
that: container_manager == 'containerd'
|
||||
|
||||
Reference in New Issue
Block a user