avoid npd pod schedule on windows node

This commit is contained in:
wawa0210
2020-05-27 16:37:15 +08:00
parent 1d03b66f15
commit 9dea1cf665

View File

@@ -14,6 +14,15 @@ spec:
labels:
app: node-problem-detector
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/os
operator: In
values:
- linux
containers:
- name: node-problem-detector
command: