Update 'k8s/upgrde_26_27.yml'

master
alecsandru 9 months ago
parent 57f69e0747
commit 1ef1afa9ae
  1. 8
      k8s/upgrde_26_27.yml

@ -37,3 +37,11 @@
- name: Upgrading packages
apt:
upgrade: yes
- name: Upgrade plan
shell: "kubeadm upgrade plan >> /etc/kubernetes/upgrade_plan_{{ K8S_SOURCE_VERSION}}_{{ K8S_TARGET_VERSION}}"
args:
creates: /etc/kubernetes/upgrade_plan_{{ K8S_SOURCE_VERSION}}_{{ K8S_TARGET_VERSION}}
- name: Apply upgrade plan
shell: "sudo kubeadm upgrade apply v1.27.13 >> /etc/kubernetes/upgrade_ops_{{ K8S_SOURCE_VERSION}}_{{ K8S_TARGET_VERSION}}"
args:
creates: /etc/kubernetes/upgrade_ops_{{ K8S_SOURCE_VERSION}}_{{ K8S_TARGET_VERSION}}
Loading…
Cancel
Save