File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ const Env = z.object({
5050 // Kubernetes specific settings
5151 KUBERNETES_FORCE_ENABLED : BoolEnv . default ( false ) ,
5252 KUBERNETES_NAMESPACE : z . string ( ) . default ( "default" ) ,
53+ KUBERNETES_WORKER_NODETYPE_LABEL : z . string ( ) . default ( "v4-worker" ) ,
5354 EPHEMERAL_STORAGE_SIZE_LIMIT : z . string ( ) . default ( "10Gi" ) ,
5455 EPHEMERAL_STORAGE_SIZE_REQUEST : z . string ( ) . default ( "2Gi" ) ,
5556
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ export class KubernetesWorkloadManager implements WorkloadManager {
217217 automountServiceAccountToken : false ,
218218 imagePullSecrets : this . getImagePullSecrets ( ) ,
219219 nodeSelector : {
220- nodetype : "worker-re2" ,
220+ nodetype : env . KUBERNETES_WORKER_NODETYPE_LABEL ,
221221 } ,
222222 } ;
223223 }
You can’t perform that action at this time.
0 commit comments