ceph-csi/vendor/k8s.io/kubernetes/examples/volumes/vsphere/vsphere-volume-pod.yaml
Serguei Bezverkhi e9033989a0 vendor updates
2018-03-07 11:43:06 -05:00

17 lines
369 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: test-vmdk
spec:
containers:
- image: k8s.gcr.io/test-webserver
name: test-container
volumeMounts:
- mountPath: /test-vmdk
name: test-volume
volumes:
- name: test-volume
# This VMDK volume must already exist.
vsphereVolume:
volumePath: "[DatastoreName] volumes/myDisk"
fsType: ext4