From 4da2b2118fbdca75486d7cd92a4eab3dc15a1b3f Mon Sep 17 00:00:00 2001 From: Bence Csati Date: Thu, 10 Oct 2024 11:09:49 +0200 Subject: [PATCH] fix: update monitoring docs Signed-off-by: Bence Csati --- content/docs/operation/logging-operator-monitoring.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/content/docs/operation/logging-operator-monitoring.md b/content/docs/operation/logging-operator-monitoring.md index 230327987..ffe53e362 100644 --- a/content/docs/operation/logging-operator-monitoring.md +++ b/content/docs/operation/logging-operator-monitoring.md @@ -53,7 +53,11 @@ For more details on installing the Prometheus operator and configuring and acces 1. Install Prometheus Operator ```bash - helm upgrade --install --wait --create-namespace --namespace logging monitor stable/prometheus-operator \ + helm repo add prometheus-community https://prometheus-community.github.io/helm-charts + ``` + + ```bash + helm upgrade --install --wait --create-namespace --namespace logging monitor prometheus-community/kube-prometheus-stack \ --set "grafana.dashboardProviders.dashboardproviders\\.yaml.apiVersion=1" \ --set "grafana.dashboardProviders.dashboardproviders\\.yaml.providers[0].orgId=1" \ --set "grafana.dashboardProviders.dashboardproviders\\.yaml.providers[0].type=file" \ @@ -262,7 +266,7 @@ For more details on installing the Prometheus operator and configuring and acces 1. Forward Service ```bash - kubectl port-forward svc/monitor-prometheus-operato-prometheus 9090 + kubectl -n logging port-forward svc/monitor-kube-prometheus-st-prometheus 9090 ``` 1. Open the [Prometheus Dashboard: http://localhost:9090](http://localhost:9090)