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?