From 36a7eaa8054e0e32807c28eacb299c90a0410704 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Tue, 25 Jul 2023 22:41:26 +0300 Subject: [PATCH] Bump Kubernetes deployment to 1.25.12 --- README.md | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 29d8688..5c6cb8d 100644 --- a/README.md +++ b/README.md @@ -210,22 +210,21 @@ Install packages: ```bash OS=xUbuntu_22.04 -VERSION=1.24 -cat < /etc/apt/trusted.gpg.d/libcontainers.gpg -curl -L https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable:cri-o:$VERSION/$OS/Release.key | gpg --dearmor > /etc/apt/trusted.gpg.d/libcontainers-cri-o.gpg -curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg > /etc/apt/trusted.gpg.d/packages-cloud-google.gpg + +curl -s https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/$OS/Release.key | gpg --dearmor > /etc/apt/trusted.gpg.d/libcontainers-archive-keyring.gpg +curl -s https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/$VERSION/$OS/Release.key | gpg --dearmor > /etc/apt/trusted.gpg.d/libcontainers-crio-archive-keyring.gpg +curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | gpg --dearmor > /etc/apt/trusted.gpg.d/packages-cloud-google.gpg + echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" > /etc/apt/sources.list.d/kubernetes.list apt-get update -apt-get install -yqq --allow-change-held-packages apt-transport-https curl cri-o cri-o-runc kubelet=1.24.10-00 kubectl=1.24.10-00 kubeadm=1.24.10-00 +apt-get install -yqq --allow-change-held-packages apt-transport-https curl cri-o cri-o-runc kubelet=1.25.12-00 kubectl=1.25.12-00 kubeadm=1.25.12-00 cri-o=1.25.3~0 +apt-mark hold kubelet kubeadm kubectl cri-o cat << \EOF > /etc/containers/registries.conf unqualified-search-registries = ["docker.io"] @@ -237,7 +236,7 @@ EOF sudo systemctl restart crio sudo systemctl daemon-reload sudo systemctl enable crio --now -apt-mark hold kubelet kubeadm kubectl + ``` On master: