Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7a77c9f

Browse filesBrowse files
committed
fix: renamed env variable
1 parent 0162f86 commit 7a77c9f
Copy full SHA for 7a77c9f

File tree

Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed
Open diff view settings
Collapse file

‎apps/supervisor/src/env.ts‎

Copy file name to clipboardExpand all lines: apps/supervisor/src/env.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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"),
@@ -91,7 +92,6 @@ const Env = z.object({
9192
KUBERNETES_MEMORY_REQUEST_RATIO: z.coerce.number().min(0).max(1).default(1), // Ratio of memory limit, so 1 = 100% of memory limit
9293
KUBERNETES_MEMORY_OVERHEAD_GB: z.coerce.number().min(0).optional(), // Optional memory overhead to add to the limit in GB
9394
KUBERNETES_SCHEDULER_NAME: z.string().optional(), // Custom scheduler name for pods
94-
KUBERNETES_POD_PRIORITY_CLASS_NAME: z.string().optional(), // Priority class name for task run pods
9595

9696
// Placement tags settings
9797
PLACEMENT_TAGS_ENABLED: BoolEnv.default(false),
Collapse file

‎apps/supervisor/src/workloadManager/kubernetes.ts‎

Copy file name to clipboardExpand all lines: apps/supervisor/src/workloadManager/kubernetes.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,9 +286,9 @@ export class KubernetesWorkloadManager implements WorkloadManager {
286286
},
287287
}
288288
: {}),
289-
...(env.KUBERNETES_POD_PRIORITY_CLASS_NAME
289+
...(env.KUBERNETES_WORKER_PRIORITY_CLASS_NAME
290290
? {
291-
priorityClassName: env.KUBERNETES_POD_PRIORITY_CLASS_NAME,
291+
priorityClassName: env.KUBERNETES_WORKER_PRIORITY_CLASS_NAME,
292292
}
293293
: {}),
294294
};

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.