From 98c10d34ff56f9a36950b7570df9fcbadc7e1055 Mon Sep 17 00:00:00 2001 From: stuebingerb <41049452+stuebingerb@users.noreply.github.com> Date: Tue, 7 Jan 2025 16:33:30 +0100 Subject: [PATCH] Re-add livenessProbe and readinessProbe `livenessProbe` and `readinessProbe` seem to have vanished during the go migration. --- helm/multi-juicer/templates/balancer/deployment.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/helm/multi-juicer/templates/balancer/deployment.yaml b/helm/multi-juicer/templates/balancer/deployment.yaml index d1b689469..cee8d3280 100644 --- a/helm/multi-juicer/templates/balancer/deployment.yaml +++ b/helm/multi-juicer/templates/balancer/deployment.yaml @@ -53,6 +53,14 @@ spec: containerPort: 8080 - name: metrics containerPort: 8081 + livenessProbe: + httpGet: + path: /balancer/api/health + port: http + readinessProbe: + httpGet: + path: /balancer/api/readiness + port: http volumeMounts: - name: config-volume mountPath: /config/config.json