Skip to content

A script that helps you switch kubeconfig and namespace quickly

License

Notifications You must be signed in to change notification settings

kingonion/k-use

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

k-use: A script that helps you switch kubeconfig and namespace quickly

You may need to type many words to switch the kubeconfig and namespace. With this script, you can enjoy following stuffies.

  • type fewer words when switching kubeconfig and namespace
  • use kubeconfig with relative path without worrying switching directories
  • show you the kubeconfig file name and namespace in the shell prompt

Here is a simple demo.

Installing

  1. Clone this repository
  2. Copy k-use to somewhere in your PATH

Usage

. k-use [-h] | [-q] | [-k kubeconfig] [-n namespace]

About

A script that helps you switch kubeconfig and namespace quickly

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages