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}}`
|
|
|
|
|
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}}`
|