https://github.com/erikh/kube-firehose
Be bold: display all logs from all containers on your kubernetes cluster
https://github.com/erikh/kube-firehose
Last synced: 11 months ago
JSON representation
Be bold: display all logs from all containers on your kubernetes cluster
- Host: GitHub
- URL: https://github.com/erikh/kube-firehose
- Owner: erikh
- License: mit
- Created: 2024-01-24T01:56:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-24T05:52:47.000Z (over 2 years ago)
- Last Synced: 2025-02-08T10:42:39.541Z (over 1 year ago)
- Language: Go
- Size: 28.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kube-firehose: replay all container logs from your cluster on stdout
A very simple program to yield the stdout logs from all containers running in the cluster. Logs are annotated with where they came from, and pod volatility is accounted for: new pods will pick up as they are available, and old pods will expire.
**NOTE** by default **all log history is replayed**. _This is probably not what you want on a long-running cluster!_ Pass the `-t` option to just show current events. You've been warned! :)
## Installation
```
go install github.com/erikh/kube-firehose@latest
```
## Usage
Options:
Durations are Golang durations, such as `1m` or `1h15s`.
- `-t`: Just current events, no history
- `-since `: Show log messages that were written in the last ``.
- `-wait `: Wait this amount of time, playing logs, and then terminate the program.
- `-kubeconfig`: Provide your Kubernetes configuration. Uses `~/.kube/config` by default.
## License
MIT
## Author
Erik Hollensbe