How to access thanos query UI within kubernetes rancher UI page #6385
Unanswered
shruthidharani-4313
asked this question in
Questions & Answers
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have installed the "monitoring" app (via rancher UI) which is provided by kubernetes. On top of it, I have deployed thanos-sidecar as 4th container in the prometheus pod running in cattle-monitoring-system with 3 containers. And this thanos-sidecar is able to push metrics to AWS s3 bucket (object-storage-config provides as input).
After this I have deployed following thanos components using bitnami/thanos chart
I am not getting any kind of errors in these deployed thanos components pod's logs. And if I configure this thanos-query as a new data source in grafana dashboard, I am able to query and list the metrics without any issues.
But I am aware of that Thanos-query gives a UI where we can execute the promql queries and get the metrics. What changes are required to access the thanos-query UI from within kubernetes rancher UI? Or is there any other possible and easy way to access thanos-query UI? I tried kubectl port-forward but I could not able to reach
http://127.0.0.1:${SERVICE_PORT}
from my browser (got connection refused).I tried accessing the thanos-query UI page by constructing the below URL
https://ranchermanager.com/k8s/clusters/c-8b9ut/api/v1/namespaces/cattle-monitoring-system/services/http:thanos-query:9090/proxy/
which is just like how it is for other monitoring apps provided by prometheushttps://ranchermanager.com/k8s/clusters/c-8b9ut/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-prometheus:9090/proxy/graph
. but it doesn't work.It would be really helpful if someone helps me to resolve this issue. I am not sure how to debug this issue as I am not seeing any error logs as such in the thanos components.
Beta Was this translation helpful? Give feedback.
All reactions