Skip to content

Commit 46a3fb4

Browse files
committed
kubeadm: disable the kube-proxy DaemonSet on non-Linux nodes
Windows worker nodes run kube-proxy as a Windows service. In the future the kube-proxy DaemonSet might run on Windows nodes too, but for now a temporary measure is needed to disable it. Add a linux node selector in the kube-proxy manifest spec.
1 parent a93f803 commit 46a3fb4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/kubeadm/app/phases/addons/proxy/manifests.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,5 +112,7 @@ spec:
112112
- key: CriticalAddonsOnly
113113
operator: Exists
114114
- operator: Exists
115+
nodeSelector:
116+
beta.kubernetes.io/os: linux
115117
`
116118
)

0 commit comments

Comments
 (0)