kube-prometheus: add metrics-server example

This commit is contained in:
Frederic Branczyk
2017-11-10 12:00:53 +01:00
parent b65ed3ba60
commit 3a2dd05da4
8 changed files with 117 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: system:metrics-server
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: system:metrics-server
subjects:
- kind: ServiceAccount
name: metrics-server
namespace: kube-system