ceph-csi/vendor/k8s.io/kubernetes/examples/volumes/cinder/cinder-web.yaml
Serguei Bezverkhi 7b24313bd6 vendor files
2018-01-10 13:42:26 -05:00

22 lines
421 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: cinder-web
spec:
containers:
- name: web
image: nginx
ports:
- name: web
containerPort: 80
protocol: tcp
volumeMounts:
- name: html-volume
mountPath: "/usr/share/nginx/html"
volumes:
- name: html-volume
cinder:
# Enter the volume ID below
volumeID: volume_ID
fsType: ext4