monitoring: prefer worker nodes for Alertmanager
This commit is contained in:
parent
1f636489f7
commit
0ad2ffefce
@ -722,8 +722,6 @@ spec:
|
||||
name: prometheus
|
||||
namespace: flux-system
|
||||
values:
|
||||
nodeSelector:
|
||||
hardware: rpi5
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
@ -733,6 +731,23 @@ spec:
|
||||
operator: NotIn
|
||||
values:
|
||||
- titan-22
|
||||
- key: node-role.kubernetes.io/control-plane
|
||||
operator: DoesNotExist
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- weight: 100
|
||||
preference:
|
||||
matchExpressions:
|
||||
- key: hardware
|
||||
operator: In
|
||||
values:
|
||||
- rpi5
|
||||
- weight: 50
|
||||
preference:
|
||||
matchExpressions:
|
||||
- key: hardware
|
||||
operator: In
|
||||
values:
|
||||
- rpi4
|
||||
ingress:
|
||||
enabled: true
|
||||
ingressClassName: traefik
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user