Commit 6cdd9d1f authored by v.artamonov's avatar v.artamonov
Browse files

Reconfigure readiness and liveness probes configuration

parent 7b8a4aeb
Pipeline #24953 passed with stages
in 2 minutes and 57 seconds
......@@ -51,11 +51,24 @@ spec:
httpGet:
path: /ping
port: http
failureThreshold: 5
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
readinessProbe:
httpGet:
path: /ping
port: http
timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }}
periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }}
{{- if .Values.startupProbe.enabled }}
startupProbe:
httpGet:
path: /ping
port: http
failureThreshold: {{ .Values.startupProbe.failureThreshold }}
periodSeconds: {{ .Values.startupProbe.periodSeconds }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
env:
......
......@@ -17,6 +17,19 @@ service:
type: ClusterIP
port: 80
livenessProbe:
timeoutSeconds: 10
periodSeconds: 15
initialDelaySeconds: 1
readinessProbe:
timeoutSeconds: 5
periodSeconds: 6
initialDelaySeconds: 1
startupProbe:
enabled: true
failureThreshold: 20
periodSeconds: 5
ingress:
enabled: false
hosts:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment