Fusion de prometheus et granafa
This commit is contained in:
parent
82c43339cb
commit
2c57657fc9
39 changed files with 26968 additions and 57 deletions
19
templates/prometheus/exporters/node-exporter/service.yaml
Normal file
19
templates/prometheus/exporters/node-exporter/service.yaml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: node-exporter
|
||||
namespace: monitoring
|
||||
annotations:
|
||||
prometheus.io/scrape: 'true'
|
||||
spec:
|
||||
type: ClusterIP
|
||||
# service is created to allow prometheus to scape endpoints
|
||||
clusterIP: None
|
||||
selector:
|
||||
name: node-exporter
|
||||
phase: prod
|
||||
ports:
|
||||
- name: metrics
|
||||
protocol: TCP
|
||||
port: 80
|
||||
targetPort: 9100
|
||||
Loading…
Add table
Add a link
Reference in a new issue