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,14 @@
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: custom-metrics-resource-reader
rules:
- apiGroups:
- ""
resources:
- namespaces
- pods
- services
verbs:
- get
- list