-
Notifications
You must be signed in to change notification settings - Fork 60
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
MSO Integration with Observatorium #127
Comments
My assumption is that the remote write configuration already support oauth2 authentication so token-refresher isn't needed anymore but I might be wrong :) |
@cmwylie19 Can you check of v0.0.9 works for you as expected? #140 updated prometheus-operator so that it supports auth2 in remote write specs. |
@jan--f tested it and the RemoteWrite works very well with @redmikhail , do you want to add anything? I know we have talked about a separate crd (operant) for handling remote writes that does all of the plumbing? |
I am going to close this issue for now as we are using oauth2 for bearer token refreshing. Thanks! |
MSO greatly simplifies the process of creating independent, self-contained, Prometheus-based monitoring stacks through Kubernetes CRDs, but we still need to integrate with Observatorium.
As avid consumers of MSO, we need to send these metrics to an aggregator, which is where Observatorium comes into play to allow us to run and operator a multi-tenant, easy to operator availability system.
The problem:
Currently MSO doesn't have specific functionality to configure integration with external centalized monitoring facilities (for an example Observatorium), instead relying on remoteWrite sections in the CR . While it is flexible approach it has some of the potential shortcomings , such as credential information is passed in text format to the respective CR , there are no means to refresh Authentication bearer token. As tokens inevitably expire (else they are inherently insecure). Some proposed options are to use a Token Refresher to ensure the bearer token is not expired. The token refresher would essentially proxy the request to the observatorium instance with a Bearer token that is not expired, therefore, in the RemoteWrite spec of the MSO would have the address of the token refresher.
(With Observatorium , authentication is just one thing that creates obvious frictions and there is need for embedding dynamic functionality of the refreshing token , there could be other cases that something else needed to be done that can not be fullfilled by just static config. )
Desired Solutions
MSO to be equipped to fully integrate and communicate with Observatorium and have the Authentication happen in the background.
Possible Implementations
The text was updated successfully, but these errors were encountered: