Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

daishe/kubeconfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubeconfig

simple Kubernetes config manager

Latest stable version Latest release status

Go reference Go version Go report card License

Instead of keeping one large kubectl config file with lots of entries, kubeconfig allows you to simply switch the entire file! This approach is much easier to use, especially when working with lots of temporary Kubernetes clusters.

Usage

Just place all your kubectl config files in the .kubeconfig directory (under your home directory).

Then to list all configs, use

kubeconfig list

and to actually switch current kubectl config (located under .kube/config in your home directory), use

kubeconfig switch <config file name>

That's it!

Help

To get the complete list of all commands, use

kubeconfig --help

or just simply type

kubeconfig

To get information about particular command including list of aliases and flags, use

kubeconfig <command> --help

or alternatively

kubeconfig help <command>

License

Kubeconfig is open-sourced software licensed under the Apache License 2.0.