Skip to content

Commit 061749e

Browse files
authored
Merge pull request #25556 from yuandongx/patch-1
[zh]Sync En, "State that no more than one handler is allowed per lifecycl…
2 parents 3e85a1b + adc4dd4 commit 061749e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/zh/docs/tasks/configure-pod-container/attach-handler-lifecycle-event.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ weight: 140
1515
This page shows how to attach handlers to Container lifecycle events. Kubernetes supports
1616
the postStart and preStop events. Kubernetes sends the postStart event immediately
1717
after a Container is started, and it sends the preStop event immediately before the
18-
Container is terminated.
18+
Container is terminated.A Container may specify one handler per event.
1919
-->
2020
这个页面将演示如何为容器的生命周期事件挂接处理函数。Kubernetes 支持 postStart 和 preStop 事件。
2121
当一个容器启动后,Kubernetes 将立即发送 postStart 事件;在容器被终结之前,
22-
Kubernetes 将发送一个 preStop 事件。
22+
Kubernetes 将发送一个 preStop 事件。容器可以为每个事件指定一个处理程序。
2323

2424
## {{% heading "prerequisites" %}}
2525

0 commit comments

Comments
 (0)