Use redis 5 on k8s & add selector

master
Philipp Trulson 5 years ago
parent 97b9098eb9
commit 3b9281501a

@ -5,6 +5,11 @@ metadata:
namespace: mailu-mailserver
spec:
replicas: 1
selector:
matchLabels:
app: mailu-redis
role: mail
tier: backend
template:
metadata:
labels:
@ -14,7 +19,7 @@ spec:
spec:
containers:
- name: redis
image: redis:4.0-alpine
image: redis:5-alpine
imagePullPolicy: Always
volumeMounts:
- mountPath: /data
@ -35,7 +40,6 @@ spec:
persistentVolumeClaim:
claimName: redis-hdd
---
apiVersion: v1
kind: Service
metadata:

@ -0,0 +1 @@
Use Redis 5.0 in kubernetes manifests
Loading…
Cancel
Save