Comments (6)
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\
from azure-k8s-metrics-adapter.
It looks like the subscirption id is not set. Is the deployment in azure?
Can you run kubectl logs -n custom-metrics <adpater pod name>
? If there is no subid is set then you will see an error at the top of the logs. If logging level is over 2 then it should output the subscirption that it was connected to.
One way around this until resolved is to pass the subid as a label on the HPA
@marc-sensenich fyi
from azure-k8s-metrics-adapter.
I'm currently running on a local Kubernetes cluster managed by Docker for Windows. I'm passing the default subscription id via helm install, --set defaultSubscriptionId=<removed>
.
from 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)
from azure-k8s-metrics-adapter.
Good point - Will test this tomorrow!
from azure-k8s-metrics-adapter.
Using 0.3.0-alpha.51
works, thanks 👍
from azure-k8s-metrics-adapter.
Related Issues (20)
- Custom metrics sample not working HOT 2
- Custom metrics sample needs to be updated HOT 1
- Unable to get external metrics by raw query or via HPA HOT 1
- Add better documentation for the use of Azure Monitor and other providers (Service Bus Subcriptions)
- I'm faced with an interesting auto-scaling question HOT 2
- The Helm documentation lacks the piece of information about creating the Service Principal used by the Adapter
- The most recent version has difficulties reading the SB Queue metrics HOT 2
- Error from server (ServiceUnavailable): the server is currently unable to handle the request HOT 5
- Could we have the chart published to a helm repo?
- Question about custom metrics for application insight HOT 1
- Secret has wrong name in quick start HOT 1
- External metric not working for Eventhubs HOT 11
- Add NodeSelector to adapter deployment yaml
- How to get the custom metric "requests-duration" which already exists. Could you please provide an example? The metric can be retrieved from application insights but not from the adapter.
- Service Bus Queue Request retrieving 0 messages when queque have messages HOT 5
- No token file in the metrics adapter pod
- Deploying to k8s 1.16.7 fails HOT 2
- Is it possible to use Prometheus metrics that I exported to Azure Monitor to scale up with this adapter?
- error: the namespace from the provided object 'kube-system' does not match the namespace 'custom-metrics'. You must pass '--namespace=kube-system' to perform this operation. HOT 1
- azure-k8s-metrics-adapter pod appears in ErrImagePull / ImagePullBackOff state
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-k8s-metrics-adapter.