containers-roadmap icon indicating copy to clipboard operation
containers-roadmap copied to clipboard

[EKS/Fargate] [request]: Schedule evenly pod replicas across AZs

Open lorenzomicheli opened this issue 4 years ago • 10 comments

Tell us about your request At the time being, we have observed that there is no guarantee that EKS cluster on Fargate schedule pod replicas evenly across multiple Availability Zones.

Which service(s) is this request for? Fargate, EKS

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? We have a fargate profile with 1 namespace and the 2 private subnets. We have a deployment with 2 replicas and we would like that each replica is deployed on a different AZ. At the time being this behaviour is not guaranteed.

We identified two test cases:

  1. Scaling a deployment from 1 replica to 2 replicas: we observed that the 5 times out of 10, the replicas were deployed in the same AZ.

  2. Starting from a new deployment configured with 2 replicas: we observed that 3 times out of 10, the replicas were deployed in the same AZ.

Are you currently working around this issue? Currently we are not aware of any workaround.

lorenzomicheli avatar Apr 08 '20 16:04 lorenzomicheli