From 5bb12d0fca2f363829b58d0d4d9a4056efee270f Mon Sep 17 00:00:00 2001 From: Alex Sears Date: Fri, 18 Jun 2021 14:58:02 -0400 Subject: [PATCH] chore(argo-worflows): update controller liveness probe Signed-off-by: Alex Sears --- .../controller/workflow-controller-deployment.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/charts/argo-workflows/templates/controller/workflow-controller-deployment.yaml b/charts/argo-workflows/templates/controller/workflow-controller-deployment.yaml index 9f80ea7f..181dbf9a 100644 --- a/charts/argo-workflows/templates/controller/workflow-controller-deployment.yaml +++ b/charts/argo-workflows/templates/controller/workflow-controller-deployment.yaml @@ -77,12 +77,16 @@ spec: ports: - name: metrics containerPort: {{ .Values.controller.metricsConfig.port }} + - containerPort: 6060 livenessProbe: httpGet: - port: metrics - path: {{ .Values.controller.metricsConfig.path }} - initialDelaySeconds: 30 - periodSeconds: 30 + port: 6060 + path: /healthz + # Require three failures to tolerate transient errors. + failureThreshold: 3 + initialDelaySeconds: 90 + periodSeconds: 60 + timeoutSeconds: 30 {{- with .Values.images.pullSecrets }} imagePullSecrets: {{- toYaml . | nindent 8 }}