From 13198f44a2a7a55ad3916998fba3574c9fec74cd Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Wed, 13 Mar 2024 18:17:57 +0100 Subject: [PATCH] fix(linkwarden): add readiness/liveness checks --- linkwarden/resources/deployment.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/linkwarden/resources/deployment.yaml b/linkwarden/resources/deployment.yaml index 9f9b3df..f57cf4d 100644 --- a/linkwarden/resources/deployment.yaml +++ b/linkwarden/resources/deployment.yaml @@ -50,6 +50,18 @@ spec: limits: memory: "1500Mi" cpu: "500m" + readinessProbe: + httpGet: + path: /login + port: 3000 + initialDelaySeconds: 15 + periodSeconds: 10 + livenessProbe: + httpGet: + path: /login + port: 3000 + initialDelaySeconds: 30 + periodSeconds: 10 securityContext: allowPrivilegeEscalation: false capabilities: