From cc428fca8731e6356dcb21ee94b94e6c7a594111 Mon Sep 17 00:00:00 2001 From: codex Date: Sun, 10 May 2026 03:23:00 -0300 Subject: [PATCH] ci: spread Jenkins agents across nodes --- Jenkinsfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 1b7cab0..165b9aa 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: