# Is there a way to collect resource utilization metrics of pods deployed in a specific k8s namespace without using a clusterRole?

**URL:** <https://discuss.kubernetes.io/t/is-there-a-way-to-collect-resource-utilization-metrics-of-pods-deployed-in-a-specific-k8s-namespace-without-using-a-clusterrole/19867>\
**Category:** General Discussions\
**Created:** [May 3, 2022, 3:24pm UTC](https://discuss.kubernetes.io/t/is-there-a-way-to-collect-resource-utilization-metrics-of-pods-deployed-in-a-specific-k8s-namespace-without-using-a-clusterrole/19867 "2022-05-03T15:24:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kodar](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/kodar/32/9402_2.png) [@kodar](https://discuss.kubernetes.io/u/kodar)\
**Post date:** [May 3, 2022, 3:24pm UTC](https://discuss.kubernetes.io/t/is-there-a-way-to-collect-resource-utilization-metrics-of-pods-deployed-in-a-specific-k8s-namespace-without-using-a-clusterrole/19867/1 "2022-05-03T15:24:50Z")

</div>

Prometheus with a clusterRole and clusterRoleBinding can collect kubelet/cadvisor metrics.

Is there a way to collect the same metrics for all the pods deployed in a specific k8s namespace without a clusterRole and/or cadvisor.
