Docker Community Forums

Share and learn in the Docker community.

NIFI + Kubernetes - /opt/nifi/run.sh: Read-only file system

Hi,
I deployed the NIFI in our kubernetes cluster (used https://hub.docker.com/r/tibbar/kubernetes-nifi image). PODs are getting crashed. Getting "Read-only file system "error.

I have mounted the volumes in RWO mode. can someone pls advise.

sh-4.2# kubectl logs nifi-2 -n nifi
chmod: /opt/nifi/run.sh: Read-only file system
/bin/sh: ./run.sh: Permission denied
sh-4.2#

sh-4.2# kubectl get pvc -n nifi
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
contentrepository-nifi-0 Bound pvc-46732074-353c-11e9-92cb-52bc1c68b7eb 5Gi RWO default 8s
contentrepository-nifi-1 Bound pvc-4694d649-353c-11e9-92cb-52bc1c68b7eb 5Gi RWO default 8s
contentrepository-nifi-2 Bound pvc-46ab72a3-353c-11e9-92cb-52bc1c68b7eb 5Gi RWO default 7s