1
0
mirror of https://github.com/coreos/prometheus-operator.git synced 2026-02-05 06:45:27 +01:00
Files
prometheus-operator/test
Arthur Silva Sens 9a34675cfe Add scale subresource to Prometheus/PrometheusAgent (#5962)
* Add scale subresource to Prometheus/PrometheusAgent

Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>

* Add retry mechanism when updating Status subresource

The goal is to allow the new Prometheus-Operator version to run even with outdated CRDs.
It will try to update the Status subresource and also Scale subresource. If it fails, it will retry but without Scale-related fields.

Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>

* Create function to generate selector labels

Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>

* Add UpdateScale and GetScale methods (#6197)

Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>

---------

Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
2024-01-11 11:34:55 -03:00
..