diff --git a/helm/akhq/templates/deployment.yaml b/helm/akhq/templates/deployment.yaml index e5e85fbc3..95b676150 100644 --- a/helm/akhq/templates/deployment.yaml +++ b/helm/akhq/templates/deployment.yaml @@ -115,6 +115,18 @@ spec: successThreshold: {{ $.Values.readinessProbe.successThreshold }} failureThreshold: {{ $.Values.readinessProbe.failureThreshold }} {{- end }} + {{- if $.Values.startupProbe.enabled }} + startupProbe: + httpGet: + path: {{ .Values.startupProbe.prefix | default "" }}{{ $.Values.startupProbe.path }} + port: {{ $.Values.startupProbe.port }} + {{- if $.Values.startupProbe.httpGetExtra }}{{ toYaml $.Values.startupProbe.httpGetExtra | trim | nindent 14 }}{{ end }} + initialDelaySeconds: {{ $.Values.startupProbe.initialDelaySeconds }} + periodSeconds: {{ $.Values.startupProbe.periodSeconds }} + timeoutSeconds: {{ $.Values.startupProbe.timeoutSeconds }} + successThreshold: {{ $.Values.startupProbe.successThreshold }} + failureThreshold: {{ $.Values.startupProbe.failureThreshold }} + {{- end }} resources: {{- toYaml .Values.resources | nindent 12 }} {{- with .Values.nodeSelector }} diff --git a/helm/akhq/values.yaml b/helm/akhq/values.yaml index 10460c896..c591d57c3 100644 --- a/helm/akhq/values.yaml +++ b/helm/akhq/values.yaml @@ -179,6 +179,18 @@ livenessProbe: failureThreshold: 3 httpGetExtra: {} +startupProbe: + enabled: false + prefix: "" # set same as `micronaut.server.context-path` + path: /health + port: management + initialDelaySeconds: 0 + periodSeconds: 10 + timeoutSeconds: 5 + successThreshold: 1 + failureThreshold: 30 + httpGetExtra: {} + resources: {} # limits: # cpu: 100m