https://github.com/uswitch/sqs-autoscaler-controller
Kubernetes controller for scaling Deployments based on AWS SQS queue length
https://github.com/uswitch/sqs-autoscaler-controller
Last synced: 6 months ago
JSON representation
Kubernetes controller for scaling Deployments based on AWS SQS queue length
- Host: GitHub
- URL: https://github.com/uswitch/sqs-autoscaler-controller
- Owner: uswitch
- License: other
- Archived: true
- Created: 2017-06-14T14:06:29.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-04-14T22:31:43.000Z (about 6 years ago)
- Last Synced: 2025-07-12T07:32:56.439Z (12 months ago)
- Language: Go
- Homepage:
- Size: 26.5 MB
- Stars: 30
- Watchers: 16
- Forks: 15
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SQS Autoscaler Controller
This provides a controller to autoscale Deployments according to the queue size of an SQS queue.
## Creating
```yaml
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
```