Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://gitlab.com/grzesuav/kubectl-mtail
Kubectl helper to get logs from multiple pods
https://gitlab.com/grzesuav/kubectl-mtail
Last synced: 2 months ago
JSON representation
Kubectl helper to get logs from multiple pods
- Host: gitlab.com
- URL: https://gitlab.com/grzesuav/kubectl-mtail
- Owner: grzesuav
- License: apache-2.0
- Created: 2019-05-12T11:42:11.439Z (over 5 years ago)
- Default Branch: master
- Last Synced: 2024-08-02T06:14:11.781Z (6 months ago)
- Stars: 10
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-kubectl-plugins - kubectl-mtail
README
# kubectl-mtail
This repository contains a `kubectl plugin` called `mtail`, which tail logs from multiple pods matching label selector.
You can install this plugin on your machine with `krew` plugin manager:
https://github.com/GoogleContainerTools/krew
```
kubectl krew install mtail
```## Usage
To see all options please use : `kubectl mtail --help`.Usage: `kubectl mtail [-c|--container ] [-k|--(no-)colored-pods] [-h|--help] `
Additional options added by mtail are:
* `--follow` - it will not quit but actively waiting for new entries
* `--tail=10` - from running pods - only 10 last entries will be display from history (but new one will be displayed)As for now it will only display pods from active namespace.