kallakata@home:~$

Kubernetes CLI


A Kubernetes CLI parser with pretty output

:wave: A full fledged Kubernetes CLI.

As of now, it can parse Pods, Namespaces, Clusters, Nodepools (in table output), and partially most important metadata about clusters and pods. Output can be customized, default is a simple listing, otherwise it is in a form of table + interactive prompt.

Please refer to the official Google and/or Azure docs for more extensive metadata parsing and response properties related to clusters/nodepools. Authentication is handled locally via kubeconfig and gcloud. Partial support for Azure has been added, temporarily only for clusters, authentication is performed via CLI.

More features TBD.

TODO

  • Deployment

Usage

Manual

$ go build . && go install
$ ./app
$ ./app [COMMANDS] [FLAGS]
$ ./app --help

Install binary

$ go install .

Build

$ make build
$ cd ./bin
$ ./kubeparser [ARGUMENTS] [FLAGS]

Run

$ make run [COMMANDS] [FLAGS]
$ make run --help

If you want to use new packages

$ make vendor

Test & format

$ make fmt
$ make test