Notice
Recent Posts
Recent Comments
Tags
- dell
- CentOS
- Auth
- 우파푸른하늘80만이벤트
- openldap
- snmp
- n15148
- mgmtip
- Galera Cluster
- RHEL8
- maxscale
- MotD
- Network
- Kubernetes
- data-door
- 우파푸른하늘
- CEP
- web&was apche htaccess
- vmware
- unix_socket
- 웰카
- etcd
- mariadb
- admin port
- banner
- Storage
- docker
- drbd
- Path
- wildfly jboss
- port description
- perplexity
- n1548
250x250
반응형
전산쟁이의 기억노트
k8s 강제로 pod 종료시키는 방법 본문
728x90
반응형
k8s기반에서 강제로 pod 종료
죽지않는 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
[root@control1 ~]# kubectl get pod test-68d6bf4d95-zhx55 -n test_user
Error from server (NotFound): pods "test-68d6bf4d95-zhx55" not found
출처 - http://igoni.kr/books/linux/page/k8s-pod
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