-
Notifications
You must be signed in to change notification settings - Fork 36
1st functional version with OpenShift Monitoring #340
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: coulof <[email protected]>
|
Thank you for your work. Is this PR's primary focus on Prometheus's bearer token? And OpenShift is one of the environments utilizing that feature? Since we cannot provide ongoing support for OpenShift, we want the documentation to target environments using bearer tokens, not specifically OpenShift. Also, is it possible to add connection tests using the bearer token while keeping the existing tests without the bearer token? For continuous development, we'd like to verify this in CI if possible. Additionally, we have not used this feature either, so we will need time for investigation and review. Please understand that responses may be delayed. |
Yes, that is correct !
I will cleanup the documentation to be more generic, is it OK to refer to OpenShift documentation for the token creation or do you want to use only Prometheus/Kubernetes upstream information ?
For the connection tests you mean adding them here : https://github.com/topolvm/pvc-autoresizer/blob/main/test/e2e/Makefile ? I'm not exactly too sure how to integrate to the existing tests. Do we want a 2nd instance running on the same cluster with https & token enable or complete new section ? Maybe we can have a quick sync-up call. I'm based in France with a 7h difference vs Japan. Feel free to send me an email now the commits are signed-off ;-) |
The use of Prometheus/Kubernetes is preferred. Since we do not use OpenShift, we cannot maintain documentation or provide support for related questions.
We considered installing Prometheus in a different namespace, but we recommend the approach of running e2e in a separate environment, as referenced in the metrics-api. pvc-autoresizer/.github/workflows/e2e.yaml Lines 48 to 63 in 5fa7fdf
Thank you for your concern. For now, the communication on the issue seems to be working out fine. |
OpenShift comes with kube-state-metrics + Prometheus.
In OCP, the access to Prometheus is on HTTPS + Authentication.
This 1st naive implementation enables the
NewPrometheusClientto connect to the endpoint.Tested with OpenShift 4.19 + Dell CSI driver for PowerStore