diff --git a/charts/fluentd/templates/_pod.tpl b/charts/fluentd/templates/_pod.tpl index e285e3a8..6d160e20 100644 --- a/charts/fluentd/templates/_pod.tpl +++ b/charts/fluentd/templates/_pod.tpl @@ -58,6 +58,8 @@ containers: {{- end }} livenessProbe: {{- toYaml .Values.livenessProbe | nindent 6 }} + startupProbe: + {{- toYaml .Values.startupProbe | nindent 6 }} readinessProbe: {{- toYaml .Values.readinessProbe | nindent 6 }} resources: diff --git a/charts/fluentd/values.yaml b/charts/fluentd/values.yaml index ac05f8b2..fd1c5fd5 100644 --- a/charts/fluentd/values.yaml +++ b/charts/fluentd/values.yaml @@ -67,6 +67,18 @@ livenessProbe: # successThreshold: 1 # failureThreshold: 3 +# Configure the startupProbe +# Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/ +startupProbe: + httpGet: + path: /metrics + port: metrics + # initialDelaySeconds: 0 + # periodSeconds: 10 + # timeoutSeconds: 1 + # successThreshold: 1 + # failureThreshold: 30 + # Configure the readinessProbe # Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/ readinessProbe: