diff --git a/parts/k8s/addons/azure-cni-networkmonitor.yaml b/parts/k8s/addons/azure-cni-networkmonitor.yaml index 7bc3127e61..390044fcc7 100644 --- a/parts/k8s/addons/azure-cni-networkmonitor.yaml +++ b/parts/k8s/addons/azure-cni-networkmonitor.yaml @@ -20,6 +20,8 @@ spec: tolerations: - key: CriticalAddonsOnly operator: Exists + nodeSelector: + beta.kubernetes.io/os: linux containers: - name: azure-cnms image: diff --git a/parts/k8s/addons/kubernetesmasteraddons-azure-npm-daemonset.yaml b/parts/k8s/addons/kubernetesmasteraddons-azure-npm-daemonset.yaml index 67110032ec..9b15956895 100644 --- a/parts/k8s/addons/kubernetesmasteraddons-azure-npm-daemonset.yaml +++ b/parts/k8s/addons/kubernetesmasteraddons-azure-npm-daemonset.yaml @@ -71,6 +71,8 @@ spec: tolerations: - key: CriticalAddonsOnly operator: Exists + nodeSelector: + beta.kubernetes.io/os: linux containers: - name: azure-npm image: containernetworking/azure-npm:v0.0.2 @@ -98,4 +100,4 @@ spec: hostPath: path: /run/xtables.lock type: File - serviceAccountName: azure-npm + serviceAccountName: azure-npm \ No newline at end of file diff --git a/parts/k8s/addons/kubernetesmasteraddons-calico-daemonset.yaml b/parts/k8s/addons/kubernetesmasteraddons-calico-daemonset.yaml index 85d3bd4d5a..c53052ec8d 100644 --- a/parts/k8s/addons/kubernetesmasteraddons-calico-daemonset.yaml +++ b/parts/k8s/addons/kubernetesmasteraddons-calico-daemonset.yaml @@ -210,6 +210,8 @@ spec: scheduler.alpha.kubernetes.io/critical-pod: '' spec: hostNetwork: true + nodeSelector: + beta.kubernetes.io/os: linux tolerations: - key: CriticalAddonsOnly operator: Exists diff --git a/parts/k8s/addons/kubernetesmasteraddons-flannel-daemonset.yaml b/parts/k8s/addons/kubernetesmasteraddons-flannel-daemonset.yaml index 3180d73e51..b9c2f956e8 100644 --- a/parts/k8s/addons/kubernetesmasteraddons-flannel-daemonset.yaml +++ b/parts/k8s/addons/kubernetesmasteraddons-flannel-daemonset.yaml @@ -56,6 +56,7 @@ spec: hostNetwork: true nodeSelector: beta.kubernetes.io/arch: amd64 + beta.kubernetes.io/os: linux tolerations: - key: node-role.kubernetes.io/master operator: Equal diff --git a/parts/k8s/addons/kubernetesmasteraddons-kube-rescheduler-deployment.yaml b/parts/k8s/addons/kubernetesmasteraddons-kube-rescheduler-deployment.yaml index fc62947df0..64d5c688a4 100644 --- a/parts/k8s/addons/kubernetesmasteraddons-kube-rescheduler-deployment.yaml +++ b/parts/k8s/addons/kubernetesmasteraddons-kube-rescheduler-deployment.yaml @@ -19,6 +19,8 @@ spec: annotations: scheduler.alpha.kubernetes.io/critical-pod: '' spec: + nodeSelector: + beta.kubernetes.io/os: linux containers: - image: name: rescheduler