diff options
author | Vanessa Valderrama <vvalderrama@linuxfoundation.org> | 2024-04-17 16:14:56 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2024-04-17 16:14:56 +0000 |
commit | 46ef3a65ffcb6e56ec3d68d769e72e2d0c4f59f0 (patch) | |
tree | 12aac455e2072e0f0a825c3f5f75561a914caa85 | |
parent | 895750debc1a6e4687a90258330ffe0980be54d8 (diff) | |
parent | c7c3182e9ac50a9c690a83bcc0e7d0f89a33c065 (diff) |
Merge "Update hst CPU/MemoryMB cloud config to limit jobs to 1 per server"
-rw-r--r-- | jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-prod-x86_64-jobtemplate.yaml | 5 | ||||
-rw-r--r-- | jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-sandbox-x86_64-jobtemplate.yaml | 5 |
2 files changed, 6 insertions, 4 deletions
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 0e05b80e2..817f02981 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 a5172e38e..b74f5f547 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 |