cluster-autoscaler-binding.yaml 505 B

1234567891011121314151617
  1. # This is the role binding for the kubemark cluster autoscaler.
  2. # TODO: Use proper Cluster Autoscaler role (github.com/kubernetes/autoscaler/issues/383)
  3. apiVersion: rbac.authorization.k8s.io/v1
  4. kind: ClusterRoleBinding
  5. metadata:
  6. name: cluster-autoscaler-view-binding
  7. labels:
  8. kubernetes.io/cluster-service: "true"
  9. roleRef:
  10. apiGroup: rbac.authorization.k8s.io
  11. kind: ClusterRole
  12. name: cluster-admin
  13. subjects:
  14. - apiGroup: rbac.authorization.k8s.io
  15. kind: User
  16. name: system:cluster-autoscaler