Metrics-server: aggregated-metrics-reader

Created on 19 Jan 2020  路  5Comments  路  Source: kubernetes-sigs/metrics-server

What is the use for the aggregated-metrics-reader clusterrole?
It is not bound to a service.

kinsupport

Most helpful comment

Aggregated ClusterRoles are documented in: https://kubernetes.io/docs/reference/access-authn-authz/rbac/#aggregated-clusterroles. The purpose of the system:aggregated-metrics-reader ClusterRole, is to aggregate the rules, that grant permission to get the pod and node metrics, to the view, edit and admin roles.

All 5 comments

@serathius I've went through the docs and didn't find a reference for such role.

@giner and @astefanutti since you are the main contributors for the file can you please explain the role's purpose?

@giner @astefanutti @serathius I've also gone through the documentation, but it doesn't help clarify the point of the system:aggregated-metrics-reader ClusteRole, especially since it's not bound to anything (at least from what's provided in this repos manifests); it would be great if you could provide an explanation; In particular, I'm wondering if that cluster role is needed at all?

Aggregated ClusterRoles are documented in: https://kubernetes.io/docs/reference/access-authn-authz/rbac/#aggregated-clusterroles. The purpose of the system:aggregated-metrics-reader ClusterRole, is to aggregate the rules, that grant permission to get the pod and node metrics, to the view, edit and admin roles.

that makes much more sense now; thanks for the clarification @astefanutti

Was this page helpful?
0 / 5 - 0 ratings