From 036dd680f9a555f9e2142165289c2528fbf01dec Mon Sep 17 00:00:00 2001 From: AxeZhan Date: Thu, 7 Nov 2024 09:17:56 +0800 Subject: [PATCH] Revert "[KEP-3960] - update docs for GA" This reverts commit 563032ef023a9b4f1ada8dd405f348505dac0662. --- .../en/docs/concepts/containers/container-lifecycle-hooks.md | 1 + .../feature-gates/pod-lifecycle-sleep-action.md | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/content/en/docs/concepts/containers/container-lifecycle-hooks.md b/content/en/docs/concepts/containers/container-lifecycle-hooks.md index 66d94c3000cb8..9b6b37263cd6a 100644 --- a/content/en/docs/concepts/containers/container-lifecycle-hooks.md +++ b/content/en/docs/concepts/containers/container-lifecycle-hooks.md @@ -56,6 +56,7 @@ 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/). ### Hook handler execution diff --git a/content/en/docs/reference/command-line-tools-reference/feature-gates/pod-lifecycle-sleep-action.md b/content/en/docs/reference/command-line-tools-reference/feature-gates/pod-lifecycle-sleep-action.md index 5a86f8e0f9dc3..bb5ede9ce1079 100644 --- a/content/en/docs/reference/command-line-tools-reference/feature-gates/pod-lifecycle-sleep-action.md +++ b/content/en/docs/reference/command-line-tools-reference/feature-gates/pod-lifecycle-sleep-action.md @@ -13,9 +13,5 @@ stages: - stage: beta defaultValue: true fromVersion: "1.30" - toVersion: "1.31" - - stage: stable - defaultValue: true - fromVersion: "1.32" --- Enables the `sleep` action in Container lifecycle hooks.