Skip to content

Commit 077f204

Browse files
authored
Update index.md (#7274)
fixed the command to install the prometheus operator
1 parent db9a211 commit 077f204

File tree

1 file changed

+5
-6
lines changed
  • docs/guides/kubernetes/deploy-prometheus-operator-with-grafana-on-lke

1 file changed

+5
-6
lines changed

docs/guides/kubernetes/deploy-prometheus-operator-with-grafana-on-lke/index.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,13 +150,12 @@ In this section, you will create a Helm chart values file and use it to deploy P
150150
1. Using Helm, deploy a Prometheus Operator release labeled `lke-monitor` in the `monitoring` namespace on your LKE cluster with the settings established in your `values.yaml` file:
151151

152152
```command
153-
helm install \
154-
lke-monitor stable/kube-prometheus-stack\
153+
helm install lke-monitor kube-prometheus-stack \
154+
--repo https://prometheus-community.github.io/helm-charts \
155155
-f ~/lke-monitor/values.yaml \
156156
--namespace monitoring \
157-
--set grafana.adminPassword=$GRAFANA_ADMINPASSWORD \
158-
--set prometheusOperator.createCustomResource=false \
159-
--repo https://prometheus-community.github.io/helm-charts
157+
--set grafana.adminPassword="$GRAFANA_ADMINPASSWORD" \
158+
--set prometheusOperator.createCustomResource=false
160159
```
161160

162161
{{< note >}}
@@ -653,4 +652,4 @@ Your monitoring interfaces are now publicly accessible with HTTPS and basic auth
653652

654653
When accessing an interface for the first time, log in as `admin` with the password you configured for [basic auth credentials](#configure-basic-auth-credentials).
655654

656-
When accessing the Grafana interface, you will then log in again as `admin` with the password you exported as `$GRAFANA_ADMINPASSWORD` on your local environment. The Grafana dashboards are accessible at **Dashboards > Manage** from the left navigation bar.
655+
When accessing the Grafana interface, you will then log in again as `admin` with the password you exported as `$GRAFANA_ADMINPASSWORD` on your local environment. The Grafana dashboards are accessible at **Dashboards > Manage** from the left navigation bar.

0 commit comments

Comments
 (0)