Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bitnami/kafka] Use different liveness/readiness probes #26134

Merged
merged 1 commit into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions bitnami/kafka/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dependencies:
- name: zookeeper
repository: oci://registry-1.docker.io/bitnamicharts
version: 13.2.1
version: 13.2.2
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
version: 2.19.2
digest: sha256:4aa715856f3250fb786c737f21e3095d798b0a91695dde4e99230f064873b5e2
generated: "2024-05-18T01:19:06.707326766Z"
digest: sha256:27ef124d0a7c4c11c04450cfed5a6fa683e8f2a06da7cfc36f3a8d6f8d319f17
generated: "2024-05-20T17:52:51.140652+02:00"
2 changes: 1 addition & 1 deletion bitnami/kafka/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ maintainers:
name: kafka
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/kafka
version: 28.2.5
version: 28.2.6
7 changes: 5 additions & 2 deletions bitnami/kafka/templates/broker/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,11 @@ spec:
livenessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.broker.customLivenessProbe "context" $) | nindent 12 }}
{{- else if .Values.broker.livenessProbe.enabled }}
livenessProbe: {{- include "common.tplvalues.render" (dict "value" (omit .Values.broker.livenessProbe "enabled") "context" $) | nindent 12 }}
tcpSocket:
port: "client"
exec:
command:
- pgrep
- -f
- kafka
{{- end }}
{{- if .Values.broker.customReadinessProbe }}
readinessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.broker.customReadinessProbe "context" $) | nindent 12 }}
Expand Down
7 changes: 5 additions & 2 deletions bitnami/kafka/templates/controller-eligible/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,11 @@ spec:
livenessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.controller.customLivenessProbe "context" $) | nindent 12 }}
{{- else if .Values.controller.livenessProbe.enabled }}
livenessProbe: {{- include "common.tplvalues.render" (dict "value" (omit .Values.controller.livenessProbe "enabled") "context" $) | nindent 12 }}
tcpSocket:
port: "controller"
exec:
command:
- pgrep
- -f
- kafka
{{- end }}
{{- if .Values.controller.customReadinessProbe }}
readinessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.controller.customReadinessProbe "context" $) | nindent 12 }}
Expand Down
3 changes: 1 addition & 2 deletions bitnami/kafka/templates/metrics/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@ spec:
livenessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.metrics.kafka.customLivenessProbe "context" $) | nindent 12 }}
{{- else if .Values.metrics.kafka.livenessProbe.enabled }}
livenessProbe: {{- include "common.tplvalues.render" (dict "value" (omit .Values.metrics.kafka.livenessProbe "enabled") "context" $) | nindent 12 }}
httpGet:
path: /healthz
tcpSocket:
port: metrics
{{- end }}
{{- if .Values.metrics.kafka.customReadinessProbe }}
Expand Down
Loading