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

22 lines
453 B
YAML
Raw Normal View History

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: deployment
spec:
replicas: 1
template:
metadata:
labels:
app: redis
spec:
containers:
- name: redis
image: redis
volumeMounts:
- name: vmfs-vmdk-storage
mountPath: /data/
volumes:
- name: vmfs-vmdk-storage
vsphereVolume:
volumePath: "[Datastore] volumes/testdir"
fsType: ext4