AKS 混合设置

AKS Hybrid setup

我在本地服务器中有 1 个主节点和 2 个工作节点,即裸机 运行 kubernetes。

考虑到几个月后,我们可能需要更多节点。我们将使用 Azure 进一步配置更多节点。

AKS 能否与本地机器结合使用,这样活跃的主机在本地,第二个主机在 Azure,额外的工作节点可以在 Azure 中扩展 up/down?

是否有可能实现以下场景,即本地和 Azure 都可以为同一个 K8s 集群协同工作?如果是,那么任何第 3 方工具都可用于这样设置并让生活更轻松?

本地

1 个主节点和 2 个工作节点

+

AKS

1 个主节点和 5 个工作节点(规模 up/down)

我找到了供您考虑的选项:

  1. Running Kubernetes in a hybrid environment:

Setting up Kubernetes to work in an hybrid cloud environment is absolutely possible today and many companies choose this path as a progressive migration to Azure. You can benefit from the flexibility and scalability of Azure, maintain existing systems running on your local network, and get them to talk to eachother seamlessly. This however still requires a non-negligible investment in the infrastructure setup, and maintenance of it.

  1. Azure Arc hybrid management and deployment for Kubernetes clusters:

You can use Azure Arc to register Kubernetes clusters hosted outside of Microsoft Azure, and use Azure tools to manage these clusters alongside clusters hosted in Azure Kubernetes Service (AKS).

后一个需要你使用Azure Arc

我自己没有使用过它们,但它们似乎适合您的用例。