From 12599921591c58b868062ddcc5be5bea1b4c4454 Mon Sep 17 00:00:00 2001 From: Caetano Melone Date: Tue, 15 Oct 2024 14:49:45 -0300 Subject: Reduce noop job resource requests (#46920) `no-spec-to-rebuild` jobs use far less resources than they request. For example, [this](https://gitlab.spack.io/spack/spack/-/jobs/12944487) job [used](https://prometheus.spack.io/api/v1/query_range?query=container_memory_working_set_bytes{pod=%22runner-dcsgp53u-project-2-concurrent-3-0ubclrr1%22}&start=1728655743&end=1728656543&step=1s) around 3MB. While this won't lead to any crazy cost savings, k8s requests effectively block other jobs from using the resources, so reducing this to a reasonable number is important. --- share/spack/gitlab/cloud_pipelines/configs/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share') diff --git a/share/spack/gitlab/cloud_pipelines/configs/ci.yaml b/share/spack/gitlab/cloud_pipelines/configs/ci.yaml index 5ad2b7cd98..10eb7459a7 100644 --- a/share/spack/gitlab/cloud_pipelines/configs/ci.yaml +++ b/share/spack/gitlab/cloud_pipelines/configs/ci.yaml @@ -111,8 +111,8 @@ ci: CI_OIDC_REQUIRED: 0 GIT_STRATEGY: "none" CI_JOB_SIZE: "small" - KUBERNETES_CPU_REQUEST: "500m" - KUBERNETES_MEMORY_REQUEST: "500M" + KUBERNETES_CPU_REQUEST: "100m" + KUBERNETES_MEMORY_REQUEST: "5M" before_script:: [] after_script:: [] -- cgit v1.2.3-70-g09d2