Update container-lifecycle-hooks.md

pull/25700/head
devincd 2020-12-18 15:13:46 +08:00 committed by GitHub
parent 6349195338
commit d52b0f58e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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,