Skip to content

Commit 10ebb11

Browse files
author
Weiping Cai
committed
clarify the execution contexts of hook handlers with different action types are different
Signed-off-by: Weiping Cai <[email protected]>
1 parent 377ca1f commit 10ebb11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ Resources consumed by the command are counted against the Container.
5656
### Hook handler execution
5757

5858
When a Container lifecycle management hook is called,
59-
the Kubernetes management system executes the handler in the Container registered for that hook. 
59+
the Kubernetes management system execute the handler according to the hook action,
60+
`exec` and `tcpSocket` are executed in the container, and `httpGet` is executed by the kubelet process.
6061

6162
Hook handler calls are synchronous within the context of the Pod containing the Container.
6263
This means that for a `PostStart` hook,

0 commit comments

Comments
 (0)