How to avoid long SELinux relabelling with ReadWriteOncePod (RWOP) access mode and seLinuxMount in OpenShift 4
Issue
- Pods take a very long time to start when the volume contains a large number of files.
- How to avoid SELinux labelling issues while keeping SELinux confining.
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
- SELinux
ReadWriteOncePod(RWOP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.