Skip to content

Commit cdbd8dd

Browse files
committed
allow setting Kafka JVM memory usage
This is needed by tiltronic to prevent the Kafka connect pods from using defaults. The defaults have a bug on some Linux kernel versions causing them to request tens of gigabytes of memory, which can then cause the Kafka connect pods to be OOM-killed.
1 parent d7765e6 commit cdbd8dd

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

charts/tidepool/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
description: A Helm chart for Tidepool
33
name: tidepool
4-
version: 0.25.0
4+
version: 0.25.1
55
maintainers:
66
- name: Todd Kazakov
77
email: todd@tidepool.org

charts/tidepool/charts/kafka/templates/1-kafka-connect-mongo-cluster.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ spec:
5151
secretName: {{ .Values.keycloak.secretName }}
5252
{{- end }}
5353
image: {{ .Values.connect.image | quote }}
54+
{{- with .Values.connect.jvmOptions }}
55+
jvmOptions:
56+
{{- toYaml . | nindent 4 }}
57+
{{- end }}
5458
replicas: {{ .Values.global.kafka.connect.replicas | int }}
5559
resources:
5660
{{- toYaml .Values.resources | nindent 10 }}

0 commit comments

Comments
 (0)