Open NfreerCom opened 1 year ago
컨테이너 접속
kubectl exec -it centos -- bash
docker hub 로그인
nerdctl login -u newfreer
응답없는 pod 강제 삭제
kubectl delete pods <pod>
서버팟(PO) 확인
kubectl get po && kubectl describe po *
po 삭제
kubectl delete po po명
네임스페이스 추가
kubectl create namespace 이름
기본 네임스페이스 변경
kubectl config set-context --current --namespace=<insert-namespace-name-here>
nerdctl 명령어
컨테이너 접속
docker hub 로그인
응답없는 pod 강제 삭제
서버팟(PO) 확인
po 삭제
네임스페이스 추가
기본 네임스페이스 변경