To get started easier, a script is provided to create the cluster automatically. Alternatively, a cluster can be created manually as well.
To provision a Kubernetes cluster manually, follow the .
Alternatively, you can use the instructions below to provision a GKE cluster as needed.
Scripted cluster creation
The script can:
- Create a new GKE cluster.
- Allow the cluster to modify DNS (Domain Name Server) records.
- Setup , and connect it to the cluster.
Google Cloud SDK is a dependency of this script, so ensure it is set up correctly for the script to work.
The script reads various parameters from environment variables and an argument up
or down
for bootstrap and clean-up respectively.
Run the script, by passing in your desired parameters. It can work with the default parameters except for PROJECT
which is required:
The script can also be used to clean up the created GKE resources.
Create cluster with local SSDs
To install a Pulsar Helm chart using local persistent volumes, you need to create a GKE cluster with local SSDs. You can do so Specifying the USE_LOCAL_SSD
to be true
in the following command to create a Pulsar cluster with local SSDs.