/tui-kubernates

Primary LanguageGoMIT LicenseMIT

Terminal User Interface for Kubernetes

I got sick of typing the same kubectl commands over and over again so here is my simplified TUI wrapper, kk.

Installation

go get -u github.com/golang/dep/cmd/dep
go get -d -u github.com/despicableGruu/kk/...
cd $GOPATH/src/github.com/despicableGruu/kk
dep ensure
go install ./...
kk
NAME:
   kk - Terminal User Interface (TUI) for Kubernetes

USAGE:
   kk [global options] command [command options] [arguments...]

VERSION:
   0.0.1

DESCRIPTION:
   For when you are sick of typing namespaces over and over again

COMMANDS:
     help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --kubeconfig-path value, -c value  Kubeconfig path (Uses $HOME) (default: "/Users/nii236/.kube/admin.conf") [$KUBECONFIG_PATH]
   --refresh-interval value           Seconds between updates (default: 1) [$REFRESH_INTERVAL]
   --auto-refresh, -a                 Automatic refresh [$AUTO_REFRESH]
   --production, -p                   Production mode [$PRODUCTION]
   --debug, -d                        Debug logging [$DEBUG]
   --log-to-file, -f                  Log to file [$LOG_TO_FILE]
   --log-file-path value              File to log to (default: "/tmp/debug.log") [$LOG_FILE_PATH]
   --test, -t                         Use the K8S mock client [$TEST]
   --help, -h                         show help
   --version, -v                      print the version