Fusion de prometheus et granafa

This commit is contained in:
Adrien Reslinger 2020-04-20 18:03:28 +02:00
parent 82c43339cb
commit 2c57657fc9
39 changed files with 26968 additions and 57 deletions

View 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