Vitaly Kolesnikov
Vitaly Kolesnikov

Reputation: 365

Kubernetes pod autoscaling based on prometheus metric which provides target replicas count

I have a Java app in k8s cluster. This Java app can calculate the needed replicas amount for itself (based on some DB-queries) and expose this metric to Prometheus.

Is it possible to configure k8s HPA so that it would scale my deployment exactly to this amount (and change it every time the metric changes)?

Upvotes: 0

Views: 22

Answers (0)

Related Questions