Thanos integtaion with Keycloak

191 views
Skip to first unread message

Jabeer Khan

unread,
Jul 28, 2022, 5:35:45 AM7/28/22
to Keycloak User
Team,

I am doing POC to integrate Keycloak for prometheus tech stack .As part of this I am successfully integrated Grafana.

Now I need to integrate Thanos as part of it. 

Thanos provides a global query view, high availability, data backup with historical, cheap data access as its core features in a single binary. For more info visit https://thanos.io/tip/thanos/quick-tutorial.md/ 

in brief it stores historical data for Prometheus. 

Does anyone come across this requirement ? If so pls shed some light to integrate.

Thanks 
Jabeer

Jabeer Khan

unread,
Sep 15, 2022, 12:25:56 AM9/15/22
to Keycloak User
HI Guys ,

It might be helpful for someone , you can integrate it via oauth2-proxy . 

the below links useful



https://medium.com/@lukas.eichler/protecting-prometheus-with-oauth2-oidc-86d1c3f132b2
https://keycloak.discourse.group/t/keycloak-17-0-1-behind-nginx-reverse-proxy/15014/16
https://oauth2-proxy.github.io/oauth2-proxy/
https://oauth2-proxy.github.io/oauth2-proxy/docs/configuration/oauth_provider/#keycloak-auth-provider
https://blog.codecentric.de/en/2021/06/how-to-use-oauth2-proxy-for-central-authentication/
https://middlewaretechnologies.in/2022/01/how-to-protect-the-kuberentes-dashboard-using-keycloak-oidc-and-oauth2-proxy.html
https://carlosedp.medium.com/adding-authentication-to-kubernetes-app-using-keycloak-and-the-new-oauth2-proxy-7ccc5304dfe4
https://www.talkingquickly.co.uk/webapp-authentication-keycloak-OAuth2-proxy-nginx-ingress-kubernetes
https://docs.tech.cessda.eu/platform/setting-up-oauth2-proxy.html
https://github.com/TalkingQuickly/kubernetes-sso-guide/blob/master/keycloak/values-keycloak.yml
https://oauth2-proxy.github.io/oauth2-proxy/docs/configuration/overview/
https://carlosedp.medium.com/adding-authentication-to-your-kubernetes-front-end-applications-with-keycloak-6571097be090
https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/docs/examples/auth/oauth-external-auth/dashboard-ingress.yaml
https://oauth2-proxy.github.io/oauth2-proxy/docs/configuration/overview/
https://devopstales.github.io/home/k8s-central-oauth/


Cheers
Jabeer

Reply all
Reply to author
Forward
0 new messages