Skip to content

Commit f768f14

Browse files
committed
Remove stale docs about disabling the PodPriority feature.
As of 1.18 the PodPriority feature cannot be disabled, so update the docs to reflect this.
1 parent ceecb16 commit f768f14

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

content/en/docs/concepts/configuration/pod-priority-preemption.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,6 @@ Kubernetes already ships with two PriorityClasses:
5151
These are common classes and are used to [ensure that critical components are always scheduled first](/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/).
5252
{{< /note >}}
5353

54-
If you try the feature and then decide to disable it, you must remove the
55-
PodPriority command-line flag or set it to `false`, and then restart the API
56-
server and scheduler. After the feature is disabled, the existing Pods keep
57-
their priority fields, but preemption is disabled, and priority fields are
58-
ignored. If the feature is disabled, you cannot set `priorityClassName` in new
59-
Pods.
60-
6154
## How to disable preemption
6255

6356
{{< caution >}}
@@ -120,7 +113,7 @@ cluster when they should use this PriorityClass.
120113

121114
### Notes about PodPriority and existing clusters
122115

123-
- If you upgrade your existing cluster and enable this feature, the priority
116+
- If you upgrade an existing cluster without this feature, the priority
124117
of your existing Pods is effectively zero.
125118

126119
- Addition of a PriorityClass with `globalDefault` set to `true` does not

0 commit comments

Comments
 (0)