Code Monkey home page Code Monkey logo

Comments (6)

marc-sensenich avatar marc-sensenich commented on June 25, 2024 1

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.

jsturtevant avatar jsturtevant commented on June 25, 2024

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.

tomkerkhove avatar tomkerkhove commented on June 25, 2024

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>.

Looks like variable is set:
image

from azure-k8s-metrics-adapter.

jsturtevant avatar jsturtevant commented on June 25, 2024

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.

tomkerkhove avatar tomkerkhove commented on June 25, 2024

Good point - Will test this tomorrow!

from azure-k8s-metrics-adapter.

tomkerkhove avatar tomkerkhove commented on June 25, 2024

Using 0.3.0-alpha.51 works, thanks 👍

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.