apiVersion: v1
kind: Service
metadata:
  name: eraser-metrics
  labels:
    app.kubernetes.io/instance: eraser
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: eraser-metrics
    app.kubernetes.io/service: eraser-metrics
    helm.sh/chart: eraser-metrics-5.0.1
  namespace: eraser
spec:
  type: ClusterIP
  ports:
    - port: 4318
      targetPort: 4318
      protocol: TCP
      name: http
    - port: 8889
      targetPort: 8889
      protocol: TCP
      name: metrics
  selector:
    app.kubernetes.io/controller: main
    app.kubernetes.io/instance: eraser
    app.kubernetes.io/name: eraser-metrics
