-
Notifications
You must be signed in to change notification settings - Fork 79
Expand file tree
/
Copy path07-workload-priority-classes.yaml
More file actions
33 lines (27 loc) · 1.44 KB
/
07-workload-priority-classes.yaml
File metadata and controls
33 lines (27 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
apiVersion: kueue.x-k8s.io/v1beta1
kind: WorkloadPriorityClass
metadata:
name: human-critical
description: "Use for critical human critical workloads like research on disease or natural disaster avoidance"
preemptionPolicy: Never # set to prevent pods of this priorityClass from being preempted to make space for other pods
value: 1000000 # 1M out of 1B, higher is better
globalDefault: false # if true all pods get this value instead of the default 0. Only 1 priorityClass in a cluster can be default
---
apiVersion: kueue.x-k8s.io/v1beta1
kind: WorkloadPriorityClass
metadata:
name: business-impacting
description: "Use for business critical impacting workloads"
#preemptionPolicy: Never # set to prevent pods of this priorityClass from being preempted to make space for other pods
value: 1000 # 1M out of 1B, higher is better
globalDefault: false # if true all pods get this value instead of the default 0. Only 1 priorityClass in a cluster can be default
---
apiVersion: kueue.x-k8s.io/v1beta1
kind: WorkloadPriorityClass
metadata:
name: long-term-research
description: "Use for long term research processes like extraterrestiral research"
#preemptionPolicy: Never # set to prevent pods of this priorityClass from being preempted to make space for other pods
value: 1 # 1M out of 1B, higher is better
globalDefault: false # if true all pods get this value instead of the default 0. Only 1 priorityClass in a cluster can be default