From 03514ee4fd86a8345e55d0ac05cefde4a94a7e73 Mon Sep 17 00:00:00 2001 From: Theo Sanderson Date: Sun, 26 May 2024 20:49:05 +0100 Subject: [PATCH] Create liveness and readiness probes for lapis --- .../loculus/templates/lapis-silo-deployment.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/kubernetes/loculus/templates/lapis-silo-deployment.yaml b/kubernetes/loculus/templates/lapis-silo-deployment.yaml index 45e6489ec5..7c564f8b43 100644 --- a/kubernetes/loculus/templates/lapis-silo-deployment.yaml +++ b/kubernetes/loculus/templates/lapis-silo-deployment.yaml @@ -59,6 +59,20 @@ spec: - name: lapis-silo-database-config-processed mountPath: /workspace/reference_genomes.json subPath: reference_genomes.json + readinessProbe: + httpGet: + path: /sample/info + port: 8080 + initialDelaySeconds: 10 + periodSeconds: 10 + failureThreshold: 3 + livenessProbe: + httpGet: + path: /sample/info + port: 8080 + initialDelaySeconds: 30 + periodSeconds: 10 + failureThreshold: 3 - name: silo-preprocessing image: ghcr.io/genspectrum/lapis-silo:{{ $.Values.imageTags.lapisSilo }} imagePullPolicy: IfNotPresent