diff --git a/charts/tidepool/Chart.yaml b/charts/tidepool/Chart.yaml index c87533ec..635c6ff0 100644 --- a/charts/tidepool/Chart.yaml +++ b/charts/tidepool/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 description: A Helm chart for Tidepool name: tidepool -version: 0.24.5 +version: 0.24.6 maintainers: - name: Todd Kazakov email: todd@tidepool.org @@ -11,5 +11,5 @@ home: https://github.com/tidepool-org/development/charts dependencies: - name: keycloak version: 0.4.7 - repository: 'file://../keycloak' + repository: "file://../keycloak" condition: keycloak.enabled diff --git a/charts/tidepool/charts/kafka/templates/1-kafka-connect-mongo-cluster.yaml b/charts/tidepool/charts/kafka/templates/1-kafka-connect-mongo-cluster.yaml index 78f9f56b..4ecb7637 100644 --- a/charts/tidepool/charts/kafka/templates/1-kafka-connect-mongo-cluster.yaml +++ b/charts/tidepool/charts/kafka/templates/1-kafka-connect-mongo-cluster.yaml @@ -54,6 +54,10 @@ spec: replicas: {{ .Values.global.kafka.connect.replicas | int }} resources: {{- toYaml .Values.resources | nindent 10 }} +{{- with .Values.jvmOptions }} + jvmOptions: + {{- toYaml . | nindent 4 }} +{{- end }} {{ if .Values.global.kafka.connect.tlsEnabled }} tls: trustedCertificates: [] diff --git a/charts/tidepool/charts/kafka/values.yaml b/charts/tidepool/charts/kafka/values.yaml index 4916a51a..e1fc83b7 100644 --- a/charts/tidepool/charts/kafka/values.yaml +++ b/charts/tidepool/charts/kafka/values.yaml @@ -58,6 +58,11 @@ resources: memory: "600Mi" limits: memory: "2Gi" +# -- optional JVM heap sizing passed through to KafkaConnect.spec.jvmOptions. +# Leave unset to use Strimzi's dynamic heap calculation (75% of the cgroup +# memory limit). Override (e.g. via tiltronic-values-local.yaml) on hosts +# where Strimzi's cgroup detection fails and the dynamic calc overshoots. +jvmOptions: {} secret: enabled: false podMonitor: