fix(argo-rollouts): missing liveness and readiness probe

Signed-off-by: Hui Kang <hui.kang@salesforce.com>
This commit is contained in:
Hui Kang 2021-08-06 22:59:11 -04:00
parent f20e070de1
commit af0800c988
3 changed files with 25 additions and 1 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "v1.0.2" appVersion: "v1.0.2"
description: A Helm chart for Argo Rollouts description: A Helm chart for Argo Rollouts
name: argo-rollouts name: argo-rollouts
version: 1.0.3 version: 1.0.4
icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
maintainers: maintainers:

View file

@ -39,6 +39,10 @@ spec:
ports: ports:
- containerPort: 8090 - containerPort: 8090
name: metrics name: metrics
livenessProbe:
{{- .Values.controller.livenessProbe | toYaml | nindent 10 }}
readinessProbe:
{{- .Values.controller.readinessProbe | toYaml | nindent 10 }}
securityContext: securityContext:
{{- toYaml .Values.containerSecurityContext | nindent 10 }} {{- toYaml .Values.containerSecurityContext | nindent 10 }}
resources: resources:

View file

@ -31,6 +31,26 @@ controller:
additionalLabels: {} additionalLabels: {}
additionalAnnotations: {} additionalAnnotations: {}
## Readiness and liveness probes for rollouts controller
livenessProbe:
httpGet:
path: /metrics
port: 8090
initialDelaySeconds: 30
periodSeconds: 20
failureThreshold: 3
successThreshold: 1
timeoutSeconds: 10
readinessProbe:
httpGet:
path: /metrics
port: 8090
initialDelaySeconds: 15
periodSeconds: 5
failureThreshold: 3
successThreshold: 1
timeoutSeconds: 4
serviceAccount: serviceAccount:
# Specifies whether a service account should be created # Specifies whether a service account should be created
create: true create: true