k8s-rabbit-pod-autoscaler

Scales your pods based on number of messages in a RabbitMQ queue.

Autoscaling process (autoscale.sh<):

  • Loops through deployments defined in AUTOSCALING< (env var), every INTERVAL (env var) seconds.
  • Gets the messages queue on RabbitMQ for the current deployment's queue.
  • Calculates the amount of desired pods and scales the deployment if required.
  • Every event success or failure will log and notify slack if the SLACK_HOOK env var is set (logging intensity depends on LOGS env var).

Tell us about a new Kubernetes application

Newsletter

Never miss a thing! Sign up for our newsletter to stay updated.

About

Discover and share new Kubernetes applications

Navigation