mirror of
https://github.com/puppetmaster/typhoon.git
synced 2024-12-25 19:59:34 +01:00
20 lines
376 B
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
|