From cfeaa025c112028716db7d88b6f06dfc2d20b23a Mon Sep 17 00:00:00 2001 From: Shaun Crampton Date: Mon, 29 Apr 2019 09:50:56 +0100 Subject: [PATCH] Add a nodeSelector to the calico autoscaler Ensures the autoscaler itself only runs on a Linux node. --- config/v1.4/calico.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/v1.4/calico.yaml b/config/v1.4/calico.yaml index 4a5f2b62fe..f4dbbd0a02 100644 --- a/config/v1.4/calico.yaml +++ b/config/v1.4/calico.yaml @@ -548,6 +548,8 @@ spec: annotations: scheduler.alpha.kubernetes.io/critical-pod: '' spec: + nodeSelector: + beta.kubernetes.io/os: linux containers: - image: k8s.gcr.io/cluster-proportional-autoscaler-amd64:1.1.2 name: autoscaler