diff --git a/docs/user-guide/monitoring.md b/docs/user-guide/monitoring.md index 6471f997e..d02e1a682 100644 --- a/docs/user-guide/monitoring.md +++ b/docs/user-guide/monitoring.md @@ -38,6 +38,33 @@ This tutorial will show you how to install [Prometheus](https://prometheus.io/) prometheus.io/scrape: "true" .. ``` + - If you are **not using helm**, you will have to edit your manifests like this: + - Service manifest: + ``` + apiVersion: v1 + kind: Service + metadata: + annotations: + prometheus.io/scrape: "true" + prometheus.io/port: "10254" + .. + spec: + ports: + - name: prometheus + port: 10254 + targetPort: prometheus + .. + + ``` + + - DaemonSet manifest: + ``` + .. + ports: + - name: prometheus + containerPort: 10254 + .. + ``` ## Deploy and configure Prometheus Server