kubespray/roles/kubernetes-apps/metrics_server/templates/resource-reader.yaml.j2

18 lines
303 B
Plaintext
Raw Normal View History

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: system:metrics-server
labels:
addonmanager.kubernetes.io/mode: Reconcile
rules:
- apiGroups:
- ""
resources:
- pods
- nodes
- nodes/metrics
verbs:
- get
- list
- watch