chore(argo-workflows): templatize controller liveness probe
Signed-off-by: Alex Sears <me@alexsears.com>
This commit is contained in:
parent
5bb12d0fca
commit
1de4eb9ab4
2 changed files with 10 additions and 9 deletions
|
@ -78,15 +78,7 @@ spec:
|
||||||
- name: metrics
|
- name: metrics
|
||||||
containerPort: {{ .Values.controller.metricsConfig.port }}
|
containerPort: {{ .Values.controller.metricsConfig.port }}
|
||||||
- containerPort: 6060
|
- containerPort: 6060
|
||||||
livenessProbe:
|
livenessProbe: {{ .Values.controller.livenessProbe | toYaml | nindent 12 }}
|
||||||
httpGet:
|
|
||||||
port: 6060
|
|
||||||
path: /healthz
|
|
||||||
# Require three failures to tolerate transient errors.
|
|
||||||
failureThreshold: 3
|
|
||||||
initialDelaySeconds: 90
|
|
||||||
periodSeconds: 60
|
|
||||||
timeoutSeconds: 30
|
|
||||||
{{- with .Values.images.pullSecrets }}
|
{{- with .Values.images.pullSecrets }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
|
|
@ -132,6 +132,15 @@ controller:
|
||||||
# service type `LoadBalancer`
|
# service type `LoadBalancer`
|
||||||
loadBalancerSourceRanges: []
|
loadBalancerSourceRanges: []
|
||||||
resources: {}
|
resources: {}
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
port: 6060
|
||||||
|
path: /healthz
|
||||||
|
# Require three failures to tolerate transient errors.
|
||||||
|
failureThreshold: 3
|
||||||
|
initialDelaySeconds: 90
|
||||||
|
periodSeconds: 60
|
||||||
|
timeoutSeconds: 30
|
||||||
|
|
||||||
## Extra environment variables to provide to the controller container
|
## Extra environment variables to provide to the controller container
|
||||||
## extraEnv:
|
## extraEnv:
|
||||||
|
|
Loading…
Reference in a new issue