Skip to content

Commit

Permalink
Create liveness and readiness probes for lapis (#2021)
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson authored Jun 19, 2024
1 parent 801fa2b commit 7a9d50c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions kubernetes/loculus/templates/lapis-silo-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,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: {{ $.Values.images.lapisSilo }}
imagePullPolicy: IfNotPresent
Expand Down

0 comments on commit 7a9d50c

Please sign in to comment.