116
GitHub - nii236/k: A kubernetes/kubectl terminal client
source link: https://github.com/nii236/k
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
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/nii236/kk/...
cd $GOPATH/src/github.com/nii236/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
Screenshots
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK