Create Autoscale
kubectl autoscale deployment httpd --cpu-percent=50 --min=1 --max=10 kubectl describe hpa/httpd
Flood the API (half a million)
kubectl run apache-bench -i --tty --rm --image=httpd -- ab -n 500000 -c 1000 http://httpd.default.svc.cluster.local/
Monitor
kubectl get horizontalpodautoscaler.autoscaling/httpd --watch
Created on 5/1/2020