/kctx

A command line utility for switching Kubernetes contexts and namespaces with ease. Written in go, of course.

Primary LanguageGo

A command line utility for switching Kubernetes contexts and namespaces with ease.

usage of kctx:
switches kubernetes contexts and namespaces
  -c context
    	(optional) target context
  -k path
    	(optional) absolute path to the kubeconfig file (default "/home/user/.kube/config")
  -n namespace
    	(optional) target namespace