From 02704ad30c317095084248cc5ae77f94707fe217 Mon Sep 17 00:00:00 2001 From: k8s-infra-cherrypick-robot <90416843+k8s-infra-cherrypick-robot@users.noreply.github.com> Date: Sun, 20 Apr 2025 04:30:59 -0700 Subject: [PATCH] Docs: Improve formatting in `monitoring.md`. (#13241) Co-authored-by: Dezhi Wu --- docs/user-guide/monitoring.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/user-guide/monitoring.md b/docs/user-guide/monitoring.md index 9a5a8fa74..1f4188be9 100644 --- a/docs/user-guide/monitoring.md +++ b/docs/user-guide/monitoring.md @@ -1,6 +1,7 @@ # Monitoring Two different methods to install and configure Prometheus and Grafana are described in this doc. + * Prometheus and Grafana installation using Pod Annotations. This installs Prometheus and Grafana in the same namespace as NGINX Ingress * Prometheus and Grafana installation using Service Monitors. This installs Prometheus and Grafana in two different namespaces. This is the preferred method, and helm charts supports this by default. @@ -15,7 +16,7 @@ This tutorial will show you how to install [Prometheus](https://prometheus.io/) - The Ingress-Nginx Controller should already be deployed according to the deployment instructions [here](../deploy/index.md). -- The controller should be configured for exporting metrics. This requires 3 configurations to the controller. These configurations are : +- The controller should be configured for exporting metrics. This requires 3 configurations to the controller. These configurations are: 1. controller.metrics.enabled=true 2. controller.podAnnotations."prometheus.io/scrape"="true" 3. controller.podAnnotations."prometheus.io/port"="10254" @@ -74,7 +75,7 @@ This tutorial will show you how to install [Prometheus](https://prometheus.io/) - name: controller args: .. - - '--enable-metrics=true' + - '--enable-metrics=true' ports: - name: prometheus containerPort: 10254