Skip to content

hypertrace/zookeeper

Repository files navigation

Zookeeper

This repo publishes the docker image and helm chart for Apache Zookeeper.

Prerequisites

  • Kubernetes 1.10+
  • Helm 3.0+

Docker Image

The docker image is published to Docker Hub

Helm Chart Components

This chart will do the following:

  • Create a fixed size ZooKeeper ensemble using a StatefulSet.
  • Create a PodDisruptionBudget so kubectl drain will respect the Quorum size of the ensemble.
  • Create a Headless Service to control the domain of the ZooKeeper ensemble.
  • Create a Service configured to connect to the available ZooKeeper instance on the configured client port.
  • Optionally apply a Pod Anti-Affinity to spread the ZooKeeper ensemble across nodes.
  • Optionally start a JMX Exporter container inside Zookeeper pods.
  • Optionally create a Prometheus ServiceMonitor for each enabled jmx exporter container.
  • Optionally add prometheus alerts.
  • Optionally create a new storage class.

Installing the Chart

You can install the chart with the release name zookeeper as below.

$ helm upgrade zookeeper ./helm --install --namespace hypertrace

Configuration

You can specify each parameter using the --set key=value[,key=value] argument to helm install.

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

$ helm upgrade my-release ./helm --install --namespace hypertrace -f values.yaml

Default Values

  • You can find all user-configurable settings, their defaults in values.yaml.