Scale applications based on RabbitMQ Queue.
Availability: v1.0+ | Maintainer: Microsoft
This specification describes the
rabbitmq trigger for RabbitMQ Queue.
triggers: - type: rabbitmq metadata: host: RabbitMqHost queueLength: '20' # Optional. Queue length target for HPA. Default: 20 messages queueName: testqueue
host value is the name of the environment variable your deployment uses to get the connection string. This is usually resolved from a
Secret V1 or a
ConfigMap V1 collections.
envFrom are both supported. The resolved host should follow a format like
Not supported yet.
apiVersion: keda.k8s.io/v1alpha1 kind: ScaledObject metadata: name: rabbitmq-scaledobject namespace: default labels: deploymentName: rabbitmq-deployment spec: scaleTargetRef: deploymentName: rabbitmq-deployment triggers: - type: rabbitmq metadata: # Required host: RabbitMqHost # references a value of format amqp://guest:password@localhost:5672/ queueName: testqueue queueLength: "20"