From 244dee6600496f1e32084b87700b7079edcc44ba Mon Sep 17 00:00:00 2001 From: trevor tao Date: Tue, 12 Apr 2022 19:44:17 +0800 Subject: [PATCH] Upgrade k8s version to 1.22.0 and CNI 0.8.7 Signed-off-by: trevor tao Change-Id: Ie28eef617228a579d5994f28e009466fc785ca48 --- src/foundation/scripts/k8s_common.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/foundation/scripts/k8s_common.sh b/src/foundation/scripts/k8s_common.sh index 2aae30f..5331c12 100755 --- a/src/foundation/scripts/k8s_common.sh +++ b/src/foundation/scripts/k8s_common.sh @@ -9,14 +9,14 @@ fi case ${OS_ID_LIKE:-} in debian) DOCKER_VERSION=18.06.1~ce~3-0~ubuntu - KUBE_VERSION=${1:-1.19.0}-00 - K8S_CNI_VERSION=${2:-0.8.6}-00 + KUBE_VERSION=${1:-1.22.0}-00 + K8S_CNI_VERSION=${2:-0.8.7}-00 KUBELET_CFG=/etc/default/kubelet ;; rhel) DOCKER_VERSION=18.06.1.ce-3.el7 - KUBE_VERSION=${1:-1.19.0}-0 - K8S_CNI_VERSION=${2:-0.8.6}-0 + KUBE_VERSION=${1:-1.22.0}-0 + K8S_CNI_VERSION=${2:-0.8.7}-0 KUBELET_CFG=/etc/sysconfig/kubelet ;; *) -- 2.16.6