Code Monkey home page Code Monkey logo

Comments (8)

jsturtevant avatar jsturtevant commented on June 25, 2024 3

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.

jsturtevant avatar jsturtevant commented on June 25, 2024 2

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.

ashishchettri avatar ashishchettri commented on June 25, 2024 1

Built the image locally to pick up the latest changes. Working now 👍

from azure-k8s-metrics-adapter.

toyota790 avatar toyota790 commented on June 25, 2024

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.

toyota790 avatar toyota790 commented on June 25, 2024

@jsturtevant Got it. Thank you so much!

from azure-k8s-metrics-adapter.

ashishchettri avatar ashishchettri commented on June 25, 2024

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.

toyota790 avatar toyota790 commented on June 25, 2024

Hi @jsturtevant,
Would you help to update the image for this case?

from azure-k8s-metrics-adapter.

gabrielmcf avatar gabrielmcf commented on June 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.