mirror of
https://gitlab.dit.htwk-leipzig.de/fsr-im/k8s/services/overleaf-cep.git
synced 2025-08-30 16:43:52 +02:00
Initial commit
This commit is contained in:
33
overleaf-helm-chart/templates/deployment-redis.yaml
Normal file
33
overleaf-helm-chart/templates/deployment-redis.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: redis
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: redis
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: redis
|
||||
spec:
|
||||
containers:
|
||||
- name: redis
|
||||
image: {{ .Values.redis.image }}
|
||||
ports:
|
||||
- containerPort: {{ .Values.redis.port }}
|
||||
volumeMounts:
|
||||
- name: redis-data
|
||||
mountPath: {{ .Values.redis.volumeMount }}
|
||||
resources:
|
||||
requests:
|
||||
cpu: {{ .Values.resources.redis.requests.cpu }}
|
||||
memory: {{ .Values.resources.redis.requests.memory }}
|
||||
limits:
|
||||
cpu: {{ .Values.resources.redis.limits.cpu }}
|
||||
memory: {{ .Values.resources.redis.limits.memory }}
|
||||
volumes:
|
||||
- name: redis-data
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ .Values.persistence.redisData }}
|
Reference in New Issue
Block a user