I had a big play last month about that. What I setup at the end with this.
I install the operator operator hub
I install prometheus using operator hub crd
I didn't want to use helm and wanted to standardize my component using crd
https://operatorhub.io/operator/prometheus
I can share python coffee that do that later when I have my computer
Previously I've used the helm chart for it and prometheus adapter. I didn't know about operator hub.
k
kind-mechanic-53546
09/13/2020, 10:26 PM
I finally got it working properly with kube-prometheus with a custom namespace and servicemonitor, not too complicated but definitely not plug-and-play with a custom namespace