Adding files in persistent volume paths

Solution Verified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content