We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3e85a1b + adc4dd4 commit 061749eCopy full SHA for 061749e
content/zh/docs/tasks/configure-pod-container/attach-handler-lifecycle-event.md
@@ -15,11 +15,11 @@ weight: 140
15
This page shows how to attach handlers to Container lifecycle events. Kubernetes supports
16
the postStart and preStop events. Kubernetes sends the postStart event immediately
17
after a Container is started, and it sends the preStop event immediately before the
18
-Container is terminated.
+Container is terminated.A Container may specify one handler per event.
19
-->
20
这个页面将演示如何为容器的生命周期事件挂接处理函数。Kubernetes 支持 postStart 和 preStop 事件。
21
当一个容器启动后,Kubernetes 将立即发送 postStart 事件;在容器被终结之前,
22
-Kubernetes 将发送一个 preStop 事件。
+Kubernetes 将发送一个 preStop 事件。容器可以为每个事件指定一个处理程序。
23
24
## {{% heading "prerequisites" %}}
25
0 commit comments