8e5b17cf13
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
19 lines
398 B
YAML
19 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
|