mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-14 02:10:21 +00:00
17 lines
383 B
YAML
17 lines
383 B
YAML
|
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
|