fixinventory icon indicating copy to clipboard operation
fixinventory copied to clipboard

helm: metrics scraping with a serviceMonitor

Open cebidhem opened this issue 2 years ago • 0 comments

Motivation

As many users deploy Prometheus using kube-prometheus-stack, to give the possibility to have a serviceMonitor to scrape the metrics instead of the annotation based scraping would be nice.

Desired Behavior

If .Values.resotometrics.serviceMonitor.enabled = true, we should:

  • create a kind: service pointing to the resotometrics deployment exposed port
  • create a kind: serciceMonitor pointing to the above service
  • Unset the deployment' scraping annotations

Additional Context

No response

cebidhem avatar Jul 30 '22 22:07 cebidhem