From 595b398556014f986a820eb85b6b5d9770e7a5a4 Mon Sep 17 00:00:00 2001 From: Austin Orr Date: Thu, 8 Jan 2026 00:26:31 +0000 Subject: [PATCH] add liveness probe to help with automatic app restart --- k8s/base/app.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/k8s/base/app.yml b/k8s/base/app.yml index 5cfa6f4..9afcece 100644 --- a/k8s/base/app.yml +++ b/k8s/base/app.yml @@ -56,6 +56,13 @@ spec: httpGet: path: /ping port: 80 + livenessProbe: + httpGet: + path: /ping + port: 80 + initialDelaySeconds: 600 # Give the app time to start + periodSeconds: 30 # How often to run the probe + failureThreshold: 8 # Number of consecutive failures before restart envFrom: - secretRef: name: prod-secrets