You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/nodes-pods-priority-about.adoc
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ When you use the Pod Priority and Preemption feature, the scheduler orders pendi
12
12
13
13
You can assign pods a priority class, which is a non-namespaced object that defines a mapping from a name to the integer value of the priority. The higher the value, the higher the priority.
14
14
15
-
A priority class object can take any 32-bit integer value smaller than or equal to 1000000000 (one billion). Reserve numbers larger than one billion for critical pods that should not be preempted or evicted. By default, {product-title} has two reserved priority classes for critical system pods to have guaranteed scheduling.
15
+
A priority class object can take any 32-bit integer value smaller than or equal to 1000000000 (one billion). Reserve numbers larger than or equal to one billion for critical pods that must not be preempted or evicted. By default, {product-title} has two reserved priority classes for critical system pods to have guaranteed scheduling.
16
16
17
17
[source,terminal]
18
18
----
@@ -23,9 +23,10 @@ $ oc get priorityclasses
23
23
[source,terminal]
24
24
----
25
25
NAME VALUE GLOBAL-DEFAULT AGE
26
-
cluster-logging 1000000 false 29s
27
-
system-cluster-critical 2000000000 false 72m
28
26
system-node-critical 2000001000 false 72m
27
+
system-cluster-critical 2000000000 false 72m
28
+
openshift-user-critical 1000000000 false 3d13h
29
+
cluster-logging 1000000 false 29s
29
30
----
30
31
31
32
* *system-node-critical* - This priority class has a value of 2000001000 and is used for all pods that should never be evicted from a node. Examples of pods that have this priority class are `sdn-ovs`, `sdn`, and so forth. A number of critical components include the `system-node-critical` priority class by default, for example:
@@ -44,6 +45,8 @@ A number of critical components include the `system-cluster-critical` priority c
44
45
** metrics-server
45
46
** descheduler
46
47
48
+
* *openshift-user-critical* - You can use the `priorityClassName` field with important pods that cannot bind their resource consumption and do not have predictable resource consumption behavior. Prometheus pods under the `openshift-monitoring` and `openshift-user-workload-monitoring` namespaces use the `openshift-user-critical` `priorityClassName`. Monitoring workloads use `system-critical` as their first `priorityClass`, but this causes problems when monitoring uses excessive memory and the nodes cannot evict them. As a result, monitoring drops priority to give the scheduler flexibility, moving heavy workloads around to keep critical nodes operating.
49
+
47
50
* *cluster-logging* - This priority is used by Fluentd to make sure Fluentd pods are scheduled to nodes over other apps.
0 commit comments