Closed liviuf-ancas closed 2 years ago
if you have multiple keydb charts installed in the same cluster but in different namespaces, each prometheus target will scrape all the keydb instances from the cluster across all the namespaces.
Servicemonitor template needs to be changed from
namespaceSelector: any: true
to :
namespaceSelector: matchNames: - {{.Release.Namespace}}
^^ this is not tested with helm to see if actually works.
Done, please look at 0.27.1
if you have multiple keydb charts installed in the same cluster but in different namespaces, each prometheus target will scrape all the keydb instances from the cluster across all the namespaces.
Servicemonitor template needs to be changed from
to :
^^ this is not tested with helm to see if actually works.