Update 'k8s/upgrde_26_27.yml'

This commit is contained in:
2024-05-04 20:27:42 +00:00
parent d895fa310d
commit ea2e886799

View File

@@ -50,7 +50,7 @@
- name: Pulling new container images
shell: "kubeadm config images pull"
- name: Apply upgrade plan
shell: "sudo kubeadm upgrade apply -y v1.27.13 >> /etc/kubernetes/upgrade_ops_{{ K8S_SOURCE_VERSION}}_{{ K8S_TARGET_VERSION}}"
shell: "sudo kubeadm upgrade apply -y {{ K8S_TARGET_MINOR }} >> /etc/kubernetes/upgrade_ops_{{ K8S_SOURCE_VERSION}}_{{ K8S_TARGET_VERSION}}"
args:
creates: /etc/kubernetes/upgrade_ops_{{ K8S_SOURCE_VERSION}}_{{ K8S_TARGET_VERSION}}
- name: Unhold kubelet