Skip to content

multiple vmagent/vmalert resources #2

@f41gh7

Description

@f41gh7

For rule/monitor objects reconciliation we need to know corresponding vmalert/vmagent

  1. monitors:
    https://github.com/VictoriaMetrics/operator/blob/master/pkg/controller/servicemonitor/servicemonitor_controller.go#L114
  2. rules:
    https://github.com/VictoriaMetrics/operator/blob/master/pkg/controller/prometheusrule/prometheusrule_controller.go#L110

Currently it works only for exactly one match, but it`s possible to have multiple agents.

So, i think, we have to reconcile objects for all vmagents/vmalerts. Possible performance degradation - need to investigate.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions