# k8s 강제로 pod 종료시키는 방법

<table border="1" id="bkmrk-perplexity%EC%97%90%EC%84%9C-%EC%83%9D%EC%84%B1%ED%95%9C-ai%EC%9D%B4" style="border-collapse: collapse; width: 100%; height: 59.5938px;"><colgroup><col style="width: 99.8785%;"></col></colgroup><tbody><tr style="height: 29.7969px;"><td style="height: 29.7969px;">[![b17e356d-6977-4206-8c1b-4c9d7be08566.png](http://wiki.igoni.kr/uploads/images/gallery/2026-03/scaled-1680-/b17e356d-6977-4206-8c1b-4c9d7be08566.png)](http://wiki.igoni.kr/uploads/images/gallery/2026-03/b17e356d-6977-4206-8c1b-4c9d7be08566.png)

</td></tr><tr style="height: 29.7969px;"><td class="align-right" style="height: 29.7969px;">perplexity에서 생성한 AI이미지</td></tr></tbody></table>

안녕하세요, 고니 입니다.

kubernetes에서 POD가 삭제되지 않는 경우가 아주 가끔 있어요.

POD lifecycle에 의해 지연되는 경우도 있는가 하면, PV / PVC정보가 남아 있어서 삭제되지 않는 경우가 있는데,

이번에는 단순히 pod 종료하는 방법에 대해서 기술하려고 합니다.

1. 죽지않는 pod 정보 ```shell
    [root@control1 ~]# kubectl get  pod test-68d6bf4d95-zhx55 -n test_user
    NAME                       READY   STATUS        RESTARTS   AGE
    test-68d6bf4d95-zhx55   1/4     Terminating   0          68d
    ```
2. 강제로 pod 삭제 ```shell
    [root@control1 ~]# kubectl delete  pod test-68d6bf4d95-zhx55 -n test_user -grace-period=0 -force
    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 "test-68d6bf4d95-zhx55" force deleted
    ```
3. pod 정보 없는거 확인 ```shell
    [root@control1 ~]# kubectl get  pod test-68d6bf4d95-zhx55 -n test_user
    Error from server (NotFound): pods "test-68d6bf4d95-zhx55" not found
    ```