Skip to content

Commit 6f6ffdf

Browse files
authored
Merge pull request #26005 from mburke5678/BZ-1879382
Documentation gives example of deprecated priorityClass configuration apiVersion
2 parents 7c10292 + e2dc3ba commit 6f6ffdf

File tree

4 files changed

+5
-50
lines changed

4 files changed

+5
-50
lines changed

modules/nodes-pods-priority-about.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ $ oc get priorityclasses
2222
.Example output
2323
[source,terminal]
2424
----
25-
NAME CREATED AT
26-
cluster-logging 2019-03-13T14:45:12Z
27-
system-cluster-critical 2019-03-13T14:01:10Z
28-
system-node-critical 2019-03-13T14:01:10Z
25+
NAME VALUE GLOBAL-DEFAULT AGE
26+
cluster-logging 1000000 false 29s
27+
system-cluster-critical 2000000000 false 72m
28+
system-node-critical 2000001000 false 72m
2929
----
3030

3131
* *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:

modules/nodes-pods-priority-configuring.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ You apply pod priority and preemption by creating a priority class object and as
1111
.Sample priority class object
1212
[source,yaml]
1313
----
14-
apiVersion: scheduling.k8s.io/v1beta1
14+
apiVersion: scheduling.k8s.io/v1
1515
kind: PriorityClass
1616
metadata:
1717
name: high-priority <1>

modules/nodes-pods-priority-disabling.adoc

Lines changed: 0 additions & 43 deletions
This file was deleted.

nodes/pods/nodes-pods-priority.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Pod priority also affects the scheduling order of pods and out-of-resource evict
1111

1212
To use priority and preemption, you create priority classes that define the relative weight of your pods. Then, reference a priority class in the pod specification to apply that weight for scheduling.
1313

14-
Preemption is controlled by the `disablePreemption` parameter in the scheduler configuration file, which is set to `false` by default.
1514

1615

1716
// The following include statements pull in the module files that comprise
@@ -25,5 +24,4 @@ include::modules/nodes-pods-priority-preempt-about.adoc[leveloffset=+1]
2524

2625
include::modules/nodes-pods-priority-configuring.adoc[leveloffset=+1]
2726

28-
include::modules/nodes-pods-priority-disabling.adoc[leveloffset=+1]
2927

0 commit comments

Comments
 (0)