fix(argo-rollouts): missing liveness and readiness probe
Signed-off-by: Hui Kang <hui.kang@salesforce.com>
This commit is contained in:
parent
f20e070de1
commit
af0800c988
3 changed files with 25 additions and 1 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
|||
appVersion: "v1.0.2"
|
||||
description: A Helm chart for Argo Rollouts
|
||||
name: argo-rollouts
|
||||
version: 1.0.3
|
||||
version: 1.0.4
|
||||
icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png
|
||||
home: https://github.com/argoproj/argo-helm
|
||||
maintainers:
|
||||
|
|
|
@ -39,6 +39,10 @@ spec:
|
|||
ports:
|
||||
- containerPort: 8090
|
||||
name: metrics
|
||||
livenessProbe:
|
||||
{{- .Values.controller.livenessProbe | toYaml | nindent 10 }}
|
||||
readinessProbe:
|
||||
{{- .Values.controller.readinessProbe | toYaml | nindent 10 }}
|
||||
securityContext:
|
||||
{{- toYaml .Values.containerSecurityContext | nindent 10 }}
|
||||
resources:
|
||||
|
|
|
@ -31,6 +31,26 @@ controller:
|
|||
additionalLabels: {}
|
||||
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:
|
||||
# Specifies whether a service account should be created
|
||||
create: true
|
||||
|
|
Loading…
Reference in a new issue