File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed
reference/command-line-tools-reference Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -534,10 +534,18 @@ next priority class value range.
534
534
If this feature is enabled and no configuration is provided, then no ordering
535
535
action will be taken.
536
536
537
- Using this feature, requires enabling the
538
- ` GracefulNodeShutdownBasedOnPodPriority` feature gate, and setting the kubelet
539
- config's `ShutdownGracePeriodByPodPriority` to the desired configuration
540
- containing the pod priority class values and their respective shutdown periods.
537
+ Using this feature requires enabling the `GracefulNodeShutdownBasedOnPodPriority`
538
+ [feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
539
+ , and setting `ShutdownGracePeriodByPodPriority` in the
540
+ [kubelet config](/docs/reference/config-api/kubelet-config.v1beta1/)
541
+ to the desired configuration containing the pod priority class values and
542
+ their respective shutdown periods.
543
+
544
+ {{< note >}}
545
+ The ability to take Pod priority into account during graceful node shutdown was introduced
546
+ as an Alpha feature in Kubernetes v1.23. In Kubernetes {{< skew currentVersion >}}
547
+ the feature is Beta and is enabled by default.
548
+ {{< /note >}}
541
549
542
550
Metrics `graceful_shutdown_start_time_seconds` and `graceful_shutdown_end_time_seconds`
543
551
are emitted under the kubelet subsystem to monitor node shutdowns.
Original file line number Diff line number Diff line change @@ -112,7 +112,8 @@ different Kubernetes components.
112
112
| ` ExperimentalHostUserNamespaceDefaulting ` | ` false ` | Beta | 1.5 | |
113
113
| ` GracefulNodeShutdown ` | ` false ` | Alpha | 1.20 | 1.20 |
114
114
| ` GracefulNodeShutdown ` | ` true ` | Beta | 1.21 | |
115
- | ` GracefulNodeShutdownBasedOnPodPriority ` | ` false ` | Alpha | 1.23 | |
115
+ | ` GracefulNodeShutdownBasedOnPodPriority ` | ` false ` | Alpha | 1.23 | 1.23 |
116
+ | ` GracefulNodeShutdownBasedOnPodPriority ` | ` true ` | Beta | 1.24 | |
116
117
| ` GRPCContainerProbe ` | ` false ` | Alpha | 1.23 | 1.23 |
117
118
| ` GRPCContainerProbe ` | ` true ` | Beta | 1.24 | |
118
119
| ` HonorPVReclaimPolicy ` | ` false ` | Alpha | 1.23 | |
You can’t perform that action at this time.
0 commit comments