Skip to content

Commit

Permalink
Merge pull request #444 from adrianchiris/preferred-scheduling-helm-v…
Browse files Browse the repository at this point in the history
…alues

[Helm] Dont force deployment on control nodes
  • Loading branch information
adrianchiris committed May 29, 2023
2 parents 1c6e1b3 + a461933 commit 497f285
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions deployment/sriov-network-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@ operator:
nodeSelector: {}
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: "node-role.kubernetes.io/master"
operator: In
values: [ "" ]
- matchExpressions:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
preference:
matchExpressions:
- key: "node-role.kubernetes.io/master"
operator: In
values: [""]
- weight: 1
preference:
matchExpressions:
- key: "node-role.kubernetes.io/control-plane"
operator: In
values: [ "" ]
Expand Down

0 comments on commit 497f285

Please sign in to comment.