Skip to content

Can I monitor serviceMonitors of both apiVersions (monitoring.rhobs/v1 and monitoring.coreos.com/v1) with a MonitoringStack #970

@kastl-ars

Description

@kastl-ars

Dear maintainers,

I have not found any hint in the documentation and I could not get this working, so:

Can I monitor both the "old" serviceMonitors as well as the "new" ones using the cluster observability operator?

We have a whole heap of helm charts that already provide a serviceMonitor in apiVersion: monitoring.coreos.com/v1?, while the COO documentation only mentions serviceMonitors with apiVersion: monitoring.rhobs/v1`.

It would save us and our developers a lot of time if we would not have to change the apiVersion in every serviceMonitor (or even worse, make it configurable as the "new" one might not work in other clusters).

Thanks a lot in advance!

Kind Regards,
Johannes

"old" apiVersion

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor

new apiVersion

apiVersion: monitoring.rhobs/v1
kind: ServiceMonitor

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions