not able to configure zookeeper without persistence

12/26/2021

I am deploying kafka on a kube cluster. For that, I found bitnami chart that seems excellent. I deploy the chat with this command

 helm install kafka-release bitnami/kafka  --set persistence.enabled=false

It seems that the charts considers the option persistence.enabled=false for kafka pods but not for zookeeper one. The kafka pods are scheduled but not the zookeeper pod.

ubuntu@ip-172-31-23-248:~$ kubectl get pods
NAME                                           READY   STATUS             RESTARTS   AGE
kafka-release-0                                0/1     CrashLoopBackOff   1          30s
kafka-release-zookeeper-0                      0/1     Pending            0          30s

In the documentation of bitnami kafka chart, I found no option to disable the persistance on the zookeeper pod level. Could you help please regards

-- Adel Essafi
apache-kafka
apache-zookeeper
kubernetes
kubernetes-helm
persistent-volumes

1 Answer

12/27/2021

To configure zookeeper without persistence you can: helm install kafka-release bitnami/kafka --set persistence.enabled=false --set zookeeper.persistence.enabled=false

-- gohm'c
Source: StackOverflow