Skip to content

Commit

Permalink
avoid npd pod schedule on windows node
Browse files Browse the repository at this point in the history
  • Loading branch information
wawa0210 committed May 27, 2020
1 parent 1d03b66 commit 9dea1cf
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions deployment/node-problem-detector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9dea1cf

Please sign in to comment.