Kubespray
Introduction
...
Deploy By Binary
Quick Start
bash
# download source
Deploy By Container
Run On Docker
bash
# https://hub.docker.com/_/zookeeper
Run On Kubernetes
bash
# Add and update repo
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
# Get charts package
helm pull bitnami/zookeeper --untar
cd zookeeper
# Configure and run
vim values.yaml
global:
storageClass: "nfs-client"
replicaCount: 3
helm -n middleware install zookeeper . --create-namespace
# verify
kubectl -n middleware exec -it zookeeper-0 -- zkServer.sh status
Reference: