Skip to content

Kubectl:logs

kubectl 의 logs 명령

Examples

Deployment 로그 보기:

kubectl logs deployment/yourid-api-deployment-discord -n yourid-api

라벨(-l key=value)로 검색:

kubectl logs -l app=discord ...

전체 컨테이너(--all-containers=true) 정보:

kubectl logs -n yourid-api -l app=yourid-api-discord --all-containers=true

See also