We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Current behavior of the vmprometheusconverter rely on Prometheus CRD create and update events, e.g.:
vmprometheusconverter
create
update
operator/controllers/vmprometheusconverter_controller.go
Lines 86 to 88 in e261c37
In some cases (like manual or circumstantial deletion of custom resources) it leads to "orphaned" Prometheus resources.
Prometheus resources
So, the problem is VictoriaMetrics Operator does not recreate converted VM-resources after ones being deleted
PodMonitor
PodScraper
Would you please consider implementing reconciliation loop for Prometheus resources in vmprometheusconverter?
The text was updated successfully, but these errors were encountered:
Hello, it makes sense to me. And it'd be great to have an option to enable periodical reconciliation of prometheus watched objects.
Sorry, something went wrong.
controllers/converter: adds configurable resync period
fb46444
allow to configure resync period for prometheus CRD converter with flag controller.prometheusCRD.resyncPeriod #869
Added new flag for period reconciliation at v0.42.2 release
It accepts duration format, -controller.prometheusCRD.resyncPeriod=10m.
-controller.prometheusCRD.resyncPeriod=10m
By default, it's disabled.
@f41gh7 thx, much appreciated
No branches or pull requests
Current behavior of the
vmprometheusconverter
rely on Prometheus CRDcreate
andupdate
events, e.g.:operator/controllers/vmprometheusconverter_controller.go
Lines 86 to 88 in e261c37
In some cases (like manual or circumstantial deletion of custom resources) it leads to "orphaned"
Prometheus resources
.So, the problem is VictoriaMetrics Operator does not recreate converted VM-resources after ones being deleted
Steps to reproduce
PodMonitor
PodScraper
resourcePodScraper
resource and keep original PrometheusPodMonitor
PodScraper
resource will not be created untilPodMonitor
will be updated or recreatedWould you please consider implementing reconciliation loop for
Prometheus resources
invmprometheusconverter
?The text was updated successfully, but these errors were encountered: