Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 494 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 494 Bytes

kubernetes-zookeeper-cluster

Requirements

Set the environment size you want to use e.g. small

  • docker run -v $PWD:/tmp tibbar/vortex:v1 -template /tmp/templates -output /tmp/deployment -varpath /tmp/environments/small.yaml

  • kubectl create -f deployment/

Test with

kubectl exec zk-0 cat /opt/zookeeper/conf/zoo.cfg --namespace=zookeeper
kubectl exec zk-0 zkCli.sh create /hello world  --namespace=zookeeper
kubectl exec zk-0 zkCli.sh get /hello  --namespace=zookeeper