From: trevor tao Date: Tue, 12 Apr 2022 11:44:17 +0000 (+0800) Subject: Upgrade k8s version to 1.22.0 and CNI 0.8.7 X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;ds=sidebyside;h=244dee6600496f1e32084b87700b7079edcc44ba;hp=-c;p=iec.git Upgrade k8s version to 1.22.0 and CNI 0.8.7 Signed-off-by: trevor tao Change-Id: Ie28eef617228a579d5994f28e009466fc785ca48 --- 244dee6600496f1e32084b87700b7079edcc44ba 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 ;; *)