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

21 lines
569 B
Markdown
Raw Normal View History

2018-12-01 22:19:05 +01:00
# kubetail
> Utility to tail multiple Kubernetes pod logs at the same time.
2019-06-05 08:55:50 +01:00
> More information: <https://github.com/johanhaleby/kubetail>.
2018-12-01 22:19:05 +01:00
- 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}}`
2019-04-06 09:34:03 -03:00
- To tail multiple applications at the same time separate them by comma:
2018-12-01 22:19:05 +01:00
`kubetail {{my_app_1}},{{my_app_2}}`