kube-prometheus: add custom-metrics-api example

This commit is contained in:
Frederic Branczyk
2017-11-10 10:33:32 +01:00
parent b071ae02ca
commit b65ed3ba60
15 changed files with 205 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
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