K8S集群怎么强制删除Pod

如果集群有Pod正常无法删除可以强制删除

# kubectl delete pod  redis-9f75fff8f-ms5tq --grace-period=0 --force -n namespace
warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely.
pod "redis-9f75fff8f-ms5tq" force deleted
posted @ 2025-11-18 10:00  minseo  阅读(8)  评论(0)    收藏  举报