Azure Kubernetes Service (AKS) with Kubernetes Event-Driven Autoscaling (KEDA)

# install RabbitMQ with HELM chart
helm install rabbitmq --set auth.username=user --set auth.password=PASSWORD bitnami/rabbitmq
# Deploy the essential components (secret,triggerAuthentication etc.) of RabbitMQ consumer
kubectl apply -f deploy/deploy-consumer.yaml
kubectl apply -f deploy/deploy-publisher-job.yaml
# to generate base64-encoded value ("-w 0" is to not have any next line or space after the value is generated)
echo -n "value" | baste64 -w 0
# make sure the path to Go executable is added in the default system environment path.
export PATH=$PATH:/usr/local/go/bin
# make sure to refresh user profile
source $HOME/.profile
# check whether this command works
go version
go run cmd/send/send.go <number of messages you would like to send)

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store