Skip to content

Commit

Permalink
Fix liveness probe commands
Browse files Browse the repository at this point in the history
  • Loading branch information
mjasion committed Feb 19, 2024
1 parent 181b4df commit 9a3f199
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions charts/studio/templates/deployment-studio-dvcx-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ spec:
{{- toYaml .Values.studioDvcxWorker.securityContext | nindent 12 }}
image: "{{ .Values.studioDvcxWorker.image.repository }}:{{ .Values.studioDvcxWorker.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.studioDvcxWorker.image.pullPolicy }}
args: ["/app/bin/run_celery_worker_udf.sh"]
args: [ "/app/bin/run_celery_worker_udf.sh" ]
resources:
{{- toYaml .Values.studioDvcxWorker.resources | nindent 12 }}
env:
Expand All @@ -73,7 +73,7 @@ spec:
{{- end }}
livenessProbe:
exec:
command: /app/bin/liveness-probe.sh
command: [ "/app/bin/liveness-probe.sh" ]
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 10
Expand Down Expand Up @@ -112,10 +112,10 @@ spec:
storage: {{ .Values.studioDvcxWorker.ephemeralStorage.size }}
{{- else if eq .Values.studioDvcxWorker.ephemeralStorage.type "pvc" }}
persistentVolumeClaim:
claimName: {{ .Values.studioDvcxWorker.ephemeralStorage.persistentVolumeClaim.claimName }}
claimName: {{ .Values.studioDvcxWorker.ephemeralStorage.persistentVolumeClaim.claimName }}
{{- else if eq .Values.studioDvcxWorker.ephemeralStorage.type "pvcRWX" }}
persistentVolumeClaim:
claimName: {{.Release.Name}}-studio-dvcx-worker-ephemeral-rwx
claimName: {{.Release.Name}}-studio-dvcx-worker-ephemeral-rwx
{{- else if eq .Values.studioDvcxWorker.ephemeralStorage.type "emptyDir"}}
emptyDir:
sizeLimit: {{ .Values.studioDvcxWorker.ephemeralStorage.size }}
Expand Down

0 comments on commit 9a3f199

Please sign in to comment.