I have the following configuration:
- installed EKS using terraform module https://github.com/terraform-aws-modules/terraform-aws-eks/blob/v4.0.2/examples/basic/main.tf
- added multi-asg autoscaler (https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/aws/README.md)
- configured working group to run 1 instance per az (in az-1a and az-1b and pod per instance)
When I change POD spec/config I see the next:
- new instance creation (2 running)
- 2 pods in state running and 1 in pending
- new instance created (3 running)
- 2 pods in state running (age updated for both)
- 2 pods running on instances in one az
- 2 running instances in 1 az after scale-down timeout
Is there a proper way to configure autoscaler to create instances/pods in different 2 azs?