Difference between revisions of "Kafka k8s"

From UVOO Tech Wiki
Jump to navigation Jump to search
Line 8: Line 8:
  
 
# Zookeper Permission denied error
 
# Zookeper Permission denied error
 +
 +
You may get this in some of your setups. No what you are doing or not doing when you do this
 
```
 
```
 
zookeeper 15:26:12.81 INFO  ==> ** Starting ZooKeeper setup **
 
zookeeper 15:26:12.81 INFO  ==> ** Starting ZooKeeper setup **

Revision as of 15:45, 11 March 2022

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

You may get this in some of your setups. No what you are doing or not doing when you do this

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.