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

22 lines
453 B
YAML
Raw Normal View History

2018-01-09 18:57:14 +00:00
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