Search code examples
kubernetesamazon-cloudwatch-metricsamazon-eks

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.


Solution

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