From cf4b95a5090ed03ce5c7f1d418de4fa193c6d01c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20Str=C3=BCbing?= Date: Mon, 4 Sep 2023 10:08:05 +0200 Subject: [PATCH] chore: add liveness and readiness probes --- .../ai-navigator-app/0.1.0/ai-navigator-app.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/services/ai-navigator-app/0.1.0/ai-navigator-app.yaml b/services/ai-navigator-app/0.1.0/ai-navigator-app.yaml index a832faa1a..77ad7856e 100644 --- a/services/ai-navigator-app/0.1.0/ai-navigator-app.yaml +++ b/services/ai-navigator-app/0.1.0/ai-navigator-app.yaml @@ -68,6 +68,19 @@ spec: ports: - containerPort: 8080 name: http + readinessProbe: + httpGet: + path: /healthz + port: 8080 + scheme: HTTP + livenessProbe: + httpGet: + path: /healthz + port: 8080 + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 30 + failureThreshold: 10 --- apiVersion: v1 kind: Service