Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Kubernetes PersistentVolume and PersistentVolumeClaim using NFS volume types

Save the definition to a file, for example nfs-pv.yaml, and create the PV:

$ kubectl create -f nfs-pv.yaml
persistentvolume “pv0001” created

$ get pv

$ kubectl create -f nfs-claim.yaml

Pods using PVC

Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)