parent
1e66a54974
commit
fd87363b5e
1 changed files with 12 additions and 4 deletions
|
@ -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:
|
ports:
|
||||||
- name: prometheus
|
- name: prometheus
|
||||||
containerPort: 10254
|
containerPort: 10254
|
||||||
..
|
..
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue