tldr/pages/common/kubetail.md

21 lines
569 B
Markdown
Raw Normal View History

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