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

21 lines
371 B
YAML
Raw Normal View History

2018-01-09 18:57:14 +00:00
apiVersion: v1
kind: Pod
metadata:
name: pod-0
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: pod-0
volumeMounts:
- mountPath: /test-pd
name: vol-0
volumes:
- name: vol-0
scaleIO:
gateway: https://localhost:443/api
system: scaleio
volumeName: vol-0
secretRef:
name: sio-secret
fsType: xfs