-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accessing default prometheus server in Openshift for Scaled Objects #2566
Comments
Can you elaborate a bit more what we need to change? Is it to support the authentication with Thanos? Can you open another bug for ServerAddress please? It should indeed be blocked. |
+1
I think that this problem has been already resolved for 2.6 in: #2394 |
Sorry for the confusion. I have read the Prometheus metrics can be read from Thanos query service, but for that, it needs to authenticate with that. So in short my request was the steps/documentation to add the default Prometheus metrics endpoint in Openshift to
|
@zroubalik helped me in resolving the issue of accessing the thanos-query service for scaledobject in Openshift. Hence closing the issue |
Hi @thotz, can you share the steps that @zroubalik provided. Thanks! |
So helpful! thanks!
|
Report
Authenticate KEDA with the Thanos Query tenancy-specific endpoint. So that it can access the metrics provided by the default Prometheus server. Currently the Thanos-query service with TLS enabled, but we cannot create proper
ClusterTriggerAuthentication
resource in theScaledObject
Expected Behavior
Scaler need to access the thanos-querier endpoint for the required Prometheus metrics
Thanos
Actual Behavior
there are no defined steps to access the prometheus endpoint for Keda
Steps to Reproduce the Problem
ScaledObject
resource for Prometheus ScalerLogs from KEDA operator
KEDA Version
2.5.0
Kubernetes Version
1.23
Platform
Red Hat OpenShift
Scaler Details
Prometheus
Anything else?
May be this is another bug, if I skip the
ServerAddress
fromScaledObject
, resource creation succeeds but trigger for scaling is CPU than the custom metrics. I felt it as weird behaviour.The text was updated successfully, but these errors were encountered: