clusterrole.yml 587 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. ---
  2. apiVersion: v1
  3. kind: ClusterRole
  4. metadata:
  5. name: system:cluster-autoscaler
  6. rules:
  7. - apiGroups:
  8. - ""
  9. resources:
  10. - nodes
  11. - persistentvolumeclaims
  12. - persistentvolumes
  13. - pods
  14. - replicationcontrollers
  15. - services
  16. verbs:
  17. - get
  18. - list
  19. - watch
  20. attributeRestrictions: null
  21. - apiGroups:
  22. - extensions
  23. - apps
  24. resources:
  25. - daemonsets
  26. - replicasets
  27. - statefulsets
  28. verbs:
  29. - get
  30. - list
  31. - watch
  32. attributeRestrictions: null
  33. - apiGroups:
  34. - policy
  35. resources:
  36. - poddisruptionbudgets
  37. verbs:
  38. - get
  39. - list
  40. - watch
  41. attributeRestrictions: null