Kafka k8s
Jump to navigation
Jump to search
https://github.com/bitnami/charts/tree/master/bitnami/kafka
helm repo add bitnami https://charts.bitnami.com/bitnami helm install my-test bitnami/kafka
Zookeper Permission denied error
zookeeper 15:26:12.81 INFO ==> ** Starting ZooKeeper setup ** zookeeper 15:26:12.83 WARN ==> You have set the environment variable ALLOW_ANONYMOUS_LOGIN=yes. For safety reasons, do not use this flag in a production environment. mkdir: cannot create directory '/bitnami/zookeeper/data': Permission denied
locate pvc-e39c70fb-130d-476d-a6b0-7e7ff205d5a5
sudo chown -R 1001:1001 /var/snap/microk8s/common/default-storage/test-data-mytest-zookeeper-0-pvc-e39c70fb-130d-476d-a6b0-7e7ff205d5a5
chmod 777 will do it be we don't want that.