fix(argo-rollouts): Add missing liveness and readiness probe (#860)
* fix(argo-rollouts): missing liveness and readiness probe Signed-off-by: Hui Kang <hui.kang@salesforce.com> * Apply suggestions from code review Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> * Update changelog annotation Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> * Fix icon url Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> Co-authored-by: Hui Kang <hui.kang@salesforce.com> Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
parent
6bbcd833d4
commit
046635d69b
3 changed files with 28 additions and 3 deletions
|
@ -2,8 +2,8 @@ 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://argoproj.github.io/argo-rollouts/assets/logo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: alexmt
|
- name: alexmt
|
||||||
|
@ -11,4 +11,5 @@ maintainers:
|
||||||
- name: jessesuen
|
- name: jessesuen
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- "[Added]: Initialize Changelog"
|
- "[Fixed]: Add missing liveness and readiness probes"
|
||||||
|
- "[Changed]: Fix icon url"
|
||||||
|
|
|
@ -39,6 +39,10 @@ spec:
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8090
|
- containerPort: 8090
|
||||||
name: metrics
|
name: metrics
|
||||||
|
livenessProbe:
|
||||||
|
{{- toYaml .Values.controller.livenessProbe | nindent 10 }}
|
||||||
|
readinessProbe:
|
||||||
|
{{- toYaml .Values.controller.readinessProbe | nindent 10 }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.containerSecurityContext | nindent 10 }}
|
{{- toYaml .Values.containerSecurityContext | nindent 10 }}
|
||||||
resources:
|
resources:
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue