clusterrole.yaml 406 B

1234567891011121314151617181920212223242526272829303132
  1. ---
  2. apiVersion: v1
  3. kind: ClusterRole
  4. metadata:
  5. name: descheduler-cr
  6. rules:
  7. - apiGroups:
  8. - ""
  9. resources:
  10. - nodes
  11. verbs:
  12. - get
  13. - list
  14. - watch
  15. attributeRestrictions: null
  16. - apiGroups:
  17. - ""
  18. resources:
  19. - pods
  20. verbs:
  21. - get
  22. - list
  23. - watch
  24. - delete
  25. attributeRestrictions: null
  26. - apiGroups:
  27. - ""
  28. resources:
  29. - pods/eviction
  30. verbs:
  31. - create
  32. attributeRestrictions: null