Added probes to chart vars
All checks were successful
Publish Helm Charts / build-and-publish (push) Successful in 9s
All checks were successful
Publish Helm Charts / build-and-publish (push) Successful in 9s
This commit is contained in:
@@ -61,30 +61,36 @@ spec:
|
||||
- name: https
|
||||
containerPort: 8443
|
||||
protocol: TCP
|
||||
{{- if .Values.healthchecks.startupProbe.enabled }}
|
||||
startupProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 12
|
||||
path: {{ .Values.healthchecks.startupProbe.httpGet.path }}
|
||||
port: {{ .Values.healthchecks.startupProbe.httpGet.port }}
|
||||
initialDelaySeconds: {{ .Values.healthchecks.startupProbe.initialDelaySeconds }}
|
||||
periodSeconds: {{ .Values.healthchecks.startupProbe.periodSeconds }}
|
||||
timeoutSeconds: {{ .Values.healthchecks.startupProbe.timeoutSeconds }}
|
||||
failureThreshold: {{ .Values.healthchecks.startupProbe.failureThreshold }}
|
||||
{{- end }}
|
||||
{{- if .Values.healthchecks.livenessProbe.enabled }}
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /api/status_p.xml
|
||||
port: http
|
||||
initialDelaySeconds: 90
|
||||
periodSeconds: 20
|
||||
timeoutSeconds: 10
|
||||
failureThreshold: 6
|
||||
path: {{ .Values.healthchecks.livenessProbe.httpGet.path }}
|
||||
port: {{ .Values.healthchecks.livenessProbe.httpGet.port }}
|
||||
initialDelaySeconds: {{ .Values.healthchecks.livenessProbe.initialDelaySeconds }}
|
||||
periodSeconds: {{ .Values.healthchecks.livenessProbe.periodSeconds }}
|
||||
timeoutSeconds: {{ .Values.healthchecks.livenessProbe.timeoutSeconds }}
|
||||
failureThreshold: {{ .Values.healthchecks.livenessProbe.failureThreshold }}
|
||||
{{- end }}
|
||||
{{- if .Values.healthchecks.readinessProbe.enabled }}
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 6
|
||||
path: {{ .Values.healthchecks.readinessProbe.httpGet.path }}
|
||||
port: {{ .Values.healthchecks.readinessProbe.httpGet.port }}
|
||||
initialDelaySeconds: {{ .Values.healthchecks.readinessProbe.initialDelaySeconds }}
|
||||
periodSeconds: {{ .Values.healthchecks.readinessProbe.periodSeconds }}
|
||||
timeoutSeconds: {{ .Values.healthchecks.readinessProbe.timeoutSeconds }}
|
||||
failureThreshold: {{ .Values.healthchecks.readinessProbe.failureThreshold }}
|
||||
{{- end }}
|
||||
resources:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
volumeMounts:
|
||||
|
||||
Reference in New Issue
Block a user