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({
50
50
// Kubernetes specific settings
51
51
KUBERNETES_FORCE_ENABLED : BoolEnv . default ( false ) ,
52
52
KUBERNETES_NAMESPACE : z . string ( ) . default ( "default" ) ,
53
+ KUBERNETES_WORKER_NODETYPE_LABEL : z . string ( ) . default ( "v4-worker" ) ,
53
54
EPHEMERAL_STORAGE_SIZE_LIMIT : z . string ( ) . default ( "10Gi" ) ,
54
55
EPHEMERAL_STORAGE_SIZE_REQUEST : z . string ( ) . default ( "2Gi" ) ,
55
56
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ export class KubernetesWorkloadManager implements WorkloadManager {
217
217
automountServiceAccountToken : false ,
218
218
imagePullSecrets : this . getImagePullSecrets ( ) ,
219
219
nodeSelector : {
220
- nodetype : "worker-re2" ,
220
+ nodetype : env . KUBERNETES_WORKER_NODETYPE_LABEL ,
221
221
} ,
222
222
} ;
223
223
}
You can’t perform that action at this time.
0 commit comments