0
点赞
收藏
分享

微信扫一扫

kubernetes多集群管理

一、kubernetes多集群管理平台

  一)kubernetes多集群管理平台之Federation

  Federation(集群联邦)正是kubernetes社区中的多云管理项目,可以方便地跨地区跨服务商管理多个Kubernetes集群。

  官网地址:​​https://kubernetes.io/docs/concepts/cluster-administration/federation/​​

  二)kubernetes多集群管理平台之wayne

  Wayne 是一个通用的、基于 Web 的 ​​Kubernetes​​ 多集群管理平台。通过可视化 Kubernetes 对象模板编辑的方式,降低业务接入成本, 拥有完整的权限管理系统,适应多租户场景,是一款适合企业级集群使用的发布平台。

  Wayne已大规模服务于360搜索,承载了内部绝大部分业务,稳定管理了近千个业务,上万个容器,运行了两年多时间,经受住了生产的考验。

  Wayne的github地址:​​https://github.com/Qihoo360/wayne​​

       wiki地址:​​https://github.com/Qihoo360/wayne/wiki​​

二、kubernetes多集群管理命令行工具

kubectx

   ​​https://www.jianshu.com/p/ea7d6899cc45​​

  GitHub地址:​​https://github.com/ahmetb/kubectx/releases​​

  根据自己需求安装对应的包,安装完帮助信息如下

]# ./kubectx -h
USAGE:
kubectx : list the contexts
kubectx <NAME> : switch to context <NAME>
kubectx - : switch to the previous context
kubectx -c, --current : show the current context name
kubectx <NEW_NAME>=<NAME> : rename context <NAME> to <NEW_NAME>
kubectx <NEW_NAME>=. : rename current-context to <NEW_NAME>
kubectx -u, --unset : unset the current context
kubectx -d <NAME> [<NAME...>] : delete context <NAME> ('.' for current-context)
(this command won't delete the user/cluster entry
referenced by the context entry)
kubectx -h,--help : show this message
kubectx -V,--version : show version

 

  



举报

相关推荐

0 条评论