website/content/en/examples/podpreset/conflict-pod.yaml

20 lines
329 B
YAML
Raw Normal View History

2017-10-25 20:50:27 +00:00
apiVersion: v1
kind: Pod
metadata:
name: website
labels:
app: website
role: frontend
spec:
containers:
- name: website
image: nginx
2017-10-25 20:50:27 +00:00
volumeMounts:
- mountPath: /cache
name: cache-volume
ports:
2017-12-04 06:30:52 +00:00
- containerPort: 80
2017-10-25 20:50:27 +00:00
volumes:
- name: cache-volume
emptyDir: {}