Skip to content

Commit

Permalink
This is an manual cherry-pick of openshift#110
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Eduardo Arango Gutierrez <carangog@redhat.com>
  • Loading branch information
ArangoGutierrez committed Jan 8, 2021
1 parent e4a39a0 commit fc1564e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions assets/worker/0700_worker_daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,18 @@ spec:
app: nfd-worker
spec:
tolerations:
- operator: "Exists"
- operator: "Exists"
effect: "NoSchedule"
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: node-role.kubernetes.io/master
operator: DoesNotExist
- matchExpressions:
- key: node-role.kubernetes.io/master
operator: DoesNotExist
- matchExpressions:
- key: node-role.kubernetes.io/worker
operator: Exists
hostNetwork: true
serviceAccount: nfd-worker
readOnlyRootFilesystem: true
Expand Down

0 comments on commit fc1564e

Please sign in to comment.