Files
kube-prometheus/manifests/custom-metrics-api/hpa-custom-metrics-cluster-role-binding.yaml
2017-11-13 11:58:47 +01:00

13 lines
318 B
YAML

apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: hpa-controller-custom-metrics
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: custom-metrics-server-resources
subjects:
- kind: ServiceAccount
name: horizontal-pod-autoscaler
namespace: kube-system