https://github.com/ivkalita/kubectl-clogs
kubectl plugin to follow logs of multiple running pods
https://github.com/ivkalita/kubectl-clogs
kubectl kubectl-plugins
Last synced: over 1 year ago
JSON representation
kubectl plugin to follow logs of multiple running pods
- Host: GitHub
- URL: https://github.com/ivkalita/kubectl-clogs
- Owner: ivkalita
- License: gpl-3.0
- Created: 2018-11-25T20:55:26.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-08-31T20:19:04.000Z (almost 5 years ago)
- Last Synced: 2024-11-21T04:30:44.121Z (over 1 year ago)
- Topics: kubectl, kubectl-plugins
- Language: Go
- Homepage:
- Size: 4.46 MB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-kubectl-plugins - kubectl-clogs - clogs)](https://github.com/ivkalita/kubectl-clogs/stargazers) | (kubectl Plugins / Installing plugins via awesome-kubectl-plugins)
README
## kubectl-clogs
This repository contains a simple kubectl command to show all running pods logs in specific cluster namespace in realtime
(the same as `kubectl logs -f` but for the all pods).
```bash
$ go install github.com/ivkalita/kubectl-clogs/cmd/kubectl-clogs@latest
$ kubectl clogs --namespace default
```

## Features:
- Logs from all namespace pods in realtime (follow mode)
- Autoreload – this command monitors all running pods every `N` seconds and adds new pods to the log group
- Regexp for the pod name
## Roadmap:
- Multiple namespaces
- Labels search
- Monitoring improvements (`watch` mode)