gitea: add health probes

This commit is contained in:
Ruben Hensen committed 2026-10-25 04:19:29 +01:00
1 parent 3c4a8cc8db
commit b9d88f41b9
1 file changed
+15
+15
View File
@@ -50,6 +50,21 @@ spec:
- containerPort: 3000
name: http
protocol: TCP
# /api/healthz checks the database and the cache.
readinessProbe:
httpGet:
path: /api/healthz
port: http
periodSeconds: 10
timeoutSeconds: 5
livenessProbe:
httpGet:
path: /api/healthz
port: http
initialDelaySeconds: 60
periodSeconds: 30
timeoutSeconds: 10
failureThreshold: 5
volumeMounts:
- mountPath: /data
name: data