Skip to content

Commit 81d287a

Browse files
Create prometheus-config.yaml
1 parent 9311ee6 commit 81d287a

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

manifests/prometheus-config.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
apiVersion: v1
2+
kind: ConfigMap
3+
metadata:
4+
name: prometheus-config
5+
namespace: monitoring
6+
data:
7+
prometheus.yml: |
8+
global:
9+
scrape_interval: 15s
10+
11+
scrape_configs:
12+
- job_name: "prometheus"
13+
static_configs:
14+
- targets: ["localhost:9090"]
15+
16+
- job_name: "node_exporter"
17+
static_configs:
18+
- targets: ["node-exporter.monitoring.svc.cluster.local:9100"]

0 commit comments

Comments
 (0)