Skip to content

Commit a1d3342

Browse files
committed
feat(priority-classes): setup
Signed-off-by: Nicolas Lamirault <[email protected]>
1 parent 1a092e2 commit a1d3342

File tree

3 files changed

+59
-0
lines changed

3 files changed

+59
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# SPDX-FileCopyrightText: Copyright (C) Nicolas Lamirault <[email protected]>
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
---
5+
apiVersion: v2
6+
type: application
7+
name: scheduling
8+
version: 1.0.0
9+
dependencies:
10+
- name: priority-classes
11+
repository: oci://ghcr.io/portefaix/charts
12+
version: v1.0.0
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# SPDX-FileCopyrightText: Copyright (C) Nicolas Lamirault <[email protected]>
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
---
5+
priority-classes:
6+
priorityClasses:
7+
- name: system-cluster-critical
8+
description: "Kubernetes control plane components only"
9+
globalDefault: false
10+
preemptionPolicy: PreemptLowerPriority
11+
value: 1900000
12+
- name: platform-critical
13+
description: "Critical platform components such as observability, networking, and security "
14+
globalDefault: false
15+
preemptionPolicy: PreemptLowerPriority
16+
value: 1500000
17+
- name: data-plane-critical
18+
description: "Data pipeline components"
19+
globalDefault: false
20+
preemptionPolicy: PreemptLowerPriority
21+
value: 1000000
22+
- name: app-high
23+
description: High-priority application workloads
24+
globalDefault: false
25+
preemptionPolicy: PreemptLowerPriority
26+
value: 40000
27+
- name: app-medium
28+
description: Default priority for standard applications and internal services
29+
globalDefault: true
30+
preemptionPolicy: PreemptLowerPriority
31+
value: 30000
32+
- name: app-low
33+
description: Low-priority workloads such as batch jobs, background tasks, or staging environments
34+
globalDefault: false
35+
preemptionPolicy: PreemptLowerPriority
36+
value: 20000
37+
- name: app-spot
38+
description: Opportunistic or best-effort workloads
39+
globalDefault: false
40+
preemptionPolicy: PreemptLowerPriority
41+
value: 10000
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# SPDX-FileCopyrightText: Copyright (C) Nicolas Lamirault <[email protected]>
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
---
5+
priority-classes:
6+
priorityClasses: []

0 commit comments

Comments
 (0)