This repository was archived by the owner on Apr 1, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ const Env = z.object({
8181 KUBERNETES_FORCE_ENABLED : BoolEnv . default ( false ) ,
8282 KUBERNETES_NAMESPACE : z . string ( ) . default ( "default" ) ,
8383 KUBERNETES_WORKER_NODETYPE_LABEL : z . string ( ) . default ( "v4-worker" ) ,
84+ KUBERNETES_WORKER_PRIORITY_CLASS_NAME : z . string ( ) . optional ( ) ,
8485 KUBERNETES_IMAGE_PULL_SECRETS : z . string ( ) . optional ( ) , // csv
8586 KUBERNETES_EPHEMERAL_STORAGE_SIZE_LIMIT : z . string ( ) . default ( "10Gi" ) ,
8687 KUBERNETES_EPHEMERAL_STORAGE_SIZE_REQUEST : z . string ( ) . default ( "2Gi" ) ,
@@ -111,7 +112,6 @@ const Env = z.object({
111112 KUBERNETES_MEMORY_OVERHEAD_GB : z . coerce . number ( ) . min ( 0 ) . optional ( ) , // Optional memory overhead to add to the limit in GB
112113 KUBERNETES_SCHEDULER_NAME : z . string ( ) . optional ( ) , // Custom scheduler name for pods
113114 KUBERNETES_LARGE_MACHINE_POOL_LABEL : z . string ( ) . optional ( ) , // if set, large-* presets affinity for machinepool=<value>
114- KUBERNETES_POD_PRIORITY_CLASS_NAME : z . string ( ) . optional ( ) , // Priority class name for task run pods
115115
116116 // Placement tags settings
117117 PLACEMENT_TAGS_ENABLED : BoolEnv . default ( false ) ,
Original file line number Diff line number Diff line change @@ -320,9 +320,9 @@ export class KubernetesWorkloadManager implements WorkloadManager {
320320 } ,
321321 }
322322 : { } ) ,
323- ...( env . KUBERNETES_POD_PRIORITY_CLASS_NAME
323+ ...( env . KUBERNETES_WORKER_PRIORITY_CLASS_NAME
324324 ? {
325- priorityClassName : env . KUBERNETES_POD_PRIORITY_CLASS_NAME ,
325+ priorityClassName : env . KUBERNETES_WORKER_PRIORITY_CLASS_NAME ,
326326 }
327327 : { } ) ,
328328 } ;
You can’t perform that action at this time.
0 commit comments