Comments (8)
Thanks for the detailed report.
You are correct it is the wrong image.
Something went wrong with the release automation. I will look into it. In the mean time to try it out you can build it manually.
from azure-k8s-metrics-adapter.
Sorry for the delay. The latest image with the support for v1alpha2 schemas:
docker pull mcr.microsoft.com/k8s/metrics/adapter:v0.7.3-296
You can find all the images version at https://mcr.microsoft.com/v2/k8s/metrics/adapter/tags/list and latest is tagged with the highest version.
from azure-k8s-metrics-adapter.
Built the image locally to pick up the latest changes. Working now 👍
from azure-k8s-metrics-adapter.
Based on the logs from the pod of the adapter, it seems like it still queries the ExternalMetric and CustomMetric API with the old version (v1alpha1). I found both of that has already moved to v1alpha2 from v1alpha1 around 5 months ago, but the docker image seems like still leave the old version. Should we need to update the docker image? The last image was created at the end of last year.
from azure-k8s-metrics-adapter.
@jsturtevant Got it. Thank you so much!
from azure-k8s-metrics-adapter.
Hi I am facing the same issue, looking at the logs I can see that it is still using v1alpha1 to query custommetrics.azure.com. Please can you give suggest a workaround for this. I've posted the logs below.
E0828 03:14:37.034658 1 reflector.go:205] github.com/Azure/azure-k8s-metrics-adapter/pkg/client/informers/externalversions/factory.go:117: Failed to list *v1alpha1.CustomMetric: the server could not find the requested resource (get custommetrics.azure.com) E0828 03:14:37.235328 1 reflector.go:205] github.com/Azure/azure-k8s-metrics-adapter/pkg/client/informers/externalversions/factory.go:117: Failed to list *v1alpha1.ExternalMetric: the server could not find the requested resource (get externalmetrics.azure.com) E0828 03:14:38.036096 1 reflector.go:205] github.com/Azure/azure-k8s-metrics-adapter/pkg/client/informers/externalversions/factory.go:117: Failed to list *v1alpha1.CustomMetric: the server could not find the requested resource (get custommetrics.azure.com) E0828 03:14:38.237448 1 reflector.go:205] github.com/Azure/azure-k8s-metrics-adapter/pkg/client/informers/externalversions/factory.go:117: Failed to list *v1alpha1.ExternalMetric: the server could not find the requested resource (get externalmetrics.azure.com) E0828 03:14:39.038207 1 reflector.go:205] github.com/Azure/azure-k8s-metrics-adapter/pkg/client/informers/externalversions/factory.go:117: Failed to list *v1alpha1.CustomMetric: the server could not find the requested resource (get custommetrics.azure.com) E0828 03:14:39.239036 1 reflector.go:205] github.com/Azure/azure-k8s-metrics-adapter/pkg/client/informers/externalversions/factory.go:117: Failed to list *v1alpha1.ExternalMetric: the server could not find the requested resource (get externalmetrics.azure.com) E0828 03:14:40.040313 1 reflector.go:205] github.com/Azure/azure-k8s-metrics-adapter/pkg/client/informers/externalversions/factory.go:117: Failed to list *v1alpha1.CustomMetric: the server could not find the requested resource (get custommetrics.azure.com)
from azure-k8s-metrics-adapter.
Hi @jsturtevant,
Would you help to update the image for this case?
from azure-k8s-metrics-adapter.
Will anyone from Microsoft looking into this issue? Leaving a latest
tag in a deploy is always a cause of problems... There is more than a month this was reported and we are facing the same issue here...
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.