``` apiVersion: v1 kind: Pod metadata: name: task-pv-pod spec: volumes: . . .

Omar Nasser:

apiVersion: v1
kind: Pod
metadata:
  name: task-pv-pod
spec:
  volumes:
    - name: task-pv-storage
      persistentVolumeClaim:
        claimName: task-pv-claim
  containers:
    - name: task-pv-container
      image: nginx
      ports:
        - containerPort: 80
          name: "http-server"
      volumeMounts:
        - mountPath: "/usr/share/nginx/html"
          name: task-pv-storage

Fernando Jimenez:
Hi @Omar Nasser The result would be a pod in Pending status until the pvc exists or it is successfully bound to a pv.

NAME          READY   STATUS    RESTARTS   AGE
task-pv-pod   0/1     Pending   0          3s