From: garciadeblas Date: Wed, 24 Jan 2024 16:36:49 +0000 (+0100) Subject: Update K8s version in install_kubeadm_cluster.sh to 1.28 X-Git-Tag: release-v16.0-start~51 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=36a09fe79bef2ceab5ce930c4fc337bf9c0dc54b;p=osm%2Fdevops.git Update K8s version in install_kubeadm_cluster.sh to 1.28 Change-Id: Ibc0028df3d41204d630643aff86d8fd9657c5169 Signed-off-by: garciadeblas --- diff --git a/installers/install_kubeadm_cluster.sh b/installers/install_kubeadm_cluster.sh index 015cfa4d..fa89a9a2 100755 --- a/installers/install_kubeadm_cluster.sh +++ b/installers/install_kubeadm_cluster.sh @@ -15,7 +15,7 @@ set +eux -K8S_VERSION=1.26.5-00 +K8S_VERSION=1.28.2-00 # installs kubernetes packages function install_kube() { @@ -24,7 +24,6 @@ function install_kube() { # To check other available versions, run the following command # curl -s https://packages.cloud.google.com/apt/dists/kubernetes-xenial/main/binary-amd64/Packages | grep Version | awk '{print $2}' sudo apt-get -y update && sudo apt-get install -y apt-transport-https ca-certificates curl - sudo install -m 0755 -d /etc/apt/keyrings curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-archive-keyring.gpg echo "deb [signed-by=/etc/apt/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list sudo apt-get -y update