简体   繁体   English

AWS EKS 部署到多个 VPC

[英]AWS EKS deploy to multiple VPC's

I'm a bit confused about how aws EKS works, excuse me for my ignorance.我对 aws EKS 的工作方式有点困惑,请原谅我的无知。 I have 4 VPC's one for shared services(gitlab ect..), one for dev, one for staging and one for prod.我有 4 个 VPC,一个用于共享服务(gitlab 等),一个用于开发,一个用于登台,一个用于生产。 There are multiple subnets on each vpc for different clients a,b,c.每个 vpc 上有多个子网,用于不同的客户端 a、b、c。 Currently I just have pipelines that build images and deploy on an ec2 in a specific vpc/subnet.目前,我只有构建映像并在特定 vpc/子网中的 ec2 上部署的管道。 The pipeline ssh to the server based on gitlab-ci file.基于 gitlab-ci 文件 ssh 到服务器的管道。

I would like to change that and have a k8 cluster, where when the image updates the k8 deploys my image to the specified vpc and subnets.我想改变它并拥有一个 k8 集群,当镜像更新时,k8 将我的镜像部署到指定的 vpc 和子网。 I know I can hook up my registry to the k8 and have it work on update thats not my question.我知道我可以将我的注册表连接到 k8 并让它处理更新,这不是我的问题。 My question is how does EKS work across VPC's and subnets.我的问题是 EKS 如何跨 VPC 和子网工作。

Is this possible.这可能吗。 It seems like the EKS cluster can only be in 1 vpc and can only deploy to those subnets?似乎 EKS 集群只能在 1 个 vpc 中并且只能部署到那些子网?

Am I not understanding correctly?我没有正确理解吗?

You are correct.你是对的。

EKS ControlPlane can only be running in a single VPC and can be associated with subnets in that VPC. EKS ControlPlane 只能在单个 VPC 中运行,并且可以与该 VPC 中的子网关联。

I have raised feature requests while back with AWS to support multi VPC and multi region EKS but no news about them so far.我在使用 AWS 时提出了支持多 VPC 和多区域 EKS 的功能请求,但到目前为止还没有关于它们的消息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM