SAP / redis-operator

Manage Redis clusters in Kubernetes
Apache License 2.0
11 stars 4 forks source link

EnableService monitor #59

Closed dafe-corporate-sap closed 3 months ago

dafe-corporate-sap commented 6 months ago

https://github.com/SAP/redis-operator/blob/62b230451bc6d20e7926029f59b0a6f4e24e3bec/pkg/operator/data/charts/redis/templates/servicemonitor.yaml#L24

operator itself doesn’t have it in its API: https://github.com/SAP/redis-operator/blob/62b230451bc6d20e7926029f59b0a6f4e24e3bec/api/v1alpha1/types.go

Please expose ServiceMonitor to API of the operator.

cbarbian-sap commented 5 months ago

This would create a dependency on prometheus-operator. I'm not sure if we should do this. If at all, then it should be switchable.

dafe-corporate-sap commented 3 months ago

Implemented