Closed sthaha closed 1 year ago
@vprashar2929 FYI
This is such a welcome addition so we don't have to set it up and deploy it separately! I was just wondering if there are any uses cases / scenarios where users might not want or need the ServiceMonitor? If so would it be possible to make it configurable but deploy by default? Just some thoughts :)
@BGrasnick thanks, yes, I did think of it but felt to cater for the most frequent usecase. We can definitely (based on feedback) config specific to configuring and deploying servicemonitor.
This PR adds a feature to the operator to deploy a servicemonitor to monitor the kepler exporter service. It also modifies grafana deployment script to remove its deployment of servicemonitor and rely on the ServiceMonitor deployed by the operator.