-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
-
False
-
None
-
False
-
NEW
-
NEW
The Observability operator should ensure that the Prometheus generation value is equal to the observedGeneration value before updating the MonitoringStack status.
Example:
- MonitoringStack object exists with generation=1 and observedGeneration = 1 (same for the underlying Prometheus object).
- User updates a MonitoringStack object -> MonitoringStack generation = 2, observedGeneration = 1
- OBO updates the underlying Prometheus object -> Prometheus generation =2, observedGeneration = 1
- OBO is notified because of the Prometheus change but Prometheus generation != observedGeneration so it does nothing.
- Prometheus operator reacts on the object change and updates the Prometheus status -> Prometheus generation =2, Prometheus observedGeneration = 2
- OBO is notified of the Prometheus change since Prometheus generation != observedGeneration -> MonitoringStack generation = 2, observedGeneration = 2