Update 'k8s/upgrde_26_27.yml'

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

@ -36,4 +36,12 @@
- "kubeadm" - "kubeadm"
- name: Upgrading packages - name: Upgrading packages
apt: apt:
upgrade: yes 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