From 11fe8f77fe3a6692ec097024a856b809b2c4765b Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sat, 2 May 2026 17:07:05 +1000 Subject: [PATCH] feat: update per workflow resources trying to avoid contention, where all jobs end up on one host causing timeouts - ensure build jobs requests/limits are more specific --- .woodpecker/build-almalinux8.yaml | 7 +++++++ .woodpecker/build-almalinux9.yaml | 7 +++++++ .woodpecker/deploy-almalinux8.yaml | 14 ++++++++++++++ .woodpecker/deploy-almalinux9.yaml | 14 ++++++++++++++ 4 files changed, 42 insertions(+) diff --git a/.woodpecker/build-almalinux8.yaml b/.woodpecker/build-almalinux8.yaml index 0c9bdd1..c659503 100644 --- a/.woodpecker/build-almalinux8.yaml +++ b/.woodpecker/build-almalinux8.yaml @@ -13,6 +13,13 @@ steps: backend_options: kubernetes: serviceAccountName: default + resources: + requests: + memory: 512Mi + cpu: 1 + limits: + memory: 2Gi + cpu: 2 - name: show rpms image: git.unkin.net/unkin/almalinux8-base:latest diff --git a/.woodpecker/build-almalinux9.yaml b/.woodpecker/build-almalinux9.yaml index 02eea51..feda181 100644 --- a/.woodpecker/build-almalinux9.yaml +++ b/.woodpecker/build-almalinux9.yaml @@ -13,6 +13,13 @@ steps: backend_options: kubernetes: serviceAccountName: default + resources: + requests: + memory: 512Mi + cpu: 1 + limits: + memory: 2Gi + cpu: 2 - name: show rpms image: git.unkin.net/unkin/almalinux9-base:latest diff --git a/.woodpecker/deploy-almalinux8.yaml b/.woodpecker/deploy-almalinux8.yaml index d6f48b8..ca9bf26 100644 --- a/.woodpecker/deploy-almalinux8.yaml +++ b/.woodpecker/deploy-almalinux8.yaml @@ -14,6 +14,13 @@ steps: backend_options: kubernetes: serviceAccountName: default + resources: + requests: + memory: 512Mi + cpu: 1 + limits: + memory: 2Gi + cpu: 2 - name: show-rpms image: git.unkin.net/unkin/almalinux9-base:latest @@ -34,4 +41,11 @@ steps: backend_options: kubernetes: serviceAccountName: default + resources: + requests: + memory: 128Mi + cpu: 100m + limits: + memory: 512Mi + cpu: 500m depends_on: [build-rpms, show-rpms] diff --git a/.woodpecker/deploy-almalinux9.yaml b/.woodpecker/deploy-almalinux9.yaml index 28779bf..a11c57a 100644 --- a/.woodpecker/deploy-almalinux9.yaml +++ b/.woodpecker/deploy-almalinux9.yaml @@ -14,6 +14,13 @@ steps: backend_options: kubernetes: serviceAccountName: default + resources: + requests: + memory: 512Mi + cpu: 1 + limits: + memory: 2Gi + cpu: 2 - name: show-rpms image: git.unkin.net/unkin/almalinux9-base:latest @@ -34,4 +41,11 @@ steps: backend_options: kubernetes: serviceAccountName: default + resources: + requests: + memory: 128Mi + cpu: 100m + limits: + memory: 512Mi + cpu: 500m depends_on: [build-rpms, show-rpms] -- 2.47.3