Merge pull request #25700 from devincd/master

Update container-lifecycle-hooks.md
This commit is contained in:
Kubernetes Prow Robot
2021-01-21 19:05:26 -08:00
committed by GitHub
@@ -57,7 +57,7 @@ Resources consumed by the command are counted against the Container.
When a Container lifecycle management hook is called, When a Container lifecycle management hook is called,
the Kubernetes management system execute the handler according to the hook action, 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.
Hook handler calls are synchronous within the context of the Pod containing the Container. Hook handler calls are synchronous within the context of the Pod containing the Container.
This means that for a `PostStart` hook, This means that for a `PostStart` hook,