2025-03-14 21:59:59 -06:00
|
|
|
# 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:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`kubetail {{my_app}} {{[-c|--container]}} {{my_container}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- To tail multiple containers from multiple pods:
|
|
|
|
|
|
2025-09-14 18:48:49 -06:00
|
|
|
`kubetail {{my_app}} {{[-c|--container]}} {{my_container_1}} {{[-c|--container]}} {{my_container_2}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- To tail multiple applications at the same time separate them by comma:
|
|
|
|
|
|
|
|
|
|
`kubetail {{my_app_1}},{{my_app_2}}`
|