From c491ec7b8ac0e765e7241bafe15f49b492bc3b6c Mon Sep 17 00:00:00 2001 From: ydFu Date: Sat, 23 Jan 2021 00:03:58 +0800 Subject: [PATCH] Update container-lifecycle-hooks.md * sync with english version in container-lifecycle-hooks.md Signed-off-by: ydFu --- .../zh/docs/concepts/containers/container-lifecycle-hooks.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/zh/docs/concepts/containers/container-lifecycle-hooks.md b/content/zh/docs/concepts/containers/container-lifecycle-hooks.md index 07798a09d1e81..1f2d2b25e7a45 100644 --- a/content/zh/docs/concepts/containers/container-lifecycle-hooks.md +++ b/content/zh/docs/concepts/containers/container-lifecycle-hooks.md @@ -103,12 +103,12 @@ Resources consumed by the command are counted against the Container. When a Container lifecycle management hook is called, the Kubernetes management system execute the handler according to the hook action, -`exec` and `tcpSocket` are executed in the container, and `httpGet` is executed by the kubelet process. +`httpGet` and `tcpSocket` are executed by the kubelet process, and `exec` is executed in the container. --> ### 回调处理程序执行 当调用容器生命周期管理回调时,Kubernetes 管理系统根据回调动作执行其处理程序, -`exec` 和 `tcpSocket` 在容器内执行,而 `httpGet` 则由 kubelet 进程执行。 +`httpGet` 和 `tcpSocket` 在kubelet 进程执行,而 `exec` 则由容器内执行 。