Notice
Recent Posts
Recent Comments
Tags
- openldap
- 진상부모_물러가라
- 우파푸른하늘80만이벤트
- 참교육
- RHEL8
- perplexity
- Network
- Storage
- pod
- mgmtip
- 우파푸른하늘
- 웰카
- dell
- port description
- Auth
- Path
- Netflix
- CentOS
- CEP
- n1548
- drbd
- mariadb
- web&was apche htaccess
- unix_socket
- data-door
- wildfly jboss
- maxscale
- MotD
- Galera Cluster
- vmware
- admin port
- snmp
- banner
- n15148
- etcd
- docker
- Kubernetes
반응형
250x250
분갈이하는 루트 :-)의 기록
k8s 강제로 pod 종료시키는 방법 본문
728x90
반응형
안녕하세요, 고니 입니다.
kubernetes에서 POD가 삭제되지 않는 경우가 아주 가끔 있어요.
POD lifecycle에 의해 지연되는 경우도 있는가 하면, PV / PVC정보가 남아 있어서 삭제되지 않는 경우가 있는데,
이번에는 단순히 pod 종료하는 방법에 대해서 기술하려고 합니다.
![]() |
| perplexity에서 생성한 AI이미지 |
- 죽지않는 pod 정보
[root@control1 ~]# kubectl get pod test-68d6bf4d95-zhx55 -n test_user NAME READY STATUS RESTARTS AGE test-68d6bf4d95-zhx55 1/4 Terminating 0 68d - 강제로 pod 삭제
[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 - pod 정보 없는거 확인
[root@control1 ~]# kubectl get pod test-68d6bf4d95-zhx55 -n test_user Error from server (NotFound): pods "test-68d6bf4d95-zhx55" not found
reference
http://wiki.igoni.kr/books/3-containerkubernetes/page/k8s-pod
k8s 강제로 pod 종료시키는 방법 | 이곤아이
perplexity에서 생성한 AI이미지 안녕하세요, 고니 입니다. kubernetes에서 POD가...
wiki.igoni.kr
728x90
반응형
'컨테이너&가상화' 카테고리의 다른 글
| VMware GuestOS에서 마우스 5버튼 작동안될 경우 조치방법 (0) | 2022.08.07 |
|---|---|
| kubernetes-Istio구성정보 (0) | 2022.07.24 |
| Docker컨테이너 저장경로 변경방법 (0) | 2022.07.24 |
| docker 와 cri-o 비교 (0) | 2022.07.24 |
| podman사용하기 (0) | 2022.07.24 |
Comments
