feat(argo-workflows): Support livenessProbe to server (#3175)
* feat(argo-workflows): Support readinessProbe to server Signed-off-by: yu-croco <yu.croco@gmail.com> * fix: readiness/liveness Signed-off-by: yu-croco <yu.croco@gmail.com> --------- Signed-off-by: yu-croco <yu.croco@gmail.com> Co-authored-by: JM (Jason Meridth) <jmeridth@gmail.com>
This commit is contained in:
parent
4f356644ca
commit
cef816a740
5 changed files with 54 additions and 3 deletions
|
|
@ -87,6 +87,22 @@ spec:
|
|||
{{- end }}
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 20
|
||||
{{- if .Values.server.livenessProbe.enabled }}
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: {{ .Values.server.livenessProbe.httpGet.path }}
|
||||
port: {{ .Values.server.livenessProbe.httpGet.port }}
|
||||
{{- if .Values.server.secure }}
|
||||
scheme: HTTPS
|
||||
{{- else }}
|
||||
scheme: HTTP
|
||||
{{- end }}
|
||||
initialDelaySeconds: {{ .Values.server.livenessProbe.initialDelaySeconds }}
|
||||
timeoutSeconds: {{ .Values.server.livenessProbe.timeoutSeconds }}
|
||||
periodSeconds: {{ .Values.server.livenessProbe.periodSeconds }}
|
||||
successThreshold: {{ .Values.server.livenessProbe.successThreshold }}
|
||||
failureThreshold: {{ .Values.server.livenessProbe.failureThreshold }}
|
||||
{{- end }}
|
||||
env:
|
||||
- name: IN_CLUSTER
|
||||
value: "true"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue