-
Notifications
You must be signed in to change notification settings - Fork 46
FailedGetExternalMetric event with reason The subscription 'resourceGroups' could not be found #17
Comments
It looks like the subscirption id is not set. Is the deployment in azure? Can you run One way around this until resolved is to pass the subid as a label on the HPA @marc-sensenich fyi |
This could be a bad version of the image being run in the development Helm chart. Try with the newest versioned release image. It looks like the old latest is from 17 days ago. helm install --name azure-metrics-adapter --namespace autoscaling-sandbox --set azureAuthentication.method=clientSecret --set azureAuthentication.tenantID=<removed> --set azureAuthentication.clientID=<removed> --set azureAuthentication.clientSecret=<removed> --set defaultSubscriptionId=<removed> --set image.repository=jsturtevant/azure-k8s-metrics-adapter-amd64 ---set image.tag=v0.3.7-85 .\azure-k8s-metrics-adapter\ |
Yes sorry. I change the repo name in the build scripts in prep for moving it to an repository (it will eventually not be on jsturtevant but a microsoft repo) |
Good point - Will test this tomorrow! |
Using |
I was testing the helm chart with a sample scenario based on this sample when I noticed that the HPA was not able to fetch the latest metrics:
Am I doing something wrong here? I have a feeling that parameters are misinterpreted.
Helm install command
HPA Configuration
Service Bus Configuration
Namespace lives in the
promitor
namespace:Azure AD Configuration
Application has
Monitor Reader
permissions which is enough for Azure Monitor.Kubernetes Logs
The text was updated successfully, but these errors were encountered: