Skip to content

Commit 45927a2

Browse files
authored
Merge pull request #49074 from my-git9/pp-4620
[zh-cn] sync container-lifecycle-hooks.md
2 parents 8bccb4a + 3a0c306 commit 45927a2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

content/zh-cn/docs/concepts/containers/container-lifecycle-hooks.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,14 @@ Resources consumed by the command are counted against the Container.
108108
这是由 `PodLifecycleSleepAction`
109109
[特性门控](/zh-cn/docs/reference/command-line-tools-reference/feature-gates/)默认启用的 Beta 级特性。
110110

111+
{{< note >}}
112+
<!--
113+
Enable the `PodLifecycleSleepActionAllowZero` feature gate if you want to set a sleep duration of zero seconds (effectively a no-op) for your Sleep lifecycle hooks.
114+
-->
115+
如果你想为 Sleep 生命周期回调设置零秒的睡眠持续时间(实际上是一个 no-op),
116+
可以启用 `PodLifecycleSleepActionAllowZero` 特性门控。
117+
{{< /note >}}
118+
111119
<!--
112120
### Hook handler execution
113121

0 commit comments

Comments
 (0)