From c6373b1d91c965baf240214b40f563dd8e9771a4 Mon Sep 17 00:00:00 2001 From: Paolo Alba Date: Sat, 23 May 2020 19:48:23 +0200 Subject: [PATCH] add linux nodeselector Signed-off-by: Paolo Alba --- deploy/12-operator.yaml | 2 ++ deploy/22-metrics-deployment.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/deploy/12-operator.yaml b/deploy/12-operator.yaml index 3d07ff8c0f3..8ca98153d6e 100644 --- a/deploy/12-operator.yaml +++ b/deploy/12-operator.yaml @@ -40,3 +40,5 @@ spec: fieldPath: metadata.name - name: OPERATOR_NAME value: "keda-operator" + nodeSelector: + beta.kubernetes.io/os: linux diff --git a/deploy/22-metrics-deployment.yaml b/deploy/22-metrics-deployment.yaml index 274d551606a..fc70c3af01d 100644 --- a/deploy/22-metrics-deployment.yaml +++ b/deploy/22-metrics-deployment.yaml @@ -40,6 +40,8 @@ spec: volumeMounts: - mountPath: /tmp name: temp-vol + nodeSelector: + beta.kubernetes.io/os: linux volumes: - name: temp-vol emptyDir: {}