kind: Pod
apiVersion: v1
metadata:
  name: nfspod
spec:

  volumes:
    - name: nfs-storage
      persistentVolumeClaim:
       claimName: nfspvc

  containers:
    - name: task-pv-container
      image: nginx
      ports:
        - containerPort: 80
          name: "http-server"
      volumeMounts:
      - mountPath: "/usr/share/nginx/html"
        name: nfs-storage
