From 9b680640c909766d0c20d66ce948154fa5492482 Mon Sep 17 00:00:00 2001 From: Jon Stelly <967068+jonstelly@users.noreply.github.com> Date: Fri, 5 Jun 2020 00:41:08 -0500 Subject: [PATCH] Add arch node selector for hybrid clusters (#400) Signed-off-by: Jon Stelly <967068+jonstelly@users.noreply.github.com> --- .../metrics/14-kube-state-metrics-deployment.yml.hb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/features/metrics/14-kube-state-metrics-deployment.yml.hb b/src/features/metrics/14-kube-state-metrics-deployment.yml.hb index 575eb41e95b1..cb13c8112d3f 100644 --- a/src/features/metrics/14-kube-state-metrics-deployment.yml.hb +++ b/src/features/metrics/14-kube-state-metrics-deployment.yml.hb @@ -23,11 +23,19 @@ spec: operator: In values: - linux + - key: kubernetes.io/arch + operator: In + values: + - amd64 - matchExpressions: - key: beta.kubernetes.io/os operator: In values: - linux + - key: beta.kubernetes.io/arch + operator: In + values: + - amd64 serviceAccountName: kube-state-metrics containers: - name: kube-state-metrics