From 54be9cb887c77d6f5279fe204e1a496a0f925e97 Mon Sep 17 00:00:00 2001 From: Pedro Juarez Date: Fri, 26 Jul 2024 00:20:53 -0600 Subject: [PATCH] Update minimum kubernetes version to 1.28.0, run tests on latest available patch container: v1.28.9 (#2241) Update minimum kubernetes version to 1.28.0, run tests on latest patch of that version: v1.28.9 Signed-off-by: pjuarezd --- .github/workflows/kubernetes-tests.yml | 4 ++-- README.md | 12 ++++-------- docs/notes/v6.0.0.md | 2 +- testing/common.sh | 2 +- testing/kind-config-floor.yaml | 10 +++++----- 5 files changed, 13 insertions(+), 17 deletions(-) diff --git a/.github/workflows/kubernetes-tests.yml b/.github/workflows/kubernetes-tests.yml index 399bca37593..c1d0e3f5f70 100644 --- a/.github/workflows/kubernetes-tests.yml +++ b/.github/workflows/kubernetes-tests.yml @@ -479,7 +479,7 @@ jobs: # Runs a set of commands using the runners shell - name: Deploy a MinIO Tenant on Kind run: | - curl -sLO "https://dl.k8s.io/release/v1.23.1/bin/linux/amd64/kubectl" -o kubectl + curl -sLO "https://dl.k8s.io/release/v1.28.12/bin/linux/amd64/kubectl" -o kubectl chmod +x kubectl mv kubectl /usr/local/bin "${GITHUB_WORKSPACE}/testing/check-helm.sh" @@ -518,7 +518,7 @@ jobs: env: TEST_FLOOR: true run: | - curl -sLO "https://dl.k8s.io/release/v1.23.1/bin/linux/amd64/kubectl" -o kubectl + curl -sLO "https://dl.k8s.io/release/v1.28.12/bin/linux/amd64/kubectl" -o kubectl chmod +x kubectl mv kubectl /usr/local/bin "${GITHUB_WORKSPACE}/testing/check-helm.sh" diff --git a/README.md b/README.md index f9ca9a01fee..889709d0674 100644 --- a/README.md +++ b/README.md @@ -37,15 +37,11 @@ a Kubernetes cluster. ## Prerequisites -### Kubernetes 1.21 or Later +### Kubernetes 1.28.0 or Later -Starting with Operator v5.0.0, MinIO requires Kubernetes version 1.21.0 or later. You must upgrade your Kubernetes -cluster to 1.21.0 or later to use Operator -v5.0.0+. - -Starting with Operator v4.0.0, MinIO requires Kubernetes version 1.19.0 or later. Previous versions of the Operator -supported Kubernetes 1.17.0 or later. You must upgrade your Kubernetes cluster to 1.19.0 or later to use Operator -v4.0.0+. +Starting with Operator v6.0.0, MinIO requires Kubernetes version 1.28.0 or later. You must upgrade your Kubernetes +cluster to 1.28.0 or later to use Operator +v6.0.0+. This procedure assumes the host machine has [`kubectl`](https://kubernetes.io/docs/tasks/tools) installed and configured with access to the target Kubernetes cluster. diff --git a/docs/notes/v6.0.0.md b/docs/notes/v6.0.0.md index 470ef33f34b..2510f695bb4 100644 --- a/docs/notes/v6.0.0.md +++ b/docs/notes/v6.0.0.md @@ -6,7 +6,7 @@ MinIO Operator is the recommended production-ready way to manage MinIO deploymen ## What’s new? -Operator 6.0.0 is now available. This release requires Kubernetes version 1.25.0 or later. If your cluster does not use Kubernetes version 1.25.0 or later, you must upgrade your cluster to before installing or upgrading to Operator v6.0.0+. +Operator 6.0.0 is now available. This release requires Kubernetes version 1.28.0 or later. If your cluster does not use Kubernetes version 1.28.0 or later, you must upgrade your cluster to before installing or upgrading to Operator v6.0.0+. * Introducing MinIO Job * Sidecar container diff --git a/testing/common.sh b/testing/common.sh index 45b715527e2..712e066fa8b 100644 --- a/testing/common.sh +++ b/testing/common.sh @@ -26,7 +26,7 @@ DEV_TEST=$OPERATOR_DEV_TEST # Set OPERATOR_DEV_TEST to skip downloading these dependencies if [[ -z "${DEV_TEST}" ]]; then ## Make sure to install things if not present already - sudo curl -#L "https://dl.k8s.io/release/v1.23.1/bin/$OS/$ARCH/kubectl" -o /usr/local/bin/kubectl + sudo curl -#L "https://dl.k8s.io/release/v1.28.12/bin/$OS/$ARCH/kubectl" -o /usr/local/bin/kubectl sudo chmod +x /usr/local/bin/kubectl sudo curl -#L "https://dl.min.io/client/mc/release/${OS}-${ARCH}/mc" -o /usr/local/bin/mc diff --git a/testing/kind-config-floor.yaml b/testing/kind-config-floor.yaml index 48233915a75..3e8baee45c8 100644 --- a/testing/kind-config-floor.yaml +++ b/testing/kind-config-floor.yaml @@ -3,12 +3,12 @@ kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes: - role: control-plane - image: kindest/node:v1.26.14 + image: kindest/node:v1.28.9 - role: worker - image: kindest/node:v1.26.14 + image: kindest/node:v1.28.9 - role: worker - image: kindest/node:v1.26.14 + image: kindest/node:v1.28.9 - role: worker - image: kindest/node:v1.26.14 + image: kindest/node:v1.28.9 - role: worker - image: kindest/node:v1.26.14 + image: kindest/node:v1.28.9