Skip to content

通过k8s配置文件切换集群 Switching clusters through k8s configuration file

Notifications You must be signed in to change notification settings

NatureLR/kubectl-cc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

kubectl-cc

kubectl cc (change cluster)

asciicast

  • 将k8s配置文件放在.kube/configs下保存为xxx.yaml文件

  • 将本脚本添加可执行权限放到path下即可使用kubectl cc 快速通过切换配置文件来切换集群

  • 模糊搜索需要安装fzf

安装

git clone https://github.com/NatureLR/kubectl-cc

cd kubectl-cc

mv kubectl-cc /usr/local/bin/

About

通过k8s配置文件切换集群 Switching clusters through k8s configuration file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages