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개 답변
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
답변함 일 년 전
  • Thank you, this is the answer I was looking for.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인