ericsyh commented on code in PR #18015: URL: https://github.com/apache/pulsar/pull/18015#discussion_r1000064874
########## site2/docs/helm-prepare.md: ########## @@ -4,34 +4,44 @@ title: Prepare Kubernetes resources sidebar_label: "Prepare" --- -For a fully functional Pulsar cluster, you need a few resources before deploying the Apache Pulsar Helm chart. The following provides instructions to prepare the Kubernetes cluster before deploying the Pulsar Helm chart. +For a fully functional Pulsar cluster, you need a few resources before deploying the Apache Pulsar Helm chart. This guide provides instructions to prepare the Kubernetes cluster before deploying the Pulsar Helm chart. -- [Google Kubernetes Engine](#google-kubernetes-engine) - - [Manual cluster creation](#manual-cluster-creation) - - [Scripted cluster creation](#scripted-cluster-creation) - - [Create cluster with local SSDs](#create-cluster-with-local-ssds) +## Prerequisites -## Google Kubernetes Engine +Set up your environment by installing the required tools. -To get started easier, a script is provided to create the cluster automatically. Alternatively, a cluster can be created manually as well. +### Install kubectl -### Manual cluster creation +`kubectl` 1.18 or higher is the required tool that talks to the Kubernetes API. It needs to be compatible with your cluster ([+/- 1 minor release from your cluster](https://kubernetes.io/docs/tasks/tools/install-kubectl/#before-you-begin)). The server version of `kubectl` cannot be obtained until you connect to a cluster. + +For the installation instructions, see the [Kubernetes documentation](https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-kubectl). + +### Install Helm + +Helm is the package manager for Kubernetes. The Apache Pulsar Helm Chart is supported with Helm v3 (3.0.2 or higher). + +You can get the Helm from the project's [releases page](https://github.com/helm/helm/releases), or follow other options under the official documentation of [installing Helm](https://helm.sh/docs/intro/install/). + + +## Create Kubernetes cluster + +A Kubernetes cluster version 1.18 or higher is required for continuing the deployment. To create a cluster, you can either use a script to automate the process or manually do it. + +### Create a cluster manually Review Comment: I suggest removing the "Create a cluster manually" here cause I don't there is a relationship between the GKE and K8s manually provision. Just keep the part of "Create Kubernetes cluster" and you can link the official document link from Kubernetes https://kubernetes.io/docs/setup/production-environment/tools/ how to provision a cluster. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
