Can Prometheus work - if it does not have any privileges, except:
ClusterRole with these rules:
```
rules:
- apiGroups:
  - ""
  attributeRestrictions: null
  resources:
  - configmaps
  - endpoints
  - pods
  - services
  verbs:
  - get
  - list
  - watch
- apiGroups: null
  attributeRestrictions: null
  nonResourceURLs:
  - /metrics
  resources: []
  verbs:
  - get
```
and then RoleBindings to that ClusterRole in the namespaces - where I want 
it to monitor pods.. ?

It keeps logging that its trying to access v1.Pod at clusterscope level - 
and a short look at the code - makes it look like code is hardcoded to do 
that?

-- 
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/07613165-a7e0-4487-a14a-f4b035494cd3o%40googlegroups.com.

Reply via email to