Adding files in persistent volume paths
Issue
- Is this a problem for openshift if an external process creates a file on the NFS share which is used by OpenShift PV like the below example:
# touch /var/lib/openshift/openshift.local.volumes/pods/123456789/kubernetes.io~nfs/pv-name/file
# ll /var/lib/openshift/openshift.local.volumes/pods/123456789/volumes/kubernetes.io~nfs/pv-name/file
-rw-r--r--. 1 root root 0 May 8 13:59 /var/lib/openshift/openshift.local.volumes/pods/123456789/volumes/kubernetes.io~nfs/pv-name/file
# rm -f /var/lib/openshift/openshift.local.volumes/pods/123456789/volumes/kubernetes.io~nfs/pv-name/file
Environment
- OpenShift Container Platform, v3.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
