From 2db096650e281bcbbd9d57059bbd93e2c7148f7d Mon Sep 17 00:00:00 2001 From: codex Date: Sun, 4 Oct 2026 05:02:46 -0500 Subject: [PATCH] ci: keep agents on healthy Pi compute workers --- Jenkinsfile | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 07408ba..a3aea10 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,21 +18,9 @@ spec: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - - key: kubernetes.io/hostname - operator: NotIn - # Storage and quarantined nodes are not build fallback capacity. - values: - - titan-04 - - titan-05 - - titan-06 - - titan-11 - - titan-12 - - titan-13 - - titan-14 - - titan-15 - - titan-17 - - titan-18 - - titan-19 + - {key: hardware, operator: In, values: [rpi5, rpi4]} + - {key: node-role.kubernetes.io/worker, operator: In, values: ["true"]} + - {key: kubernetes.io/hostname, operator: NotIn, values: [titan-04, titan-05, titan-06, titan-08, titan-11, titan-12, titan-13, titan-14, titan-15, titan-17, titan-18, titan-19]} preferredDuringSchedulingIgnoredDuringExecution: - weight: 100 preference: