mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-13 01:40:23 +00:00
20 lines
398 B
YAML
20 lines
398 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: flocker-web
|
|
spec:
|
|
containers:
|
|
- name: web
|
|
image: nginx
|
|
ports:
|
|
- name: web
|
|
containerPort: 80
|
|
volumeMounts:
|
|
# name must match the volume name below
|
|
- name: www-root
|
|
mountPath: "/usr/share/nginx/html"
|
|
volumes:
|
|
- name: www-root
|
|
flocker:
|
|
datasetName: my-flocker-vol
|