EKS Auto Scale: How To?

0

When setting up an EKS Cluster, how would one setup Auto Scaling for a Node Group? EKS docs show settings up either the Kubernetes Auto Scaler, or Karpenter. https://docs.aws.amazon.com/eks/latest/userguide/autoscaling.html

But, being on EC2, there is the EC2 Auto Scaling. https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html

Do i need just one, where either option will suffice? Do I need both? Or, will only the EKS options work for EKS nodes (that are EC2 nodes)?

A couple more items i found in re:Post: https://repost.aws/knowledge-center/amazon-eks-troubleshoot-autoscaler

https://repost.aws/questions/QUAWIKBZyOStO4jv_kvYRb2A/difference-between-ec2-s-with-a-auto-scaling-and-ecs-or-eks-cluster-managed-ec2-machines

已提问 1 年前397 查看次数
1 回答
2
已接受的回答

You only need to setup Kubernetes Cluster Autoscaler and it will use EC2 Auto Scaling feature to launch additional instances and join them into the cluster. You don't have to configure both separately. EC2 Auto Scaling alone would not suffice at it won't have the visibility into what's happening with pods within the cluster.

I would advice to explore Karpenter as it's a more comprehensive way of scaling K8S cluster, here is a link to the blog which goes into details - https://aws.amazon.com/blogs/aws/introducing-karpenter-an-open-source-high-performance-kubernetes-cluster-autoscaler/

AWS
已回答 1 年前
  • Thank you, this is the answer I was looking for.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则