You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
424 B

  1. apiVersion: rbac.authorization.k8s.io/v1
  2. kind: ClusterRole
  3. metadata:
  4. name: system:metrics-server
  5. labels:
  6. kubernetes.io/cluster-service: "true"
  7. addonmanager.kubernetes.io/mode: Reconcile
  8. rules:
  9. - apiGroups:
  10. - ""
  11. resources:
  12. - pods
  13. - nodes
  14. - nodes/stats
  15. - namespaces
  16. verbs:
  17. - get
  18. - list
  19. - watch
  20. - apiGroups:
  21. - "apps"
  22. resources:
  23. - deployments
  24. verbs:
  25. - get
  26. - list
  27. - update
  28. - watch