hpa-custom-metrics-cluster-role-binding.yaml 318 B

123456789101112
  1. apiVersion: rbac.authorization.k8s.io/v1beta1
  2. kind: ClusterRoleBinding
  3. metadata:
  4. name: hpa-controller-custom-metrics
  5. roleRef:
  6. apiGroup: rbac.authorization.k8s.io
  7. kind: ClusterRole
  8. name: custom-metrics-server-resources
  9. subjects:
  10. - kind: ServiceAccount
  11. name: horizontal-pod-autoscaler
  12. namespace: kube-system