You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was working with Azure Service Bus Scaler in an Azure Kubernetes Environment. I received an error using a connectionFromEnv approach. Below is the error received from the HPA event.
HPA Event Error
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedGetExternalMetric 80s (x1609 over 6h51m) horizontal-pod-autoscaler unable to get external metric keda-example/s0-azure-servicebus-keda-queue/&LabelSelector{MatchLabels:map[string]string{scaledobject.keda.sh/name: azure-servicebus-queue-scaledobject,},MatchExpressions:[]LabelSelectorRequirement{},}: unable to fetch metrics from external metrics API: rpc error: code = Unknown desc = error when getting metric values no matching metrics found for s0-azure-servicebus-keda-queue
I had a Deployment, ScaledObject, Service, and Secret manifest. For consistency, I used the label app:go-consumer for each manifest. Once the labels were added, calls to the metrics server and scale the deployment. I didn't see anything in the documentation on the required labeling. Looking for some insight if the docs should be updated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi All,
I was working with Azure Service Bus Scaler in an Azure Kubernetes Environment. I received an error using a
connectionFromEnv
approach. Below is the error received from the HPA event.HPA Event Error
I had a
Deployment
,ScaledObject
,Service
, andSecret
manifest. For consistency, I used the labelapp:go-consumer
for each manifest. Once the labels were added, calls to the metrics server and scale the deployment. I didn't see anything in the documentation on the required labeling. Looking for some insight if the docs should be updated.Beta Was this translation helpful? Give feedback.
All reactions