Skip to content

j14ncn/context-merge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

context-merge

kubernetes config context merge!

依赖pyyaml

pip install pyyaml

比如要合并k8s测试集群和杭州正式集群的/.kube/config

python context-merge.py -h k8sttt:1.1.1.1,k8shz:2.2.2.2

执行完成后 可以看到合并成功.

kubectl config get-contexts

Releases

No releases published

Packages

No packages published

Languages