Skip to content

Commit

Permalink
Helm: supports custom probe seconds (ray-project#239)
Browse files Browse the repository at this point in the history
* Helm: supports custom probe seconds

* fix
  • Loading branch information
haoxins authored Apr 27, 2022
1 parent 2b8de59 commit e223c1f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions helm-chart/kuberay-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,16 @@ spec:
httpGet:
path: /metrics
port: http
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
failureThreshold: {{ .Values.livenessProbe.failureThreshold }}
readinessProbe:
httpGet:
path: /metrics
port: http
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
failureThreshold: {{ .Values.readinessProbe.failureThreshold }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
Expand Down
10 changes: 10 additions & 0 deletions helm-chart/kuberay-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,15 @@ resources:
# cpu: 100m
# memory: 128Mi

livenessProbe:
initialDelaySeconds: 10
periodSeconds: 5
failureThreshold: 5

readinessProbe:
initialDelaySeconds: 10
periodSeconds: 5
failureThreshold: 5

createCustomResource: true
rbacEnable: true

0 comments on commit e223c1f

Please sign in to comment.