Click here to Skip to main content
15,885,182 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to create a Kubernetes HPA based on pubsub topics



After creating the HPA based on our project, I am getting the below error.

unable to fetch metrics from external metrics API: the server could not find the descriptor for metric pubsub.googleapis.com/subscription/num_undelivered_messages: googleapi: Error 403: Permission monitoring.metricDescriptors.get denied


Is it possible to create HPA based on external metrics?

What I have tried:

I followed the steps present in below url

https://cloud.google.com/kubernetes-engine/docs/tutorials/autoscaling-metrics#pubsub_2"
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900