Skip to content

Commit

Permalink
Add liveness probe
Browse files Browse the repository at this point in the history
  • Loading branch information
sandratatarevicova committed Oct 7, 2021
1 parent 56fa37d commit 38beebb
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/charts/ray/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A Helm chart for deployments of Ray on Kubernetes.
type: application

# Chart version.
version: 0.1.0-14
version: 0.1.0-15

# Ray version.
appVersion: "latest"
7 changes: 7 additions & 0 deletions deploy/charts/ray/templates/operator_cluster_scoped.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,11 @@ spec:
limits:
memory: 2Gi
cpu: 1
livenessProbe:
exec:
command:
- python
- /worker_heartbeat.py
failureThreshold: 1
periodSeconds: 900
{{- end }}
7 changes: 7 additions & 0 deletions deploy/charts/ray/templates/operator_namespaced.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,12 @@ spec:
limits:
memory: 2Gi
cpu: 1
livenessProbe:
exec:
command:
- python
- /worker_heartbeat.py
failureThreshold: 1
periodSeconds: 900
{{- end }}

0 comments on commit 38beebb

Please sign in to comment.