tldr/pages/common/kubetail.md

21 lines
569 B
Markdown
Raw Normal View History

2018-12-01 21:19:05 +00: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 21:19:05 +00: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 13:34:03 +01:00
- To tail multiple applications at the same time separate them by comma:
2018-12-01 21:19:05 +00:00
`kubetail {{my_app_1}},{{my_app_2}}`