monitoring: recover Pushgateway away from stale iSCSI session

This commit is contained in:
jenkins 2026-10-03 00:24:29 -05:00
parent 3159759e3a
commit 2ade2b5a4c

View File

@ -35,6 +35,9 @@ spec:
values: values:
- titan-04 - titan-04
- titan-07 - 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-11
- titan-22 - titan-22
- titan-24 - titan-24
@ -42,8 +45,22 @@ spec:
operator: In operator: In
values: values:
- rpi5 - rpi5
- rpi4
- key: node-role.kubernetes.io/worker - key: node-role.kubernetes.io/worker
operator: Exists 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: containers:
- name: pushgateway - name: pushgateway
image: prom/pushgateway:v1.11.2 image: prom/pushgateway:v1.11.2