Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update DataChain worker liveness probe #325

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/studio/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: studio
description: A Helm chart for Kubernetes
type: application
version: 0.10.4
appVersion: "v2.85.5"
version: 0.10.8
appVersion: "v2.93.1"
maintainers:
- name: iterative
email: support@iterative.ai
Expand Down
2 changes: 1 addition & 1 deletion charts/studio/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# studio

![Version: 0.10.4](https://img.shields.io/badge/Version-0.10.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.85.5](https://img.shields.io/badge/AppVersion-v2.85.5-informational?style=flat-square)
![Version: 0.10.8](https://img.shields.io/badge/Version-0.10.8-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.93.1](https://img.shields.io/badge/AppVersion-v2.93.1-informational?style=flat-square)

A Helm chart for Kubernetes

Expand Down
11 changes: 4 additions & 7 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,10 +73,7 @@ spec:
{{- end }}
livenessProbe:
exec:
command:
- python
- -c
- 'from viewer.utils import sqlalchemy_liveness_probe; sqlalchemy_liveness_probe()'
command: [ "/app/bin/liveness-probe.sh" ]
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 10
Expand Down Expand Up @@ -115,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