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

demandé il y a un an397 vues
1 réponse
2
Réponse acceptée

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
répondu il y a un an
  • Thank you, this is the answer I was looking for.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions