This repository was archived by the owner on Apr 1, 2026. It is now read-only.
Commit 4227137
committed
feat(supervisor): add Kubernetes worker pod priority class support
Add KUBERNETES_POD_PRIORITY_CLASS_NAME environment variable to allow
configuring a priority class for task run pods in Kubernetes environments.
This addresses pod preemption issues in resource-constrained clusters,
particularly in GKE Autopilot where low-priority pods can be preempted
by system pods during scale-up operations.
Fixes: Pod preemption causing SIGTERM failures during cluster scale-up
Related: GKE Autopilot resource contention1 parent 279102c commit 4227137
2 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
323 | 328 | | |
324 | 329 | | |
325 | 330 | | |
| |||
0 commit comments