Hi, I want to setup Prometheus, for monitoring my application in kubernetes only (a few namespaces). I have found that scrape config has a namespaces setting to limit what it tries to scrape, and so does kube-state-metrics.
I was trying to use stable/prometheus helm chart with helm 3, but it fails horribly with: Error: rendered manifests contain a resource that already exists. Unable to continue with install: could not get information about the resource: clusterrolebindings.rbac.authorization.k8s.io "prometheus-1592479936-kube-state-metrics" is forbidden: User "XXX" cannot get clusterrolebindings.rbac.authorization.k8s.io at the cluster scope: no RBAC policy matched I can't seem to find any guides on how to do it :( My account don't have cluster-admin - so I need to specify what I need setup, for me to be able to run Prometheus to monitor my own application namespaces. I have access to the namespaces, and can see pods with k9s (or kubectl :) just fine. Any hints appreciated. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/bf4ae6fb-200c-4be7-a535-5a320fd23a20o%40googlegroups.com.

