Update container-lifecycle-hooks for preStop - removed submodule website (#12498)
The changes are in line with one of the request for documentation update as per PR #55807 wherein it was observed that the preStop hook is not commissioned when the container is already in the terminated or completed state. Braces removed as per the review comment. Multiple commits squashed Braces removed as per the review comment Update as per review, removed etc... and the statement is now cleanerpull/12570/head
parent
6adce91e46
commit
2aba9bd333
|
@ -36,7 +36,7 @@ No parameters are passed to the handler.
|
|||
|
||||
`PreStop`
|
||||
|
||||
This hook is called immediately before a container is terminated.
|
||||
This hook is called immediately before a container is terminated due to an API request or management event such as liveness probe failure, preemption, resource contention and others. A call to the preStop hook fails if the container is already in terminated or completed state.
|
||||
It is blocking, meaning it is synchronous,
|
||||
so it must complete before the call to delete the container can be sent.
|
||||
No parameters are passed to the handler.
|
||||
|
|
Loading…
Reference in New Issue