---
apiVersion: v1
kind: Service
metadata:
  annotations:
    prometheus.io/scrape: "true"
  labels:
    app.kubernetes.io/component: metrics
    app.kubernetes.io/instance: nodeexporter
    app.kubernetes.io/name: prometheus-node-exporter
    app.kubernetes.io/part-of: prometheus-node-exporter
    app.kubernetes.io/version: 1.9.0
  name: nodeexporter-prometheus-node-exporter
  namespace: otel-lgtm-stack
spec:
  ports:
    - name: metrics
      port: 9101
      protocol: TCP
      targetPort: 9101
  selector:
    app.kubernetes.io/instance: nodeexporter
    app.kubernetes.io/name: prometheus-node-exporter
  type: ClusterIP
