Gaspar
Gaspar

Reputation: 165

Aws EKS: How to scalling pods based on SQS Metrics?

I'm migrating some of my applications that today is running on EC2 with Auto Scalling to k8.

Today my Auto Scalling is based on ApproximateNumberOfMessagesVisible metric from SQS queues (That i configured on CloudWatch).

I trying to figure out if i can use this metric to scalling pods of my application in AWS EKS environment.

Upvotes: 1

Views: 5812

Answers (2)

Vamsi
Vamsi

Reputation: 278

For anyone using this for future, I would suggest using keda..They support different type of scalers, you can scale your pods based on events.

Upvotes: 4

Vasilii Angapov
Vasilii Angapov

Reputation: 9032

  1. Install k8s-cloudwatch-adapter
  2. Deploy HPA with custom metrics from AWS SQS.

Upvotes: 4

Related Questions