tldr/pages/common/kubetail.md

20 lines
506 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.
- 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 seperate them by comma:
`kubetail {{my_app_1}},{{my_app_2}}`