razorpay/sqs-autoscaler-controller

By razorpay

Updated 5 months ago

Image
0

10K+

razorpay/sqs-autoscaler-controller repository overview

SQS Autoscaler Controller

This provides a controller to autoscale Deployments according to the queue size of an SQS queue.

Creating

apiVersion: aws.uswitch.com/v1
kind: SqsAutoScaler
metadata:
  name: testing-scaler
  namespace: myns
spec:
  deployment: testapp
  maxPods: 20
  minPods: 1
  queue: https://sqs.eu-west-1.amazonaws.com/1234567890/some-queue
  scaleDown:
    amount: 2
    threshold: 10
  scaleUp:
    amount: 5
    threshold: 100
$ kubectl apply -f scaler.yaml
$ kubectl get sqsautoscalers

Tag summary

Content type

Image

Digest

sha256:fb52b6656

Size

305.7 MB

Last updated

5 months ago

docker pull razorpay/sqs-autoscaler-controller:18c728a3b65afbda465f6a00a36a7af8f09dc4ab