Skip to content

Commit 1a3843b

Browse files
authored
Merge pull request #32831 from tengqm/GracefulNodeShutdownBasedOnPodPriority-Beta
GracefulNodeShutdownBasedOnPodPriority is Beta in 1.24
2 parents 62b8dc7 + ee95a48 commit 1a3843b

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
@@ -584,10 +584,18 @@ next priority class value range.
584584
If this feature is enabled and no configuration is provided, then no ordering
585585
action will be taken.
586586

587-
Using this feature, requires enabling the
588-
`GracefulNodeShutdownBasedOnPodPriority` feature gate, and setting the kubelet
589-
config's `ShutdownGracePeriodByPodPriority` to the desired configuration
590-
containing the pod priority class values and their respective shutdown periods.
587+
Using this feature requires enabling the `GracefulNodeShutdownBasedOnPodPriority`
588+
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
589+
, and setting `ShutdownGracePeriodByPodPriority` in the
590+
[kubelet config](/docs/reference/config-api/kubelet-config.v1beta1/)
591+
to the desired configuration containing the pod priority class values and
592+
their respective shutdown periods.
593+
594+
{{< note >}}
595+
The ability to take Pod priority into account during graceful node shutdown was introduced
596+
as an Alpha feature in Kubernetes v1.23. In Kubernetes {{< skew currentVersion >}}
597+
the feature is Beta and is enabled by default.
598+
{{< /note >}}
591599

592600
Metrics `graceful_shutdown_start_time_seconds` and `graceful_shutdown_end_time_seconds`
593601
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
@@ -111,7 +111,8 @@ different Kubernetes components.
111111
| `ExperimentalHostUserNamespaceDefaulting` | `false` | Beta | 1.5 | |
112112
| `GracefulNodeShutdown` | `false` | Alpha | 1.20 | 1.20 |
113113
| `GracefulNodeShutdown` | `true` | Beta | 1.21 | |
114-
| `GracefulNodeShutdownBasedOnPodPriority` | `false` | Alpha | 1.23 | |
114+
| `GracefulNodeShutdownBasedOnPodPriority` | `false` | Alpha | 1.23 | 1.23 |
115+
| `GracefulNodeShutdownBasedOnPodPriority` | `true` | Beta | 1.24 | |
115116
| `GRPCContainerProbe` | `false` | Alpha | 1.23 | 1.23 |
116117
| `GRPCContainerProbe` | `true` | Beta | 1.24 | |
117118
| `HonorPVReclaimPolicy` | `false` | Alpha | 1.23 | |

0 commit comments

Comments
 (0)