added warning about indefinitely running resources

A suggestion to 

https://github.com/kubernetes/website/issues/37157

Just mention the warning from kubectl when trying to force terminate a pod.
pull/37158/head
Mandraenke 2022-10-05 09:21:52 +02:00 committed by GitHub
parent 325f7d0eab
commit 1c5d75b4d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -499,6 +499,10 @@ removes the Pod in the API immediately so a new Pod can be created with the same
name. On the node, Pods that are set to terminate immediately will still be given
a small grace period before being force killed.
{{< caution >}}
Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely.
{{< /caution >}}
If you need to force-delete Pods that are part of a StatefulSet, refer to the task
documentation for
[deleting Pods from a StatefulSet](/docs/tasks/run-application/force-delete-stateful-set-pod/).