github.com/qsunny/k8s@v0.0.0-20220101153623-e6dca256d5bf/examples-master/staging/volumes/vsphere/vsphere-volume-pvcpod.yaml (about)

     1  apiVersion: v1
     2  kind: Pod
     3  metadata:
     4    name: pvpod
     5  spec:
     6    containers:
     7    - name: test-container
     8      image: k8s.gcr.io/test-webserver
     9      volumeMounts:
    10      - name: test-volume
    11        mountPath: /test-vmdk
    12    volumes:
    13    - name: test-volume
    14      persistentVolumeClaim:
    15        claimName: pvc0001