From c7c3182e9ac50a9c690a83bcc0e7d0f89a33c065 Mon Sep 17 00:00:00 2001 From: Dave Wallace Date: Tue, 16 Apr 2024 21:13:00 -0400 Subject: Update hst CPU/MemoryMB cloud config to limit jobs to 1 per server Change-Id: Ic173bf2e6d053d87e703dddbefe850c7d4ee027a Signed-off-by: Dave Wallace --- .../nomad/FDIONOMAD/hst-ubuntu2204-prod-x86_64-jobtemplate.yaml | 5 +++-- .../nomad/FDIONOMAD/hst-ubuntu2204-sandbox-x86_64-jobtemplate.yaml | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'jenkins-config') diff --git a/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-prod-x86_64-jobtemplate.yaml b/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-prod-x86_64-jobtemplate.yaml index 0e05b80e..817f0298 100644 --- a/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-prod-x86_64-jobtemplate.yaml +++ b/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-prod-x86_64-jobtemplate.yaml @@ -17,6 +17,7 @@ Job: - /tmp/ccache.ubuntu2204:/scratch/ccache - /scratch/nomad:/scratch/nomad:ro Resources: - # Limit scheduling of only 1 job per server by specifying > 3/4 of available CPU - CPU: 400000 + # Limit scheduling of only 1 job per server by specifying max cpushares and more than half memory + CPU: 262144 + MemoryMB: 128000 diff --git a/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-sandbox-x86_64-jobtemplate.yaml b/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-sandbox-x86_64-jobtemplate.yaml index a5172e38..b74f5f54 100644 --- a/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-sandbox-x86_64-jobtemplate.yaml +++ b/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-sandbox-x86_64-jobtemplate.yaml @@ -30,5 +30,6 @@ Job: Artifacts: - GetterSource: https://jenkins.fd.io/sandbox/jnlpJars/slave.jar Resources: - # Limit scheduling of only 1 job per server by specifying > 3/4 of available CPU - CPU: 400000 + # Limit scheduling of only 1 job per server by specifying max cpushares and more than half memory + CPU: 262144 + MemoryMB: 128000 -- cgit 1.2.3-korg