sqs-autoscaler-controller

command module
v0.0.0-...-6523e92 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
crd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL