Skip to content

Commit ee95a48

Browse files
committed
GracefulNodeShutdownBasedOnPodPriority is Beta in 1.24
1 parent 065ed76 commit ee95a48

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

content/en/docs/concepts/architecture/nodes.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -534,10 +534,18 @@ next priority class value range.
534534
If this feature is enabled and no configuration is provided, then no ordering
535535
action will be taken.
536536

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 >}}
541549

542550
Metrics `graceful_shutdown_start_time_seconds` and `graceful_shutdown_end_time_seconds`
543551
are emitted under the kubelet subsystem to monitor node shutdowns.

content/en/docs/reference/command-line-tools-reference/feature-gates.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ different Kubernetes components.
112112
| `ExperimentalHostUserNamespaceDefaulting` | `false` | Beta | 1.5 | |
113113
| `GracefulNodeShutdown` | `false` | Alpha | 1.20 | 1.20 |
114114
| `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 | |
116117
| `GRPCContainerProbe` | `false` | Alpha | 1.23 | 1.23 |
117118
| `GRPCContainerProbe` | `true` | Beta | 1.24 | |
118119
| `HonorPVReclaimPolicy` | `false` | Alpha | 1.23 | |

0 commit comments

Comments
 (0)