mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-17 13:58:21 +00:00
19 lines
472 B
YAML
19 lines
472 B
YAML
- op: add
|
|
path: /spec/template/spec/affinity
|
|
value:
|
|
nodeAffinity:
|
|
preferredDuringSchedulingIgnoredDuringExecution:
|
|
- weight: 1
|
|
preference:
|
|
matchExpressions:
|
|
- key: node-role.kubernetes.io/control-plane
|
|
operator: In
|
|
values: [""]
|
|
|
|
- op: add
|
|
path: /spec/template/spec/tolerations/-
|
|
value:
|
|
key: "node-role.kubernetes.io/control-plane"
|
|
operator: "Equal"
|
|
value: ""
|
|
effect: "NoSchedule"
|