add a liveness probe

This commit is contained in:
2025-10-07 10:55:39 +08:00
parent 4d89c17553
commit 41097d9206

View File

@@ -101,6 +101,15 @@ spec:
gitea:
admin:
existingSecret: gitea-admin-password
livenessProbe:
httpGet:
path: /api/healthz
port: http
initialDelaySeconds: 200
timeoutSeconds: 5
periodSeconds: 10
successThreshold: 1
failureThreshold: 10
config:
server:
SSH_PORT: 2222