Skip to content
Draft
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
2 changes: 1 addition & 1 deletion heartex/label-studio/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ home: https://labelstud.io/
type: application
icon: https://raw.githubusercontent.com/heartexlabs/label-studio/master/images/logo.png
# Chart version
version: 1.1.4
version: 1.1.5
# Label Studio release version
appVersion: "1.8.0"
kubeVersion: ">= 1.14.0-0"
Expand Down
8 changes: 5 additions & 3 deletions heartex/label-studio/templates/rqworker-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,11 @@ spec:
{{- end }}
{{- if $.Values.rqworker.livenessProbe.enabled }}
livenessProbe:
httpGet:
path: {{ $.Values.rqworker.livenessProbe.path | quote }}
port: 8000
exec:
command:
- python3
- /label-studio-enterprise/label_studio_enterprise/check_rqworker.py
- rqworker_selfcheck
failureThreshold: {{ $.Values.rqworker.livenessProbe.failureThreshold }}
initialDelaySeconds: {{ $.Values.rqworker.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ $.Values.rqworker.livenessProbe.periodSeconds }}
Expand Down
3 changes: 1 addition & 2 deletions heartex/label-studio/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -478,8 +478,7 @@ rqworker:
timeoutSeconds: 3
# Used to enable a livenessProbe for the pods
livenessProbe:
enabled: false
path: "/health"
enabled: true
# When a probe fails, Kubernetes will try failureThreshold times before giving up
failureThreshold: 2
# Number of seconds after the container has started before probe initiates
Expand Down