From b85530a2723e99a433f8d181e4218121046e55ad Mon Sep 17 00:00:00 2001 From: Ankur Kothiwal Date: Thu, 8 Jul 2021 14:49:03 +0530 Subject: [PATCH 1/2] fix grafana deployment issue Signed-off-by: Ankur Kothiwal --- deployments/prometheus/prometheus-grafana-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployments/prometheus/prometheus-grafana-deployment.yaml b/deployments/prometheus/prometheus-grafana-deployment.yaml index ff841d2..7603099 100644 --- a/deployments/prometheus/prometheus-grafana-deployment.yaml +++ b/deployments/prometheus/prometheus-grafana-deployment.yaml @@ -12,7 +12,7 @@ kind: ConfigMap metadata: labels: kubearmor-app: grafana - name: kubearmor-grafana-dashboard + name: grafana-config namespace: kubearmor data: config.yaml: | From 23cdc4bff7c28fcd84d7ba7e5394e6a6a91a52b8 Mon Sep 17 00:00:00 2001 From: Ankur Kothiwal Date: Thu, 8 Jul 2021 14:54:13 +0530 Subject: [PATCH 2/2] fix namespace for prometheus and grafana deployment in the README Signed-off-by: Ankur Kothiwal --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 027704f..f83155a 100644 --- a/README.md +++ b/README.md @@ -30,14 +30,14 @@ The prometheus-grafana-deployment.yaml is highly inspired from the Cilium's exam Expose the port on your local machine ``` -kubectl -n explorer port-forward service/prometheus --address 0.0.0.0 --address :: 9091:9090 +kubectl -n kubearmor port-forward service/prometheus --address 0.0.0.0 --address :: 9091:9090 ``` ### Grafana Access Expose the port on your local machine ``` -kubectl -n explorer port-forward service/grafana --address 0.0.0.0 --address :: 3000:3000 +kubectl -n kubearmor port-forward service/grafana --address 0.0.0.0 --address :: 3000:3000 ``` ---