summaryrefslogtreecommitdiff
path: root/roles/kubernetes/kubeadm
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-08-13 15:37:12 +0200
committerChristian Pointner <equinox@spreadspace.org>2022-08-13 15:37:12 +0200
commit0bc59322a21cde925ca46e1af6ef69598e5c9fcf (patch)
tree487ad8553d7dd9a6990419ee8aab4aba2d2d53c5 /roles/kubernetes/kubeadm
parentprometheus/chaos-at-home: upgrade prometeus and exporter (diff)
kubernetes/kubeadm: dust-off upgrade readme
Diffstat (limited to 'roles/kubernetes/kubeadm')
-rw-r--r--roles/kubernetes/kubeadm/upgrade8
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/kubernetes/kubeadm/upgrade b/roles/kubernetes/kubeadm/upgrade
index 2cfa18cd..5328eefa 100644
--- a/roles/kubernetes/kubeadm/upgrade
+++ b/roles/kubernetes/kubeadm/upgrade
@@ -4,7 +4,7 @@ Cluster Upgrades:
primary control-plane node:
---------------------------
-VERSION=1.23.1
+VERSION=1.24.3
apt-get update
@@ -29,11 +29,11 @@ kubectl uncordon $(hostname)
secondary control-plane node:
-----------------------------
-VERSION=1.23.1
+VERSION=1.24.3
apt-get update
sed "s/^Pin: version .*$/Pin: version $VERSION-00/" -i /etc/apt/preferences.d/kubeadm.pref
-apt-get install -y --allow-change-held-packages "kubeadm=$VERSION-00"
+apt-get install -y "kubeadm=$VERSION-00"
kubectl drain $(hostname) --ignore-daemonsets --delete-emptydir-data
kubeadm upgrade node
@@ -49,7 +49,7 @@ kubectl uncordon $(hostname)
worker nodes:
-------------
-VERSION=1.23.1
+VERSION=1.24.3
apt-get update
sed "s/^Pin: version .*$/Pin: version $VERSION-00/" -i /etc/apt/preferences.d/kubeadm.pref