Coder Social home page Coder Social logo

Comments (6)

JorTurFer avatar JorTurFer commented on June 11, 2024

Hello!
Those envs are automatically set by the workload identity webhook when a pod whose service account has the annotation is scheduled. That's a component that has to be present in your cluster.

Could you confirm that you have installed it?
It is done by the --enable-workload-identity argument during cluster update
image
If you prefer to install if by yourself, you can do it following their guide: https://azure.github.io/azure-workload-identity/docs/installation.html

from keda.

KasyapG avatar KasyapG commented on June 11, 2024

@JorTurFer , We have enabled the workload identity and did a restart of Keda operator as well using the document provided, still see 401 unauthorized in the logs to connect to, so could help us understand the what else could be the issue. I also provided the scaledobeject yaml

image

image

image

image

from keda.

JorTurFer avatar JorTurFer commented on June 11, 2024

Oh, I have just noticed that you are using KEDA v2.10.0. Could you confirm this? The support for Azure managed Prometheus was added in v2.11 so maybe you have to upgrade KEDA

from keda.

KasyapG avatar KasyapG commented on June 11, 2024

Hi @JorTurFer ,

As per the Microsoft documentation it says 2.10 is the required version, so we have upgraded to 2.10

image

Also we tried using bearer token type as authmode in the scaled object (shown below) as per the documentation "https://keda.sh/docs/2.13/scalers/prometheus/", but still facing an unauthorized issue.

image

Is there anything else should we look in to.

Regards,
Kasyap G

from keda.

JorTurFer avatar JorTurFer commented on June 11, 2024

Do you still see the same error about missing header? You configuration looks good, so I'd like to know if you still get the same error or it has changed

from keda.

stale avatar stale commented on June 11, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

from keda.

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.