kubernetes/docs/user-guide/walkthrough/pod-redis.yaml
Karl Isenberg ca934c7386 Walkthrough example cleanup
- Add kubectl command examples
- Add tables of contents
- Skip 3rd header tier to make sections more clear
- Reference cmd-exec example for curling pod & service IPs
- Make section layout, text patterns, changes & links more consistent
- Canonical yaml formatting
2015-07-15 14:27:11 -07:00

15 lines
253 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: redis
spec:
containers:
- name: redis
image: redis
volumeMounts:
- name: redis-persistent-storage
mountPath: /data/redis
volumes:
- name: redis-persistent-storage
emptyDir: {}