1
0
Fork 0
mirror of https://github.com/poseidon/typhoon synced 2024-06-10 00:36:11 +02:00
typhoon/addons/prometheus/exporters/node-exporter/service.yaml

20 lines
376 B
YAML

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