apiVersion: v1
kind: Service
metadata:
  name: loki-alloy
  namespace: loki
  labels:
    helm.sh/chart: alloy-1.8.1
    app.kubernetes.io/name: alloy
    app.kubernetes.io/instance: loki
    app.kubernetes.io/version: "v1.16.1"
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/part-of: alloy
    app.kubernetes.io/component: networking
spec:
  type: ClusterIP
  selector:
    app.kubernetes.io/name: alloy
    app.kubernetes.io/instance: loki
  internalTrafficPolicy: Cluster
  ports:
    - name: http-metrics
      port: 12345
      targetPort: 12345
      protocol: "TCP"
