diff --git a/charts/velero/Chart.yaml b/charts/velero/Chart.yaml index 4724fef9..88b4079d 100644 --- a/charts/velero/Chart.yaml +++ b/charts/velero/Chart.yaml @@ -3,7 +3,7 @@ appVersion: 1.11.0 kubeVersion: ">=1.16.0-0" description: A Helm chart for velero name: velero -version: 4.0.3 +version: 4.1.0 home: https://github.com/vmware-tanzu/velero icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png sources: diff --git a/charts/velero/templates/deployment.yaml b/charts/velero/templates/deployment.yaml index 21ddb511..786a2c58 100644 --- a/charts/velero/templates/deployment.yaml +++ b/charts/velero/templates/deployment.yaml @@ -154,6 +154,12 @@ spec: resources: {{- toYaml . | nindent 12 }} {{- end }} + {{- with .Values.livenessProbe }} + livenessProbe: {{- toYaml . | nindent 12 }} + {{- end }} + {{- with .Values.readinessProbe }} + readinessProbe: {{- toYaml . | nindent 12 }} + {{- end }} {{- with .Values.containerSecurityContext }} securityContext: {{- toYaml . | nindent 12 }} diff --git a/charts/velero/values.yaml b/charts/velero/values.yaml index 0a1806e4..7eaf28f8 100644 --- a/charts/velero/values.yaml +++ b/charts/velero/values.yaml @@ -89,6 +89,30 @@ priorityClassName: "" # The number of seconds to allow for graceful termination of the pod. Optional. terminationGracePeriodSeconds: 3600 +# Liveness probe of the pod +livenessProbe: + httpGet: + path: /metrics + port: http-monitoring + scheme: HTTP + initialDelaySeconds: 10 + periodSeconds: 30 + timeoutSeconds: 5 + successThreshold: 1 + failureThreshold: 5 + +# Readiness probe of the pod +readinessProbe: + httpGet: + path: /metrics + port: http-monitoring + scheme: HTTP + initialDelaySeconds: 10 + periodSeconds: 30 + timeoutSeconds: 5 + successThreshold: 1 + failureThreshold: 5 + # Tolerations to use for the Velero deployment. Optional. tolerations: []