From e94b792d878e78598e44d912efcd3db2a92a8c64 Mon Sep 17 00:00:00 2001 From: ITO Mac Date: Mon, 4 May 2026 18:20:41 +0200 Subject: [PATCH] lifeness and readiness --- k8s/deployment.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index 196fc7f..55676ba 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -29,6 +29,16 @@ spec: port: 8000 initialDelaySeconds: 3 periodSeconds: 5 + timeoutSecounds: 3 + failureTreshold: 3 + lifenessProbe: + httpGet: + path: /health + port: 8000 + initialDelaySecounds: 10 + periodSecounds: 15 + timeoutSecounds: 3 + failureTreshold: 3 resources: requests: memory: "64Mi"