From bd3aa560bc24e7b6cc07fa99a346f958370dc689 Mon Sep 17 00:00:00 2001 From: Suraj Deshmukh Date: Tue, 17 Oct 2017 23:35:49 +0530 Subject: [PATCH] change the description of pod state on prestop hook (#5938) --- docs/concepts/containers/container-lifecycle-hooks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/concepts/containers/container-lifecycle-hooks.md b/docs/concepts/containers/container-lifecycle-hooks.md index 3221c2d5eb..d1d37d593a 100644 --- a/docs/concepts/containers/container-lifecycle-hooks.md +++ b/docs/concepts/containers/container-lifecycle-hooks.md @@ -65,7 +65,7 @@ the Container cannot reach a `running` state. The behavior is similar for a `PreStop` hook. If the hook hangs during execution, -the Pod phase stays in a `running` state and never reaches `failed`. +the Pod phase stays in a `Terminating` state and is killed after `terminationGracePeriodSeconds` of pod ends. If a `PostStart` or `PreStop` hook fails, it kills the Container.