monitoring: keep VictoriaMetrics on Pi 5 workers
This commit is contained in:
parent
da7675c6dd
commit
3629403f71
@ -108,6 +108,13 @@ spec:
|
|||||||
operator: In
|
operator: In
|
||||||
values:
|
values:
|
||||||
- "true"
|
- "true"
|
||||||
|
# VictoriaMetrics is too memory- and CPU-heavy for the Pi 4
|
||||||
|
# workers. A hard Pi 5 requirement also moves old placements
|
||||||
|
# instead of leaving them on a previously selected Pi 4.
|
||||||
|
- key: hardware
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- rpi5
|
||||||
- key: kubernetes.io/hostname
|
- key: kubernetes.io/hostname
|
||||||
operator: NotIn
|
operator: NotIn
|
||||||
values:
|
values:
|
||||||
@ -120,20 +127,6 @@ spec:
|
|||||||
- titan-22
|
- titan-22
|
||||||
- titan-24
|
- titan-24
|
||||||
preferredDuringSchedulingIgnoredDuringExecution:
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
- weight: 100
|
|
||||||
preference:
|
|
||||||
matchExpressions:
|
|
||||||
- key: hardware
|
|
||||||
operator: In
|
|
||||||
values:
|
|
||||||
- rpi5
|
|
||||||
- weight: 50
|
|
||||||
preference:
|
|
||||||
matchExpressions:
|
|
||||||
- key: hardware
|
|
||||||
operator: In
|
|
||||||
values:
|
|
||||||
- rpi4
|
|
||||||
- weight: 25
|
- weight: 25
|
||||||
preference:
|
preference:
|
||||||
matchExpressions:
|
matchExpressions:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user