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

17 lines
369 B
YAML
Raw Normal View History

2018-01-09 18:57:14 +00:00
apiVersion: v1
kind: Pod
metadata:
name: test-vmdk
spec:
containers:
2018-03-06 22:33:18 +00:00
- image: k8s.gcr.io/test-webserver
2018-01-09 18:57:14 +00:00
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