Skip to content

Latest commit

 

History

History
63 lines (42 loc) · 1.45 KB

README.md

File metadata and controls

63 lines (42 loc) · 1.45 KB

Get started

helm repo add kedacore https://kedacore.github.io/charts
helm install keda kedacore/keda --namespace keda --create-namespace

helm install http-add-on kedacore/keda-add-ons-http --namespace keda --create-namespace

Load test the application

First application can scale to 0 alt text

  • Load test make load_test

Load test is under load_test.sh file Or run Locust:

uv run locust -f locust.py --host http://keda.fastapi.localdev.me --users 100 --spawn-rate 10 -t 5m

Results: alt text alt text

  • Monitor the scaling in k9s

Reference

https://github.com/kedacore/http-add-on https://github.com/kedacore/charts https://cloud.theodo.com/en/blog/keda https://devtron.ai/blog/http-request-based-autoscaling-with-keda/

Optional

Export metrics via Prometheus