apiVersion: v1
kind: Pod
metadata:
  labels:
    run: nginx
  name: nginx
spec:
  containers:
  - image: nginx
    name: nginx
    volumeMounts:
    - name: data
      mountPath: /tmp/nfsData
  volumes:
  - name: data
    persistentVolumeClaim:
      claimName: my-pvc