Zookeeper pod can't access mounted persistent volume claim
After quite some digging, I finally figured out why it wasn't working. The logs were actually telling me all I needed to know in the end, the mounted persistentVolumeClaim
simply did not have the correct file permissions to read from the mounted hostpath /mnt/data
directory
To fix this, in a somewhat hacky way, I gave read
, write
& execute
permissions to all.
chmod 777 /mnt/data
Overview can be found here
This is definitely not the most secure way, of fixing the issue, and I would strongly advise against using this in any production like environment.
Probably a better approach would be the following
sudo usermod -a -G 1000 1000