olxbr / metrics-server-exporter

Metrics Server Exporter
MIT License
67 stars 24 forks source link

Support Label Selector and Namespace whitelisting. #32

Closed parinapatel closed 4 years ago

parinapatel commented 4 years ago

Currently you require to create Cluster wide role and rolebinding . in addition to that it publishes all pods which require lot more resources in bigger clusters. Using Whitelist namespace you can just create namespaced based rolebinding which allows secure metrics scraping. Label Selector allows scape and publish necessary metrics.

lgtm-com[bot] commented 4 years ago

This pull request introduces 1 alert when merging 80fafa6f6eb3b6d67e032afabef4047794112923 into 2c7e15d9f2a9cdc98c04d07a8f0aee01a5ab80e3 - view on LGTM.com

new alerts: