From c956074d95723f6cc15cd9103ce848c26a67e75f Mon Sep 17 00:00:00 2001 From: codex Date: Sun, 10 May 2026 03:22:34 -0300 Subject: [PATCH] ci: spread Jenkins agents across nodes --- Jenkinsfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 1e7c9e3..eae8aff 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -32,6 +32,13 @@ spec: - titan-15 - titan-17 - titan-19 + topologySpreadConstraints: + - maxSkew: 1 + topologyKey: kubernetes.io/hostname + whenUnsatisfiable: ScheduleAnyway + labelSelector: + matchLabels: + jenkins/jenkins-jenkins-agent: "true" imagePullSecrets: - name: harbor-robot-pipeline containers: