cri-o/vendor/k8s.io/kubernetes/examples/volumes/vsphere/vsphere-volume-pod.yaml

17 lines
383 B
YAML
Raw Normal View History

apiVersion: v1
kind: Pod
metadata:
name: test-vmdk
spec:
containers:
- image: gcr.io/google_containers/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