observatorium / thanos-receive-controller

Kubernetes controller to automatically configure Thanos receive hashrings
Apache License 2.0
96 stars 46 forks source link

No Warn Message on Missing Statefulset Labels #130

Open alecrajeev opened 9 months ago

alecrajeev commented 9 months ago

There is some improvement to logging that I would recommend implementing.

The statefulset for the thanos-receiver has to have the label key controller.receive.thanos.io/hashring in order for the controller to work correctly. However, if there is no statefulset that has a matching label, is does not log a warn. There should be another logging message that does this.