Pods cannot access a shared volume with permission denied error in OpenShift 4
Issue
- When running different pods that share a
PVC
one of the pods gets permission denied errors on that volume. - When running pods that share a
PVC
one of the pods set ups a different SELinux context for the files on that volume. - When running differents pods with added capabilities and they share a
PV
volume one of the pods loses access to the volume.
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.