Skip to content

Commit 7617c89

Browse files
authored
Merge pull request #23699 from Cweiping/feature/clairly_exec_action
clarify the execution contexts of hook handlers with different action
2 parents 7a7b678 + 10ebb11 commit 7617c89

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)