Skip to content

Commit

Permalink
Add documentation for monitoring without helm (kubernetes#7455)
Browse files Browse the repository at this point in the history
* Add documentation for monitoring without helm

As someone who is currently learning Kubernetes without using helm, I wasn't able to get the ingress controller to export metrics without asking someone more experienced for help.

I think a bit more information would be a good addition for my fellow Kubernetes newcomers.  
If there are any wording/ formatting issues, I will be happy to update this.

* Fix typo
  • Loading branch information
DysphoricUnicorn authored and rchshld committed May 17, 2023
1 parent c43ec36 commit 40f4e7f
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions docs/user-guide/monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 40f4e7f

Please sign in to comment.