Difference between revisions of "Kafka k8s"

From UVOO Tech Wiki
Jump to navigation Jump to search
(Created page with "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 P...")
 
Line 8: Line 8:
  
 
# Zookeper Permission denied error
 
# 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
 +
```
 +
 
- https://techoverflow.net/2020/01/28/how-to-fix-bitnami-mariadb-mkdir-cannot-create-directory-bitnami-mariadb-permission-denied/
 
- https://techoverflow.net/2020/01/28/how-to-fix-bitnami-mariadb-mkdir-cannot-create-directory-bitnami-mariadb-permission-denied/
  

Revision as of 15:44, 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

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.