Edit options for persistent volume and storage class mounts in OCP 4

Solution Verified - Updated -

Issue

Disclaimer: Links contained herein to external website(s) are provided for convenience only. Red Hat has not reviewed the links and is not responsible for the content or its availability. The inclusion of any link to an external website does not imply endorsement by Red Hat of the website or their entities, products or services. You agree that Red Hat is not responsible or liable for any loss or expenses that may result due to your use of (or reliance on) the external site or content.

  • The OpenShift documentation suggests applying the annotation volume.beta.kubernetes.io/mount-options to the pv but Kubernetes documentation states this is deprecated, and will be removed.
  • How to configure NFS Persistent Volumes with additional mount options?
  • How to configure NFS Persistent Volumes with server Frequently Qualified Domain Name(FQDN) & path exported by the NFS server?
  • How to configure storage class mount options in OpenShift 4.

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • APersistentVolume (pv) with additional mount options
  • AStorageClass (sc) with additional mount options

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