Skip to content

sabbour/aks-scaling-demo

Repository files navigation

Azure Kubernetes Service (AKS) scaling demo

Components

  1. Cluster autoscaler
  2. Kubernetes Event Driven Autoscaling (KEDA) with a Prometheus scaler
  3. Azure Monitor managed service for Prometheus
  4. Azure Managed Grafana

Setup

  1. Login using az login
  2. Make sure kubectl is installed
  3. Make sure yq is installed (https://github.com/mikefarah/yq/#install)
  4. Run ./setup.sh (or ./setup-scn2.sh for the optimized setup)

Exposed endpoints

  1. /workout: generates long strings and stores them in memory
  2. /metrics: Prometheus metrics
  3. /stats: .NET stats

Test

  1. Run a load test against the /workout endpoint
  2. Review the Grafana dashboards
  3. Observe KEDA scaling the serverloader deployment based on requests per second
  4. Observe cluster autoscaler adding more nodes to the cluster

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages