Kubernetes中的多个集群 [英] Multiple clusters in kubernetes

查看:92
本文介绍了Kubernetes中的多个集群的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是kubernetes集群的新手.我有一个简单的问题. 我处于多个kubernetes集群中.似乎在kubernetes中有多个集群.因此,kubernetes中的多重集群"意味着:

I am a newbie in kubernetes clustering. I have a simple question. I am in multiple kubernetes clustering. It seems multiple clusters are available in kubernetes. So "Multiple clustering" in kubernetes means:

  • 是物理上的多个集群,它们都有自己的主节点吗?
  • 或者是在一个物理集群中(具有一个主节点和一个节点)的逻辑"多重集群?
  • It is physical multiple clusters which have their own master, nodes?
  • Or it's kind of "logical" multiple clustering in one physical clustering?(with one master and nodes)?

你想教我吗?谢谢.

推荐答案

似乎这已由@ Jonah Benton 和@ 奥里弗·查尔斯沃斯.使用 kubernetes集群联盟意味着使用多个kubernetes集群,就像它们是一个集群一样.它是一组充当一个集群的不同集群,而不是单个集群中的逻辑划分. (类似逻辑划分的想法可能类似于命名空间,这允许在资源允许的情况下使用集群的受限制的一部分",但名称空间不限于特定的节点.)除了提供的链接之外,kubernetes文档还具有用于部署到集群联盟,并且该页面包含用于设置联盟的链接.

It seems this has been answered by @Jonah Benton and @Oliver Charlesworth in the comments. Using kubernetes cluster federation means using multiple kubernetes clusters as though they were one. It is a set of distinct clusters acting as one, not a logical division within a single cluster. (Something like that idea of a logical division might resemble a namespace, which allows for working with a restricted 'part' of a cluster in terms of resource-allowance but a namespace isn't restricted to particular nodes.) In addition to the links provided, the kubernetes documentation also has resources for deploying to a cluster federation and that page includes links for setting up a federation.

我想您现在已经知道了,因为这个问题有点旧了,但我认为这将有助于填写答案.

I guess you know this now as the question is a little old but I thought it would help to fill in an answer.

这篇关于Kubernetes中的多个集群的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆