From 5edfc815e0eac533c7ee48c118943f33964777e8 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Tue, 25 Jun 2024 16:19:18 +1000 Subject: [PATCH] update the probes for statability --- kubernetes/apps/gitea/app/release.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/kubernetes/apps/gitea/app/release.yaml b/kubernetes/apps/gitea/app/release.yaml index 555fc00..ec99e4d 100644 --- a/kubernetes/apps/gitea/app/release.yaml +++ b/kubernetes/apps/gitea/app/release.yaml @@ -17,21 +17,23 @@ spec: remediation: retries: 3 values: + image: + debug: true updateStrategy: type: Recreate livenessProbe: enabled: true initialDelaySeconds: 600 - periodSeconds: 30 - timeoutSeconds: 10 + periodSeconds: 60 + timeoutSeconds: 30 failureThreshold: 5 successThreshold: 1 readinessProbe: enabled: true path: / - initialDelaySeconds: 600 - periodSeconds: 30 - timeoutSeconds: 10 + initialDelaySeconds: 30 + periodSeconds: 60 + timeoutSeconds: 30 failureThreshold: 5 successThreshold: 1 adminUsername: ${admin_username}