From 7c79f395c6e457277caa38f39c72978fa542110d Mon Sep 17 00:00:00 2001 From: Jon Stelly <967068+jonstelly@users.noreply.github.com> Date: Fri, 13 Mar 2020 05:20:40 -0500 Subject: [PATCH] [stable/kafka-manager] Ensure manager job gets run on an amd64 node in hybrid clusters (#20613) * Ensure manager job gets run on an amd64 in hybrid clouds - zenko/kafka-manager docker image is only available for amd64 so ensure job doesn't get scheduled on unsupported architecture Signed-off-by: Jon Stelly <967068+jonstelly@users.noreply.github.com> * Bump chart version Signed-off-by: Jon Stelly <967068+jonstelly@users.noreply.github.com> * Version bump Signed-off-by: Jon Stelly <967068+jonstelly@users.noreply.github.com> Signed-off-by: Miguel Mingorance --- stable/kafka-manager/Chart.yaml | 2 +- stable/kafka-manager/templates/job.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/stable/kafka-manager/Chart.yaml b/stable/kafka-manager/Chart.yaml index 9b3061968fcb..c66027a5e727 100644 --- a/stable/kafka-manager/Chart.yaml +++ b/stable/kafka-manager/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: kafka-manager -version: 2.3.0 +version: 2.3.1 appVersion: 1.3.3.22 kubeVersion: "^1.8.0-0" description: A tool for managing Apache Kafka. diff --git a/stable/kafka-manager/templates/job.yaml b/stable/kafka-manager/templates/job.yaml index cb6a282cccca..b4c1a62b16bf 100644 --- a/stable/kafka-manager/templates/job.yaml +++ b/stable/kafka-manager/templates/job.yaml @@ -24,6 +24,8 @@ spec: configMap: name: {{ template "kafka-manager.bootstrap.fullname" . }} defaultMode: 0744 + nodeSelector: + kubernetes.io/arch: amd64 containers: - name: {{ .Chart.Name }}-bootstrap image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"