kubectl Pod 관련 명령어 모음 (CKA)
조회 1,120 · 댓글 0
각 Pod별 사용 이미지 확인
Pod가 어느 노드에 있는지 확인
Pod 생성 yaml 파일 생성
Pod 설정 변경
kubectl describe pod newpods-<id>
Pod가 어느 노드에 있는지 확인
kubectl get pods -o wide
kubectl describe pod <파드명> | grep -i node
Pod 생성 yaml 파일 생성
kubectl run <파드명> --image=<이미지명> --dry-run=client -o yaml > <파일명>
Pod 설정 변경
kubectl edit pod redis로그인 후 답글을 남길 수 있습니다.