From 5d2940ef86a425ce4cceb1eea9c4f98c4b2dc59e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de> Date: Fri, 18 Dec 2020 18:01:29 +0100 Subject: [PATCH] Clarify Prometheus RBAC section --- execution/README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/execution/README.md b/execution/README.md index eeec8faad..231bfa5a8 100644 --- a/execution/README.md +++ b/execution/README.md @@ -38,12 +38,18 @@ After installation, you need to create a Prometheus instance: kubectl apply -f infrastructure/prometheus/prometheus.yaml ``` -You might also need to apply the [ServiceAccount](infrastructure/prometheus/service-account.yaml), -[ClusterRole](infrastructure/prometheus/cluster-role.yaml) and the -[CusterRoleBinding](infrastructure/prometheus/cluster-role-binding.yaml), depending on your cluster's security +You might also need to apply the [ClusterRole](infrastructure/prometheus/cluster-role.yaml), the +[CusterRoleBinding](infrastructure/prometheus/cluster-role-binding.yaml) and the +[ServiceAccount](infrastructure/prometheus/service-account.yaml), depending on your cluster's security policies. If you are not in the *default* namespace, alter the namespace in [Prometheus' ClusterRoleBinding](infrastructure/prometheus/cluster-role-binding.yaml) accordingly. +```sh +kubectl apply -f infrastructure/prometheus/cluster-role.yaml +kubectl apply -f infrastructure/prometheus/cluster-role-binding.yaml +kubectl apply -f infrastructure/prometheus/service-account.yaml +``` + For the individual benchmarking components to be monitored, [ServiceMonitors](https://github.com/coreos/prometheus-operator#customresourcedefinitions) are used. See the corresponding sections below for how to install them. -- GitLab