lemahdois
lemahdois

Reputation: 73

not able to configure zookeeper without persistence

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

Upvotes: 0

Views: 529

Answers (1)

gohm'c
gohm'c

Reputation: 15530

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

Upvotes: 3

Related Questions