From b7c3ae77988bcab7bea9b574a457c76c7961083e Mon Sep 17 00:00:00 2001 From: Lari Hotari Date: Mon, 10 Jul 2023 18:24:34 +0300 Subject: [PATCH] Baseline to k8s 1.20 --- README.md | 6 +++--- hack/common.sh | 2 +- hack/kind-cluster-build.sh | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 077ad477..b1fdde12 100644 --- a/README.md +++ b/README.md @@ -73,9 +73,9 @@ It includes support for: In order to use this chart to deploy Apache Pulsar on Kubernetes, the followings are required. -1. kubectl 1.19 or higher, compatible with your cluster ([+/- 1 minor release from your cluster](https://kubernetes.io/docs/tasks/tools/install-kubectl/#before-you-begin)) +1. kubectl 1.20 or higher, compatible with your cluster ([+/- 1 minor release from your cluster](https://kubernetes.io/docs/tasks/tools/install-kubectl/#before-you-begin)) 2. Helm v3 (3.0.2 or higher) -3. A Kubernetes cluster, version 1.19 or higher. +3. A Kubernetes cluster, version 1.20 or higher. ## Environment setup @@ -95,7 +95,7 @@ helm repo add apache https://pulsar.apache.org/charts ## Kubernetes cluster preparation -You need a Kubernetes cluster whose version is 1.19 or higher in order to use this chart, due to the usage of certain Kubernetes features. +You need a Kubernetes cluster whose version is 1.20 or higher in order to use this chart, due to the usage of certain Kubernetes features. We provide some instructions to guide you through the preparation: http://pulsar.apache.org/docs/helm-prepare/ diff --git a/hack/common.sh b/hack/common.sh index 34dc5fcb..0ca09079 100755 --- a/hack/common.sh +++ b/hack/common.sh @@ -25,7 +25,7 @@ fi OUTPUT=${PULSAR_CHART_HOME}/output OUTPUT_BIN=${OUTPUT}/bin -KUBECTL_VERSION=1.19.16 +KUBECTL_VERSION=1.20.15 KUBECTL_BIN=$OUTPUT_BIN/kubectl HELM_BIN=$OUTPUT_BIN/helm HELM_VERSION=3.12.0 diff --git a/hack/kind-cluster-build.sh b/hack/kind-cluster-build.sh index 9702908a..09d70af0 100755 --- a/hack/kind-cluster-build.sh +++ b/hack/kind-cluster-build.sh @@ -83,7 +83,7 @@ done clusterName=${clusterName:-pulsar-dev} nodeNum=${nodeNum:-6} -k8sVersion=${k8sVersion:-v1.19.16} +k8sVersion=${k8sVersion:-v1.20.15} volumeNum=${volumeNum:-9} echo "clusterName: ${clusterName}"