<p>My PersistentVolume is configured like so:</p>
<pre><code>apiVersion: v1
kind: PersistentVolume
metadata:
  name: pv0001
spec:
  capacity:
    storage: 5Gi
  volumeMode: Filesystem
  accessModes:
    - ReadWriteOnce
  nfs:
    path: /volume2/K8s_NFS
    server: 172.16.66.50
  persistentVolumeReclaimPolicy: Recycle
</code></pre>
<p>My PVC is configured thusly:</p>
<pre><code>apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: nfs-claim1
spec:
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 5Gi
</code></pre>
<p>This seems to match to me, however the result is that it does not bind:</p>
<pre><code>Name:          nfs-claim1
Namespace:     default
StorageClass:
Status:        Pending
Volume:
Labels:        &lt;none&gt;
Annotations:   &lt;none&gt;
Finalizers:    [kubernetes.io/pvc-protection]
Capacity:
Access Modes:
VolumeMode:    Filesystem
Used By:       &lt;none&gt;
Events:
  Type    Reason         Age                   From                         Message
  ----    ------         ----                  ----                         -------
  Normal  FailedBinding  86s (x26 over 7m33s)  persistentvolume-controller  no persistent volumes available for this claim and no storage class is set
</code></pre>
<p>I have confirmed that all three nodes in my cluster can mount the volume.  What am I missing?</p>

spoovy
<p>You have to define storageClassName in specs which will be used to bind PersistentVolumeClaim requests to PersistentVolume.</p>
<p>Updated config, Persistent Volume:</p>
<pre><code>apiVersion: v1
kind: PersistentVolume
metadata:
  name: pv0001
spec:
  storageClassName: manual
  claimRef:
    name: nfs-claim1
  capacity:
    storage: 5Gi
  volumeMode: Filesystem
  accessModes:
    - ReadWriteOnce
  nfs:
    path: /volume2/K8s_NFS
    server: 172.16.66.50
  persistentVolumeReclaimPolicy: Recycle
</code></pre>
<p>Persistent Volume Claim:</p>
<pre><code>apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: nfs-claim1
spec:
  storageClassName: manual
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 5Gi
</code></pre>
<p><a href="https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/#create-a-persistentvolume" rel="nofollow noreferrer">details</a></p>
