Fix problem migration to k8s 1.27 (#10136)

* Fix `The task includes an option with an undefined variable` for 1.27

* delete old flag --container-runtime

Signed-off-by: Victor Login <batazor@evrone.com>

---------

Signed-off-by: Victor Login <batazor@evrone.com>
This commit is contained in:
Victor Login
2023-05-29 02:09:42 +02:00
committed by GitHub
parent 78189186e5
commit 0ba2e655f4
2 changed files with 1 additions and 1 deletions

View File

@ -1071,6 +1071,7 @@ csi_livenessprobe_image_repo: "{{ kube_image_repo }}/sig-storage/livenessprobe"
csi_livenessprobe_image_tag: "v2.5.0" csi_livenessprobe_image_tag: "v2.5.0"
snapshot_controller_supported_versions: snapshot_controller_supported_versions:
v1.27: "v4.2.1"
v1.26: "v4.2.1" v1.26: "v4.2.1"
v1.25: "v4.2.1" v1.25: "v4.2.1"
v1.24: "v4.2.1" v1.24: "v4.2.1"

View File

@ -11,7 +11,6 @@ KUBELET_HOSTNAME="--hostname-override={{ kube_override_hostname }}"
--config={{ kube_config_dir }}/kubelet-config.yaml \ --config={{ kube_config_dir }}/kubelet-config.yaml \
--kubeconfig={{ kube_config_dir }}/kubelet.conf \ --kubeconfig={{ kube_config_dir }}/kubelet.conf \
{# end kubeadm specific settings #} {# end kubeadm specific settings #}
--container-runtime=remote \
--container-runtime-endpoint={{ cri_socket }} \ --container-runtime-endpoint={{ cri_socket }} \
--runtime-cgroups={{ kubelet_runtime_cgroups }} \ --runtime-cgroups={{ kubelet_runtime_cgroups }} \
{% endset %} {% endset %}