|
|
|
@ -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 |
|
|
|
|