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