简体   繁体   中英

AWS EKS deploy to multiple VPC's

I'm a bit confused about how aws EKS works, excuse me for my ignorance. I have 4 VPC's one for shared services(gitlab ect..), one for dev, one for staging and one for prod. There are multiple subnets on each vpc for different clients a,b,c. Currently I just have pipelines that build images and deploy on an ec2 in a specific vpc/subnet. The pipeline ssh to the server based on gitlab-ci file.

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. I know I can hook up my registry to the k8 and have it work on update thats not my question. My question is how does EKS work across VPC's and subnets.

Is this possible. It seems like the EKS cluster can only be in 1 vpc and can only deploy to those subnets?

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.

I have raised feature requests while back with AWS to support multi VPC and multi region EKS but no news about them so far.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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