ceph-csi/vendor/k8s.io/kubernetes/examples/volumes/vsphere/vsphere-volume-pvcpod.yaml

16 lines
286 B
YAML
Raw Normal View History

2018-01-09 18:57:14 +00:00
apiVersion: v1
kind: Pod
metadata:
name: pvpod
spec:
containers:
- name: test-container
2018-03-06 22:33:18 +00:00
image: k8s.gcr.io/test-webserver
2018-01-09 18:57:14 +00:00
volumeMounts:
- name: test-volume
mountPath: /test-vmdk
volumes:
- name: test-volume
persistentVolumeClaim:
claimName: pvc0001