Merge pull request #27494 from SergeyKanzhelev/revert-25733-patch-1

Revert "update container-lifecycle-hooks.md for third hook handler i,.e. TCP"
pull/27464/head
Kubernetes Prow Robot 2021-04-09 22:49:09 -07:00 committed by GitHub
commit c2f183b357
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -50,11 +50,10 @@ A more detailed description of the termination behavior can be found in
### Hook handler implementations
Containers can access a hook by implementing and registering a handler for that hook.
There are three types of hook handlers that can be implemented for Containers:
There are two types of hook handlers that can be implemented for Containers:
* Exec - Executes a specific command, such as `pre-stop.sh`, inside the cgroups and namespaces of the Container.
Resources consumed by the command are counted against the Container.
* TCP - Opens a TCP connecton against a specific port on the Container.
* HTTP - Executes an HTTP request against a specific endpoint on the Container.
### Hook handler execution