typhoon/addons/prometheus/exporters/node-exporter/service.yaml

18 lines
328 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
name: node-exporter
namespace: monitoring
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