Add note on the applicability of --grace-period

Kubernetes-commit: abc9a9f8369c220ee3a1de2e1917edef3d7d680e
This commit is contained in:
Ted Yu 2019-10-24 16:07:02 -07:00 committed by Kubernetes Publisher
parent 4634ffdafd
commit 587c053a55
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ var (
hosting a pod is down or cannot reach the API server, termination may take significantly longer hosting a pod is down or cannot reach the API server, termination may take significantly longer
than the grace period. To force delete a resource, you must pass a grace period of 0 and specify than the grace period. To force delete a resource, you must pass a grace period of 0 and specify
the --force flag. the --force flag.
Note: only a subset of resources support graceful deletion. In absence of the support, --grace-period is ignored.
IMPORTANT: Force deleting pods does not wait for confirmation that the pod's processes have been IMPORTANT: Force deleting pods does not wait for confirmation that the pod's processes have been
terminated, which can leave those processes running until the node detects the deletion and terminated, which can leave those processes running until the node detects the deletion and