monitoring: recover Pushgateway away from stale iSCSI session
This commit is contained in:
parent
3159759e3a
commit
2ade2b5a4c
@ -35,6 +35,9 @@ spec:
|
||||
values:
|
||||
- titan-04
|
||||
- titan-07
|
||||
# Stale iSCSI session blocks this volume on titan-08.
|
||||
# Keep excluded until the host storage repair is verified.
|
||||
- titan-08
|
||||
- titan-11
|
||||
- titan-22
|
||||
- titan-24
|
||||
@ -42,8 +45,22 @@ spec:
|
||||
operator: In
|
||||
values:
|
||||
- rpi5
|
||||
- rpi4
|
||||
- key: node-role.kubernetes.io/worker
|
||||
operator: Exists
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- weight: 100
|
||||
preference:
|
||||
matchExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: In
|
||||
values: [titan-18]
|
||||
- weight: 50
|
||||
preference:
|
||||
matchExpressions:
|
||||
- key: hardware
|
||||
operator: In
|
||||
values: [rpi5]
|
||||
containers:
|
||||
- name: pushgateway
|
||||
image: prom/pushgateway:v1.11.2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user