Stackable Operator for Apache ZooKeeper
The Stackable Operator for Apache ZooKeeper is a Kubernetes Operator for deploying and managing Apache ZooKeeper ensembles. Apache ZooKeeper is an open-source distributed coordination service that facilitates synchronization, configuration management and leader election in distributed systems. ZooKeeper is often used for these tasks in the Apache Hadoop ecosystem. Within the Stackable Platform, the Stackable Operators for Apache HBase, Apache Hadoop HDFS, Apache Kafka and Apache NiFi depend on the ZooKeeper Operator.
Get started with Apache ZooKeeper and the Stackable Operator by following the Getting started guide, it will guide you through the installation process. Afterwards, consult the Usage guide to learn more about configuring ZooKeeper for your needs. You can also deploy a demo to see an example deployment of ZooKeeper together with other data products.
The Operator manages two custom resources: ZookeeperCluster and ZookeeperZnode. ZooKeeper only has a single process that it runs, so the cluster resource only has a single corresponding role called server.
For every role group the Operator creates a ConfigMap and StatefulSet which can have multiple replicas (Pods). Every role group is accessible through its own Service, and there is a Service for the whole Cluster.
Apache ZooKeeper is a dependency of Apache HBase, Apache Hadoop HDFS, Apache Kafka and Apache NiFi, thus any demo that uses one or more of these components will also deploy a ZooKeeper ensemble. Here is the list of the demos that include ZooKeeper:
The Stackable Operator for Apache ZooKeeper currently supports the following versions of ZooKeeper:
|The use of 3.8.1 is strongly discouraged due to Authorization bypass in SASL Quorum Peer Authentication. Several other versions are affected but not offered by Stackable. Please take this into account when using custom images.|