@smoczysko/k8s-log-aggregator
v1.1.0
Published
CLI tool for aggregating logs from multiple Kubernetes pods.
Downloads
5
Readme
Kubernetes Log Aggregator
CLI tool for aggregating logs from multiple Kubernetes pods.
Requirements
This project requires:
- Node.js in 10.X version (or higher)
- Kubernetes CLI - installed globally
Usage
To view logs live logs across different pods that share same name prefix and exactly the same container name enter following command:
npx @smoczysko/k8s-log-aggregator watch <POD_PREFIX> <CONTAINER_NAME>
In order to download all logs across different pods to one file enter following command:
npx @smoczysko/k8s-log-aggregator download <POD_PREFIX> <CONTAINER_NAME> <FILE_NAME>