zookeeper-operator
by Helm
Pravega Zookeeper-operator Helm chart for Kubernetes
About this chart
Zookeeper-operator Chart
Zookeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services.
This chart installs Zookeeper Operator, which can install Zookeeper 3.6 cluster.
Chart Details
Installing the Chart
To install the chart:
$ helm repo add banzaicloud-stable http://kubernetes-charts.banzaicloud.com/branch/master
$ helm install banzaicloud-stable/zookeeper-operator
Configuration
The following tables lists the configurable parameters of the Zookeeper Operator chart and their default values.
| Parameter | Required | Description | Default value |
|---|---|---|---|
| replicaCount | yes | describes how many pods should handle the workload (Note because of a bug in Operator SDK version 0.3.0 only 1 will work) | 1 |
| image.repository | yes | describes the image repository | pravega/zookeeper-operator |
| image.tag | yes | describes the image tag | 0.2.0 |
| image.pullPolicy | yes | describes the image pullPolicy | IfNotPresent |
| rbac.enabled | yes | describes if the rbac is enabled in the cluster | true |
| rbac.apiversion | yes | describes rbac api version | v1beta1 |
| resources | no | resources can be specified to operator pods | {} |
| nodeSelector | no | nodeSelector can be specified to operator pods | {} |
| tolerations | no | tolerations can be specified to operator pods | {} |
| affinity | no | affinity can be specified to operator pods | {} |
Install Zookeeper Cluster
To install a Zookeeper cluster with 3 nodes:
kubectl create -f - <<EOF
apiVersion: zookeeper.pravega.io/v1beta1
kind: ZookeeperCluster
metadata:
name: example-zookeepercluster
spec:
# Add fields here
replicas: 3
EOF
Deploy zookeeper-operator with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has zookeeper-operator on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartzookeeper-operator is pinned at v0.3.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply