Skip to content

claranet/kcs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KCS

Description

Select which kubeconfig.yaml to use in an easy way. KCS means kubeconfig switcher.

Features :

  • Select item with ←, ↑, → ↓
  • Filter by a search
  • Display contexts of selected kube config file

screenshot_1 screenshot_2

Configuration

Create config file

echo "KUBECONFIG_FILES=XXX" > $HOME/.kcs

with XXX the full path to your directory with kubeconfig.yaml files

Add binary

sudo cp kcs /usr/local/bin/

Usage

kcs
$ kcs
Search: █
? :
    kube-config.apps.prod.eu-west-1.XXX.yaml
  > kube-config.XXXXX.prod.eu-west-3.XXXXX.yaml
    kube-config.docker4windows.yml
    XXXXX_kube-config_prod.yaml

Contexts: claranet-rw-XXXX.prod.eu-west-3.XXXXX

Author

Thomas Labarussias (thomas.labarussias@fr.clara.net - https://github.com/Issif)

About

Select which kubeconfig.yaml to use in an easy way. KCS means kubeconfig switcher.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages