Write new task: Configuring a Pod to Use a Volume for Storage.

This commit is contained in:
steveperry-53
2016-12-06 17:22:21 -08:00
parent c185536d7d
commit 922e60eff5
3 changed files with 129 additions and 2 deletions
@@ -0,0 +1,14 @@
apiVersion: v1
kind: Pod
metadata:
name: redis
spec:
containers:
- name: redis
image: redis
volumeMounts:
- name: redis-storage
mountPath: /data/redis
volumes:
- name: redis-storage
emptyDir: {}