Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/webofmars/kubectl-custom-cols
a kubectl plugin that help you customize output columns like a boss !
https://github.com/webofmars/kubectl-custom-cols
cli columns hacktoberfest krew kubectl kubectl-custom-cols kubectl-plugin kubectl-plugins kubernetes output
Last synced: about 2 months ago
JSON representation
a kubectl plugin that help you customize output columns like a boss !
- Host: GitHub
- URL: https://github.com/webofmars/kubectl-custom-cols
- Owner: webofmars
- License: apache-2.0
- Created: 2019-08-09T23:36:28.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-01-06T11:18:07.000Z (12 months ago)
- Last Synced: 2024-08-02T06:13:53.115Z (5 months ago)
- Topics: cli, columns, hacktoberfest, krew, kubectl, kubectl-custom-cols, kubectl-plugin, kubectl-plugins, kubernetes, output
- Language: Shell
- Homepage:
- Size: 16.6 KB
- Stars: 16
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-kubectl-plugins - kubectl-custom-cols
README
# kubectl-custom-cols
A "kubectl get" replacement with customizable column presets.
Master you kubectl output like a JSONpath pro :-)
## Using kubectl-custom-cols
```sh
kubectl custom-cols -o
```ex:
```sh
kubectl custom-cols -o qos-class pods -l app=nginx
```will output:
```sh
NAME QoS-Class STATUS
web-front-0 BestEffort Running
web-front-1 BestEffort Running
web-back-0 Burstable Running
```## Install kubectl-custom-cols
### Prereqs
If you're on Mac OS X, you may need to first run `brew install coreutils` to get the `realpath` function.
### Manually
* download the latest release
* copy `kubectl-custom-cols` script and the `templates` folder together, somewhere in your PATH### Via krew
If you already have the [krew](https://github.com/kubernetes-sigs/krew) kubectl plugin manager installed, you can just issue the following command:
`kubectl krew install custom-cols`
## Customize kubectl-custom-cols
You can add you own templates in the `templates` folder.
## Contributing
Please feel free to send a PR or open issues ta the original repo :
You can send your own templates to be included in the default package