Merge pull request #84316 from yutedz/graceful-del-note

Add note on the applicability of --grace-period flag
This commit is contained in:
Kubernetes Prow Robot 2019-10-25 09:54:03 -07:00 committed by GitHub
commit f440d61d7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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