[따배쿠] 5-1-2. 쿠버네티스 Pod - Pod 동작 flow

김승오·2024년 9월 11일

쿠버네티스

목록 보기
3/27

pod 동작 flow

  1. 웹 서버 실행 명령 $ kubectl run …
  2. Pending(파드를 어떤 노드에 생성하면 좋을지 계산)
  3. 컨테이너(파드) 생성

pod 관리 하기

  • 동작중인 파드 정보 보기
    • kubectl get pods
    • kubectl get pods -o wide
    • kubectl describe pod webserver
    • kubectl get pods --all-namespaces
  • 동작중인 파드 수정
    • kubectl edit pod webserver
  • 동작중인 파드 삭제
    • kubectl delete pod webserver
    • kubectl delete pod --all
profile
코딩코

0개의 댓글