From fd87363b5e8d3ac78cc058544ed2d4e66980e53c Mon Sep 17 00:00:00 2001 From: Indhu Kumar Date: Sat, 26 Feb 2022 14:53:17 -0800 Subject: [PATCH] Issue#8241 (#8273) * replace daemon set for deployment manifest * nit --- docs/user-guide/monitoring.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/docs/user-guide/monitoring.md b/docs/user-guide/monitoring.md index a89e110877..99039d635c 100644 --- a/docs/user-guide/monitoring.md +++ b/docs/user-guide/monitoring.md @@ -61,13 +61,21 @@ This tutorial will show you how to install [Prometheus](https://prometheus.io/) ``` - - DaemonSet manifest: - ``` - .. + - Deployment manifest: + ``` + apiVersion: v1 + metadata: + kind: Deployment + annotations: + prometheus.io/scrape: "true" + prometheus.io/port: "10254" + .. + spec: ports: - name: prometheus containerPort: 10254 - .. + .. + ```