mirror of
https://gitlab.com/shouptech/flux.git
synced 2026-02-03 15:59:45 +00:00
Release redis:5.0.8-alpine to nextcloud:deployment/redis
This commit is contained in:
parent
85ede7932d
commit
7ca1e35884
1 changed files with 30 additions and 29 deletions
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
|
|
@ -14,33 +15,33 @@ spec:
|
|||
app: redis
|
||||
spec:
|
||||
containers:
|
||||
- image: redis:5.0.7-alpine
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: redis
|
||||
command:
|
||||
- redis-server
|
||||
args:
|
||||
- /usr/local/etc/redis/redis.conf
|
||||
livenessProbe:
|
||||
tcpSocket:
|
||||
port: 6379
|
||||
initialDelaySeconds: 15
|
||||
periodSeconds: 30
|
||||
timeoutSeconds: 5
|
||||
successThreshold: 1
|
||||
failureThreshold: 2
|
||||
resources:
|
||||
requests:
|
||||
memory: "32Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "256Mi"
|
||||
ports:
|
||||
- containerPort: 6379
|
||||
volumeMounts:
|
||||
- name: redis-conf
|
||||
mountPath: /usr/local/etc/redis/
|
||||
volumes:
|
||||
- image: redis:5.0.8-alpine
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: redis
|
||||
command:
|
||||
- redis-server
|
||||
args:
|
||||
- /usr/local/etc/redis/redis.conf
|
||||
livenessProbe:
|
||||
tcpSocket:
|
||||
port: 6379
|
||||
initialDelaySeconds: 15
|
||||
periodSeconds: 30
|
||||
timeoutSeconds: 5
|
||||
successThreshold: 1
|
||||
failureThreshold: 2
|
||||
resources:
|
||||
requests:
|
||||
memory: "32Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "256Mi"
|
||||
ports:
|
||||
- containerPort: 6379
|
||||
volumeMounts:
|
||||
- name: redis-conf
|
||||
configMap:
|
||||
name: redis
|
||||
mountPath: /usr/local/etc/redis/
|
||||
volumes:
|
||||
- name: redis-conf
|
||||
configMap:
|
||||
name: redis
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue