Skip to content

Commit

Permalink
Merge pull request #430 from wawa0210/linux-only
Browse files Browse the repository at this point in the history
avoid npd pod schedule on windows node
  • Loading branch information
k8s-ci-robot committed Nov 16, 2020
2 parents 35bfe69 + 9dea1cf commit 06e5a87
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 06e5a87

Please sign in to comment.