From 0f28d709f2a4ef059e2d753fc2da5874acadb299 Mon Sep 17 00:00:00 2001 From: JJGadgets Date: Wed, 1 Nov 2023 06:20:56 +0800 Subject: [PATCH] fix(gotosocial): probes --- kube/deploy/apps/gotosocial/app/hr.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/kube/deploy/apps/gotosocial/app/hr.yaml b/kube/deploy/apps/gotosocial/app/hr.yaml index 355e8711..d73f581b 100644 --- a/kube/deploy/apps/gotosocial/app/hr.yaml +++ b/kube/deploy/apps/gotosocial/app/hr.yaml @@ -158,9 +158,9 @@ spec: # name: gotosocial-pg-superuser probes: # this is mostly to get rid of the "TLS handshake error: EOF" logs, more than getting more precise healthchecks lol - readiness: &probe + readiness: custom: true - spec: + spec: &probe periodSeconds: 60 httpGet: path: "/api/v2/instance" @@ -169,9 +169,12 @@ spec: httpHeaders: - name: Host value: *host - liveness: *probe + liveness: + custom: true + spec: *probe startup: - <<: *probe + custom: true spec: + <<: *probe periodSeconds: 1 failureThreshold: 300