Private
Public Access
1
0

better deploy
Some checks failed
Dynamic Branch Deploy / build-and-deploy (push) Has been cancelled

This commit is contained in:
Sebastian Unterschütz
2025-11-27 19:42:08 +01:00
parent df9c3e4b76
commit 0412168c4e
11 changed files with 322 additions and 117 deletions

View File

@@ -38,8 +38,7 @@ spec:
initContainers:
- name: fix-permissions
image: busybox
# Ändert den Besitzer von /data auf User 999 (redis) und Gruppe 999
command: [ "sh", "-c", "chown -R 999:999 /data" ]
command: ["sh", "-c", "chown -R 999:999 /data"]
volumeMounts:
- name: data
mountPath: /data
@@ -51,6 +50,25 @@ spec:
volumeMounts:
- name: data
mountPath: /data
resources:
requests:
memory: "64Mi"
cpu: "50m" # 0.05 CPU Cores
limits:
memory: "256Mi"
cpu: "1000m" # 0.5 CPU Cores
livenessProbe:
exec:
command: ["redis-cli", "ping"]
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
readinessProbe:
exec:
command: ["redis-cli", "ping"]
initialDelaySeconds: 5
periodSeconds: 10
volumes:
- name: data
persistentVolumeClaim: