Skip to content

Commit c491ec7

Browse files
committed
Update container-lifecycle-hooks.md
* sync with english version in container-lifecycle-hooks.md Signed-off-by: ydFu <[email protected]>
1 parent b0ec53e commit c491ec7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ Resources consumed by the command are counted against the Container.
103103
104104
When a Container lifecycle management hook is called,
105105
the Kubernetes management system execute the handler according to the hook action,
106-
`exec` and `tcpSocket` are executed in the container, and `httpGet` is executed by the kubelet process.
106+
`httpGet` and `tcpSocket` are executed by the kubelet process, and `exec` is executed in the container.
107107
-->
108108
### 回调处理程序执行
109109

110110
当调用容器生命周期管理回调时,Kubernetes 管理系统根据回调动作执行其处理程序,
111-
`exec``tcpSocket` 在容器内执行,而 `httpGet` 则由 kubelet 进程执行
111+
`httpGet``tcpSocket` 在kubelet 进程执行,而 `exec` 则由容器内执行
112112

113113
<!--
114114
Hook handler calls are synchronous within the context of the Pod containing the Container.

0 commit comments

Comments
 (0)