1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/kubetail.md
2019-06-05 23:42:48 -03:00

20 lines
569 B
Markdown

# kubetail
> Utility to tail multiple Kubernetes pod logs at the same time.
> More information: <https://github.com/johanhaleby/kubetail>.
- Tail the logs of multiple pods (whose name starts with "my_app") in one go:
`kubetail {{my_app}}`
- Tail only a specific container from multiple pods:
`kubetail {{my_app}} -c {{my_container}}`
- To tail multiple containers from multiple pods:
`kubetail {{my_app}} -c {{my_container_1}} -c {{my_container_2}}`
- To tail multiple applications at the same time separate them by comma:
`kubetail {{my_app_1}},{{my_app_2}}`