Persistent Volume with NFS Quick Test on OpenShift

Solution Verified - Updated -

Issue

  • I don't know how to setup persistent volumes with NFS.
  • Mongodb fails to start when using persistent volumes. Below error is seen :
 Unable to mount volumes for pod "mongodb-1-rk34y_test": failed to instantiate volume plugin for mongodb-data: The claim mongodb is not yet bound to a volume

Environment

  • OpenShift Container Platform
    • 3.x
    • 4.x

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