Skip to content

Commit

Permalink
kubernetes: reuse redis data in a volume.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefansundin committed Mar 23, 2020
1 parent 17198ef commit 7083812
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions kubernetes/redis.yml
Expand Up @@ -19,6 +19,12 @@ spec:
ports:
- containerPort: 6379
name: service
volumeMounts:
- mountPath: /data
name: data-volume
volumes:
- name: data-volume
emptyDir: {}

---
kind: Service
Expand Down

0 comments on commit 7083812

Please sign in to comment.