From 1b781e0885f15ad7e3701289439db097bcb879b7 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Tue, 26 May 2026 23:58:57 +1000 Subject: [PATCH] feat(woodpecker): set workflow pod priority class to power (#175) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Sets `WOODPECKER_BACKEND_K8S_PRIORITY_CLASS: power` on the Woodpecker agent so all CI pipeline pods are scheduled with the `power` PriorityClass (value 100, preemptionPolicy: Never). This means pipeline pods can be evicted when the cluster is under pressure but won't preempt other workloads. ## Dependency Requires the `power` PriorityClass to exist on the cluster — deploy PR #174 (priority-classes app) first. ## Test plan - Trigger a pipeline run and confirm pods are created with `priorityClassName: power` - `kubectl get pod -n woodpecker -o jsonpath='{.items[*].spec.priorityClassName}'` Reviewed-on: https://git.unkin.net/unkin/argocd-apps/pulls/175 --- apps/overlays/au-syd1/woodpecker/values.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/overlays/au-syd1/woodpecker/values.yaml b/apps/overlays/au-syd1/woodpecker/values.yaml index f0a5575..c89853b 100644 --- a/apps/overlays/au-syd1/woodpecker/values.yaml +++ b/apps/overlays/au-syd1/woodpecker/values.yaml @@ -2,6 +2,7 @@ agent: replicaCount: 3 env: WOODPECKER_MAX_WORKFLOWS: "8" + WOODPECKER_BACKEND_K8S_PRIORITY_CLASS: power WOODPECKER_BACKEND_K8S_STORAGE_CLASS: cephrbd-fast-delete WOODPECKER_BACKEND_K8S_VOLUME_SIZE: 10G WOODPECKER_BACKEND_K8S_STORAGE_RWX: false