In this repository you will find all the necessary steps to test the Event Based Autoscaling demo
- Make sure to have all the requirements installed and ready before proceeding
- Clone this repository and set your current directory to the root of it
- Substitute the following variables in the repo
- <QUEUE_URL> for you AWS SQS queue URL
- <AWS_ACCESS_KEY_ID> for your AWS_ACCESS_KEY_ID with permissions to read the SQS queue in base64
- <AWS_SECRET_ACCESS_KEY> for your AWS_SECRET_ACCESS_KEY with permissions to read the SQS queue in base64
- <AWS_REGION> for the AWS_REGION where your queue is located
- Initialise the environment by running
make init
- Run
make deploy
- Setup your AWS credentials with a user/role with write access to your AWS SQS queue. It can be the same credentials used for keda, but not necessarily
- Observe how the different resources have been created (ScaledObject, TriggerAuthentication, HPA, Deployment)
- Generate some messages with
make load