diff --git a/pkg/install/daemonset.go b/pkg/install/daemonset.go index 81b06b64c3..593aee8ebb 100644 --- a/pkg/install/daemonset.go +++ b/pkg/install/daemonset.go @@ -220,6 +220,14 @@ func DaemonSet(namespace string, opts ...podTemplateOption) *appsv1.DaemonSet { daemonSet.Spec.Template.Spec.OS = &corev1.PodOS{ Name: "windows", } + daemonSet.Spec.Template.Spec.Tolerations = []corev1.Toleration{ + { + Key: "os", + Operator: "Equal", + Effect: "NoSchedule", + Value: "windows", + }, + } } else { daemonSet.Spec.Template.Spec.NodeSelector = map[string]string{ "kubernetes.io/os": "linux",