kubernetes-sigs / prometheus-adapter

An implementation of the custom.metrics.k8s.io API using Prometheus
Apache License 2.0
1.9k stars 551 forks source link

Scaling model for prometheus-adapter after disabling metrics-server #632

Open CatherineF-dev opened 8 months ago

CatherineF-dev commented 8 months ago

What happened?:

I went through this repo but didn't find a scaling model for this adapter. If metrics-server is disabled, it can not use HPA via metrics-server. How to scale this adapter? Should it add addon-resizer, which is used by metrics-server?

What did you expect to happen?:

Please provide the prometheus-adapter config:

prometheus-adapter config

Please provide the HPA resource used for autoscaling:

HPA yaml

Please provide the HPA status:

Please provide the prometheus-adapter logs with -v=6 around the time the issue happened:

prometheus-adapter logs

Anything else we need to know?:

Environment:

dashpole commented 7 months ago

/assign @dgrisonnet /triage accepted