cri-o/vendor/k8s.io/kubernetes/examples/volumes/flocker/flocker-pod.yml

20 lines
398 B
YAML
Raw Normal View History

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