mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-05 05:18:52 +08:00
13 lines
384 B
YAML
13 lines
384 B
YAML
|
kind: ClusterRole
|
||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
metadata:
|
||
|
name: system:aggregated-metrics-reader
|
||
|
labels:
|
||
|
rbac.authorization.k8s.io/aggregate-to-view: "true"
|
||
|
rbac.authorization.k8s.io/aggregate-to-edit: "true"
|
||
|
rbac.authorization.k8s.io/aggregate-to-admin: "true"
|
||
|
rules:
|
||
|
- apiGroups: ["metrics.k8s.io"]
|
||
|
resources: ["pods"]
|
||
|
verbs: ["get", "list", "watch"]
|