mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-28 15:35:28 +02:00

* common/s*: add and update Korean translation * scamper: fix typo * Update pages.ko/common/simplehttpserver.md Co-authored-by: Chooooo <contact@choo.ooo> * Update pages.ko/common/steamcmd.md Co-authored-by: Chooooo <contact@choo.ooo> --------- Co-authored-by: Sebastiaan Speck <shem.speck@gmail.com> Co-authored-by: Chooooo <contact@choo.ooo>
28 lines
726 B
Markdown
28 lines
726 B
Markdown
# stern
|
|
|
|
> Kubernetes의 여러 팟 및 컨테이너 로그를 동시에 확인.
|
|
> 더 많은 정보: <https://github.com/stern/stern>.
|
|
|
|
- 현재 네임스페이스 내의 모든 팟 로그 확인:
|
|
|
|
`stern .`
|
|
|
|
- 특정 상태의 모든 팟 로그 확인:
|
|
|
|
`stern . --container-state {{running|waiting|terminated}}`
|
|
|
|
- 주어진 정규 표현식과 일치하는 모든 팟 로그 확인:
|
|
|
|
`stern {{팟_쿼리}}`
|
|
|
|
- 모든 네임스페이스에서 일치하는 팟 로그 확인:
|
|
|
|
`stern {{팟_쿼리}} --all-namespaces`
|
|
|
|
- 15분 전부터 일치하는 팟 로그 확인:
|
|
|
|
`stern {{팟_쿼리}} --since {{15m}}`
|
|
|
|
- 특정 레이블이 있는 일치하는 팟 로그 확인:
|
|
|
|
`stern {{팟_쿼리}} --selector {{release=canary}}`
|