diff --git a/README.md b/README.md index 26f23d0d..17cc863b 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,7 @@ instruction shows how to upgrade the existing Kubernetes cluster to | KRD_DEBUG | false | Enables verbose execution | | KRD_ANSIBLE_DEBUG | false | Enables ansible verbose execution | | PKG_DEBUG | false | Enables cURL package installer verbose execution | -| KRD_KUBE_VERSION | v1.28.6 | Specifies the Kubernetes version to be upgraded | +| KRD_KUBE_VERSION | v1.30.4 | Specifies the Kubernetes version to be upgraded | | KRD_KUBESPRAY_VERSION | v2.26.0 | Specifies the Kubespray version to be used during the upgrade process | | KRD_KUBESPRAY_REPO | `https://github.com/kubernetes-sigs/kubespray` | Specifies the Git repository to fetch the Kubespray's source code | | KRD_ENABLE_TESTS | false | Enables the functional tests during the deployment process | diff --git a/_commons.sh b/_commons.sh index de61a384..575bf2a6 100755 --- a/_commons.sh +++ b/_commons.sh @@ -36,7 +36,7 @@ function _get_kube_version { elif [ -n "${KRD_KUBE_VERSION-}" ]; then echo "${KRD_KUBE_VERSION}" else - echo "v1.28.6" + echo "v1.30.4" fi } diff --git a/ci/check.sh b/ci/check.sh index 20e66fac..f70985d8 100755 --- a/ci/check.sh +++ b/ci/check.sh @@ -54,13 +54,13 @@ function _run_assertions { if [[ ${HOST_INSTALLER:-false} == "true" ]]; then assert_contains "$(command -v kubectl)" "kubectl" - assert_are_equal "${KRD_KUBE_VERSION:-v1.28.6}" "$(kubectl version -o yaml | grep gitVersion | awk 'FNR==2{ print $2}')" + assert_are_equal "${KRD_KUBE_VERSION:-v1.30.4}" "$(kubectl version -o yaml | grep gitVersion | awk 'FNR==2{ print $2}')" pushd /opt/kubespray >/dev/null assert_are_equal "${KRD_KUBESPRAY_VERSION:-v2.26.0}" "$(git describe --abbrev=0 --tags)" popd >/dev/null else assert_contains "$($VAGRANT_CMD_SSH_INSTALLER "command -v kubectl")" "kubectl" - assert_contains "$($VAGRANT_CMD_SSH_INSTALLER "kubectl version -o yaml | grep gitVersion | awk 'FNR==2{ print \$2}'")" "${KRD_KUBE_VERSION:-v1.28.6}" + assert_contains "$($VAGRANT_CMD_SSH_INSTALLER "kubectl version -o yaml | grep gitVersion | awk 'FNR==2{ print \$2}'")" "${KRD_KUBE_VERSION:-v1.30.4}" assert_contains "$($VAGRANT_CMD_SSH_INSTALLER "cd /opt/kubespray; git describe --abbrev=0 --tags")" "${KRD_KUBESPRAY_VERSION:-v2.24.1}" fi } diff --git a/k8s-cluster.tpl b/k8s-cluster.tpl index a42addce..73063644 100644 --- a/k8s-cluster.tpl +++ b/k8s-cluster.tpl @@ -42,7 +42,7 @@ kube_network_plugin: $KRD_NETWORK_PLUGIN kubeconfig_localhost: true # Change this to use another Kubernetes version, e.g. a current beta release -kube_version: v1.28.6 +kube_version: v1.30.4 # Kube-proxy proxyMode configuration. # NOTE: Ipvs is based on netfilter hook function, but uses hash table as the underlying data structure and