stefanprodan / k8s-prom-hpa

Kubernetes Horizontal Pod Autoscaler with Prometheus custom metrics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't create new HPA

junpayment opened this issue · comments

commented

About the how-to in Readme.
I thought that it would be better to include the procedure of deleting the old HPA.

https://github.com/stefanprodan/k8s-prom-hpa#auto-scaling-based-on-custom-metrics

Deploy the podinfo HPA in the default namespace:

kubectl create -f ./podinfo/podinfo-hpa-custom.yaml

Write like below, before above.

kubectl delete -f ./podinfo/podinfo-hpa.yaml

thanks, great products.