From 6a1b6c16491f74d6ba28633656e60977a13c254e Mon Sep 17 00:00:00 2001 From: AxeZhan Date: Sat, 12 Oct 2024 10:56:30 +0800 Subject: [PATCH] [KEP-3960] - update docs for GA --- .../en/docs/concepts/containers/container-lifecycle-hooks.md | 2 -- .../feature-gates/PodLifecycleSleepAction.md | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/content/en/docs/concepts/containers/container-lifecycle-hooks.md b/content/en/docs/concepts/containers/container-lifecycle-hooks.md index 5c04780d6556f..5bee8d0bfd814 100644 --- a/content/en/docs/concepts/containers/container-lifecycle-hooks.md +++ b/content/en/docs/concepts/containers/container-lifecycle-hooks.md @@ -64,8 +64,6 @@ There are three types of hook handlers that can be implemented for Containers: Resources consumed by the command are counted against the Container. * HTTP - Executes an HTTP request against a specific endpoint on the Container. * Sleep - Pauses the container for a specified duration. - This is a beta-level feature default enabled by the `PodLifecycleSleepAction` - [feature gate](/docs/reference/command-line-tools-reference/feature-gates/). {{< note >}} The beta level `PodLifecycleSleepActionAllowZero` feature gate which is enabled by default from v1.33. diff --git a/content/en/docs/reference/command-line-tools-reference/feature-gates/PodLifecycleSleepAction.md b/content/en/docs/reference/command-line-tools-reference/feature-gates/PodLifecycleSleepAction.md index bb5ede9ce1079..6811072c31a99 100644 --- a/content/en/docs/reference/command-line-tools-reference/feature-gates/PodLifecycleSleepAction.md +++ b/content/en/docs/reference/command-line-tools-reference/feature-gates/PodLifecycleSleepAction.md @@ -13,5 +13,9 @@ stages: - stage: beta defaultValue: true fromVersion: "1.30" + toVersion: "1.33" + - stage: stable + defaultValue: true + fromVersion: "1.34" --- Enables the `sleep` action in Container lifecycle hooks.