feat(woodpecker): set workflow pod priority class to power #175
Reference in New Issue
Block a user
Delete Branch "feat-woodpecker-power-priority"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Sets
WOODPECKER_BACKEND_K8S_PRIORITY_CLASS: poweron the Woodpecker agent so all CI pipeline pods are scheduled with thepowerPriorityClass (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
powerPriorityClass to exist on the cluster — deploy PR #174 (priority-classes app) first.Test plan
priorityClassName: powerkubectl get pod -n woodpecker -o jsonpath='{.items[*].spec.priorityClassName}'