Skip to content
This repository has been archived by the owner on May 3, 2020. It is now read-only.
/ go-kubectx Public archive

5x-10x faster alternative to kubectx. Uses client-go.

Notifications You must be signed in to change notification settings

aca/go-kubectx

Repository files navigation

Archived

kubectx is now written in go. Check #12. This project is not maintained anymore.


go-kubectx

Simply 5x-10x faster alternative to famous kubectx. Uses client-go.

Dependencies

Requires fzf same as original kubectx.

Install

Using go mod, requires go>=1.13

git clone git@github.com:aca/go-kubectx.git && cd go-kubectx
go install ./cmd/kubens
go install ./cmd/kubectx

# Using Docker - also cross-compiles for other OS's
# Binaries will be built into the output directory after build.
cd go-kubectx && ./build.sh

or download pre-built binaries from Releases.

Benchmarks

Command Mean [ms] Min [ms] Max [ms] Relative
/usr/bin/kubectx minikube 98.9 ± 12.1 84.8 138.6 5.35 ± 0.89
/home/rok/bin/kubectx minikube 18.5 ± 2.1 15.6 27.1 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
/usr/bin/kubens kube-system 258.6 ± 20.7 237.9 300.9 5.73 ± 1.78
/home/rok/bin/kubens kube-system 45.1 ± 13.6 32.3 120.0 1.00

About

5x-10x faster alternative to kubectx. Uses client-go.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •