zookeeper-operator

by Helm

Helm chartv0.3.0App 0.2.8-rc0

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.

ParameterRequiredDescriptionDefault value
replicaCountyesdescribes 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.repositoryyesdescribes the image repositorypravega/zookeeper-operator
image.tagyesdescribes the image tag0.2.0
image.pullPolicyyesdescribes the image pullPolicyIfNotPresent
rbac.enabledyesdescribes if the rbac is enabled in the clustertrue
rbac.apiversionyesdescribes rbac api versionv1beta1
resourcesnoresources can be specified to operator pods{}
nodeSelectornonodeSelector can be specified to operator pods{}
tolerationsnotolerations can be specified to operator pods{}
affinitynoaffinity 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartzookeeper-operator is pinned at v0.3.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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