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).
$ go install github.com/ivkalita/kubectl-clogs/cmd/kubectl-clogs@latest
$ kubectl clogs --namespace default
- 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
- Multiple namespaces
- Labels search
- Monitoring improvements (
watch
mode)