-
Notifications
You must be signed in to change notification settings - Fork 12
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
topolvm operator is failed to push monitoring metrics into prometheus #66
Comments
What is missing:
|
@GowthamShanmugam service has added. see #63 |
ack will test with latest master once again. |
@little-guy-lxr can you pls add commit #63 to origin-topolvm branch or can I raise the cherry-pick PR? |
OK, I will cherry pick the commit to origin-topolvm |
with the latest branch monitoring is not working, service monitoring is not created, do I need to create it manually? I can see everything is working fine when i am using alaudapublic/topolvm-operator:2.2.0. But with the main branch custom build it is not working. |
Is there any reason we stopped calling EnableServiceMonitor function and CreateOrUpdatePrometheusRule? 1893632#diff-9a6acdebbd30f8b93285ecd76b832d3e4cd34cb58f06a4dbe292f1e849a3f332L263 |
This Pr is fixing service monitoring and alerting rule creation but still metrics are not getting populated: #87 Metrics are coming only if i create namespace level role and role-binding |
@GowthamShanmugam How do you deploy topolvm operator. did you use the Yaml in https://github.com/alauda/topolvm-operator/tree/main/deploy/example ? |
yes, i used YAMLS |
@GowthamShanmugam please paste the log of topolvm operator. is your platform kubernetes/openshit ? |
openshift, I saw metrics are getting populated while using alaudapublic/topolvm-operator:2.2.0 on openshift. But with the latest main branch not working. i will add logs. |
i checked with the latest master this issue is still there, i dont find logs which is related to metrics
|
Prometheus log:
|
@GowthamShanmugam check the |
topolvm operator create servicemonitor in the own namesapce( this case is topolvm-system). but your prometheus may has no permission to access this namespace. Maybe ocp platform limit the user must create the Servicemonitor in the namespace that prometheus own. please check. |
You are right, Openshift Prometheus needs permission to access topolvm-system namespace. When I created role and role binding with all required permissions then it started working fine. |
topolvm operator is not pushing any monitoring metrics out of operator and nodes pod, There is no way to create an alert and alerting rules for topolvm in Kubernetes / Openshift.
The text was updated successfully, but these errors were encountered: