Skip to content

Commit

Permalink
Bump kubernetes version to 1.28.6
Browse files Browse the repository at this point in the history
  • Loading branch information
electrocucaracha committed Jan 31, 2024
1 parent a19f592 commit dbbe7e3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,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.25.6 | Specifies the Kubernetes version to be upgraded |
| KRD_KUBE_VERSION | v1.28.6 | Specifies the Kubernetes version to be upgraded |
| KRD_KUBESPRAY_VERSION | v2.24.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 |
Expand Down
2 changes: 1 addition & 1 deletion _commons.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function _get_kube_version {
elif [ -n "${KRD_KUBE_VERSION-}" ]; then
echo "${KRD_KUBE_VERSION}"
else
echo "v1.25.6"
echo "v1.28.6"
fi
}

Expand Down
4 changes: 2 additions & 2 deletions ci/check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.25.6}" "$(kubectl version -o yaml | grep gitVersion | awk 'FNR==2{ print $2}')"
assert_are_equal "${KRD_KUBE_VERSION:-v1.28.6}" "$(kubectl version -o yaml | grep gitVersion | awk 'FNR==2{ print $2}')"
pushd /opt/kubespray >/dev/null
assert_are_equal "${KRD_KUBESPRAY_VERSION:-v2.24.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.25.6}"
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 "cd /opt/kubespray; git describe --abbrev=0 --tags")" "${KRD_KUBESPRAY_VERSION:-v2.24.0}"
fi
}
Expand Down
2 changes: 1 addition & 1 deletion k8s-cluster.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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.25.6
kube_version: v1.28.6

# Kube-proxy proxyMode configuration.
# NOTE: Ipvs is based on netfilter hook function, but uses hash table as the underlying data structure and
Expand Down

0 comments on commit dbbe7e3

Please sign in to comment.