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,13 @@
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: RoleBinding
metadata:
name: custom-metrics-auth-reader
namespace: kube-system
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: extension-apiserver-authentication-reader
subjects:
- kind: ServiceAccount
name: custom-metrics-apiserver
namespace: monitoring