Add note on the applicability of --grace-period

This commit is contained in:
Ted Yu 2019-10-24 16:07:02 -07:00
parent 3f402534f3
commit abc9a9f836

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