apiVersion: v1
kind: Service
metadata:
  labels:
    app.kubernetes.io/managed-by: karavel
    app.kubernetes.io/name: loki
    app.kubernetes.io/part-of: loki
    app.kubernetes.io/service: headless
    app.kubernetes.io/version: 2.4.1
    karavel.io/component-name: loki
    karavel.io/component-version: 0.1.0-SNAPSHOT
  name: loki-headless
  namespace: monitoring
spec:
  clusterIP: None
  ports:
  - name: http-metrics
    port: 3100
    protocol: TCP
    targetPort: http-metrics
  - name: gossip
    port: 7946
    protocol: TCP
    targetPort: gossip
  publishNotReadyAddresses: true
  selector:
    app.kubernetes.io/managed-by: karavel
    app.kubernetes.io/name: loki
    app.kubernetes.io/part-of: loki
    karavel.io/component-name: loki
