- Cluster autoscaler
- Kubernetes Event Driven Autoscaling (KEDA) with a Prometheus scaler
- Azure Monitor managed service for Prometheus
- Azure Managed Grafana
- Login using
az login
- Make sure
kubectl
is installed - Make sure
yq
is installed (https://github.com/mikefarah/yq/#install) - Run
./setup.sh
(or./setup-scn2.sh
for the optimized setup)
/workout
: generates long strings and stores them in memory/metrics
: Prometheus metrics/stats
: .NET stats
- Run a load test against the
/workout
endpoint - Review the Grafana dashboards
- Observe KEDA scaling the
serverloader
deployment based on requests per second - Observe cluster autoscaler adding more nodes to the cluster