From 9be69f47e321d05160dfb57d7ce571e34295bf5d Mon Sep 17 00:00:00 2001 From: Dimitri Koshkin Date: Tue, 2 Apr 2024 14:21:04 -0700 Subject: [PATCH 1/2] docs: use an env for KUBERNETES_VERSION --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e391b3025..211762aeb 100644 --- a/README.md +++ b/README.md @@ -44,12 +44,13 @@ For example, the following command will create a Docker cluster with Cilium CNI ```shell export CLUSTER_NAME=docker-cluster-cilium-helm-addon export CLUSTER_FILE=examples/capi-quick-start/docker-cluster-cilium-helm-addon.yaml +export KUBERNETES_VERSION=v1.29.1 ``` ```shell clusterctl generate cluster ${CLUSTER_NAME} \ --from ${CLUSTER_FILE} \ - --kubernetes-version v1.29.1 \ + --kubernetes-version ${KUBERNETES_VERSION} \ --worker-machine-count 1 | \ kubectl apply --server-side -f - ``` From 8c87e121cf78a856b70593e1ea4e8c37e72a0b28 Mon Sep 17 00:00:00 2001 From: Dimitri Koshkin Date: Tue, 2 Apr 2024 14:22:12 -0700 Subject: [PATCH 2/2] docs: use a more widely available Kubernetes version Makes the command more copy-paste friendly. Kubernetes v1.28.7 is supported here by Docker, AWS and CAPX. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 211762aeb..6d20ce2a3 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ For example, the following command will create a Docker cluster with Cilium CNI ```shell export CLUSTER_NAME=docker-cluster-cilium-helm-addon export CLUSTER_FILE=examples/capi-quick-start/docker-cluster-cilium-helm-addon.yaml -export KUBERNETES_VERSION=v1.29.1 +export KUBERNETES_VERSION=v1.28.7 ``` ```shell