Skip to content

Commit

Permalink
Add Liveness and readiness probe timeout values
Browse files Browse the repository at this point in the history
  • Loading branch information
gciria authored and danihodovic committed Apr 10, 2023
1 parent f1393b1 commit 6f0ed89
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions charts/celery-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,18 @@ spec:
httpGet:
path: /health
port: http
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds | default "5" }}
failureThreshold: {{ .Values.livenessProbe.failureThreshold | default "5" }}
periodSeconds: {{ .Values.livenessProbe.periodSeconds | default "10" }}
successThreshold: {{ .Values.livenessProbe.successThreshold | default "1" }}
livenessProbe:
httpGet:
path: /health
port: http
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds | default "5" }}
failureThreshold: {{ .Values.livenessProbe.failureThreshold | default "5" }}
periodSeconds: {{ .Values.livenessProbe.periodSeconds | default "10" }}
successThreshold: {{ .Values.livenessProbe.successThreshold | default "1" }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.env }}
Expand Down
12 changes: 12 additions & 0 deletions charts/celery-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,18 @@ resources: {}
# cpu: 100m
# memory: 128Mi

livenessProbe: {}
# Liveness and readiness probe timeout values.
# timeoutSeconds: 5
# failureThreshold: 5
# periodSeconds: 10
# successThreshold: 1
readinessProbe: {}
# timeoutSeconds: 15
# failureThreshold: 5
# periodSeconds: 10
# successThreshold: 1

nodeSelector: {}

tolerations: []
Expand Down

0 comments on commit 6f0ed89

Please sign in to comment.