Skip to content

Commit

Permalink
Add dvcx-worker livenessProbe
Browse files Browse the repository at this point in the history
  • Loading branch information
mjasion committed Oct 6, 2023
1 parent e519082 commit 46ae7f7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions charts/studio/templates/deployment-studio-dvcx-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@ spec:
- secretRef:
name: {{ .Values.studioDvcxWorker.envFromSecret }}
{{- end }}
livenessProbe:
exec:
command:
- python
- -c
- 'from viewer.utils import sqlalchemy_liveness_probe; sqlalchemy_liveness_probe()'
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 10
volumeMounts:
{{- if not .Values.global.blobvault.bucket }}
- name: blobvault
Expand Down

0 comments on commit 46ae7f7

Please sign in to comment.