ops: keep scavenger work out of scheduler headroom
This commit is contained in:
parent
ba84082a1e
commit
24920c8a56
@ -80,17 +80,17 @@ spec:
|
|||||||
- RemovePodsViolatingNodeAffinity
|
- RemovePodsViolatingNodeAffinity
|
||||||
priorityClassName: system-cluster-critical
|
priorityClassName: system-cluster-critical
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
node-role.kubernetes.io/worker: "true"
|
node-role.kubernetes.io/control-plane: "true"
|
||||||
affinity:
|
affinity:
|
||||||
nodeAffinity:
|
nodeAffinity:
|
||||||
preferredDuringSchedulingIgnoredDuringExecution:
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
- weight: 100
|
- weight: 100
|
||||||
preference:
|
preference:
|
||||||
matchExpressions:
|
matchExpressions:
|
||||||
- key: hardware
|
- key: kubernetes.io/hostname
|
||||||
operator: In
|
operator: NotIn
|
||||||
values:
|
values:
|
||||||
- rpi5
|
- titan-0a
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: node-role.kubernetes.io/control-plane
|
- key: node-role.kubernetes.io/control-plane
|
||||||
operator: Exists
|
operator: Exists
|
||||||
|
|||||||
@ -57,7 +57,7 @@ spec:
|
|||||||
--threads "${THR}" ${EXTRA}
|
--threads "${THR}" ${EXTRA}
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: "0"
|
||||||
memory: 32Mi
|
memory: 32Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: 250m
|
cpu: 250m
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user