Deploys tpaulus/tmobile-internet-exporter against the G4AR at 192.168.12.1, picked up by the existing kubernetes-services scrape job via prometheus.io/scrape annotations on the Service.
19 lines
416 B
YAML
19 lines
416 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: tmobile-exporter
|
|
namespace: monitoring
|
|
labels:
|
|
app.kubernetes.io/name: tmobile-exporter
|
|
annotations:
|
|
prometheus.io/scrape: "true"
|
|
prometheus.io/port: "9099"
|
|
prometheus.io/job: tmobile_gateway
|
|
spec:
|
|
selector:
|
|
app.kubernetes.io/name: tmobile-exporter
|
|
ports:
|
|
- name: metrics
|
|
port: 9099
|
|
targetPort: metrics
|
|
protocol: TCP
|