GracefulNodeShutdownBasedOnPodPriority is Beta in 1.24

This commit is contained in:
Qiming Teng
2022-04-09 11:38:13 +08:00
parent 065ed76148
commit ee95a4831b
2 changed files with 14 additions and 5 deletions
+12 -4
View File
@@ -534,10 +534,18 @@ next priority class value range.
If this feature is enabled and no configuration is provided, then no ordering If this feature is enabled and no configuration is provided, then no ordering
action will be taken. action will be taken.
Using this feature, requires enabling the Using this feature requires enabling the `GracefulNodeShutdownBasedOnPodPriority`
`GracefulNodeShutdownBasedOnPodPriority` feature gate, and setting the kubelet [feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
config's `ShutdownGracePeriodByPodPriority` to the desired configuration , and setting `ShutdownGracePeriodByPodPriority` in the
containing the pod priority class values and their respective shutdown periods. [kubelet config](/docs/reference/config-api/kubelet-config.v1beta1/)
to the desired configuration containing the pod priority class values and
their respective shutdown periods.
{{< note >}}
The ability to take Pod priority into account during graceful node shutdown was introduced
as an Alpha feature in Kubernetes v1.23. In Kubernetes {{< skew currentVersion >}}
the feature is Beta and is enabled by default.
{{< /note >}}
Metrics `graceful_shutdown_start_time_seconds` and `graceful_shutdown_end_time_seconds` Metrics `graceful_shutdown_start_time_seconds` and `graceful_shutdown_end_time_seconds`
are emitted under the kubelet subsystem to monitor node shutdowns. are emitted under the kubelet subsystem to monitor node shutdowns.
@@ -112,7 +112,8 @@ different Kubernetes components.
| `ExperimentalHostUserNamespaceDefaulting` | `false` | Beta | 1.5 | | | `ExperimentalHostUserNamespaceDefaulting` | `false` | Beta | 1.5 | |
| `GracefulNodeShutdown` | `false` | Alpha | 1.20 | 1.20 | | `GracefulNodeShutdown` | `false` | Alpha | 1.20 | 1.20 |
| `GracefulNodeShutdown` | `true` | Beta | 1.21 | | | `GracefulNodeShutdown` | `true` | Beta | 1.21 | |
| `GracefulNodeShutdownBasedOnPodPriority` | `false` | Alpha | 1.23 | | | `GracefulNodeShutdownBasedOnPodPriority` | `false` | Alpha | 1.23 | 1.23 |
| `GracefulNodeShutdownBasedOnPodPriority` | `true` | Beta | 1.24 | |
| `GRPCContainerProbe` | `false` | Alpha | 1.23 | 1.23 | | `GRPCContainerProbe` | `false` | Alpha | 1.23 | 1.23 |
| `GRPCContainerProbe` | `true` | Beta | 1.24 | | | `GRPCContainerProbe` | `true` | Beta | 1.24 | |
| `HonorPVReclaimPolicy` | `false` | Alpha | 1.23 | | | `HonorPVReclaimPolicy` | `false` | Alpha | 1.23 | |