kind: clusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: descheduler-cluster-role
rules:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "watch", "list"] (1)
- apiGroups: [""]
resources: ["pods"]
verbs: ["get", "watch", "list", "delete"] (2)
- apiGroups: [""]
resources: ["pods/eviction"] (3)
verbs: ["create"]