grafana / loki

Like Prometheus, but for logs.
https://grafana.com/loki
GNU Affero General Public License v3.0
23.97k stars 3.46k forks source link

[Helm] when deployed with multiple LGTM components in one namespace Ingester naming causes conflicts #15062

Open boldfield opened 6 hours ago

boldfield commented 6 hours ago

Describe the bug When deploying multiple distributed LTGM stack components to a single namespace the anti-affinity rules of each component's conflict with each other. E.g. here:

        podAntiAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            - labelSelector:
                matchExpressions:
                  - key: rollout-group
                    operator: In
                    values:
                      - ingester
                  - key: name
                    operator: NotIn
                    values:
                      - ingester-zone-a

To Reproduce Steps to reproduce the behavior:

  1. Deploy distributed Loki, Tempo, and Mimir to a single Kubernetes namespace
  2. watch scheduling failures due to podAntiAffinity rule conflicts

Expected behavior All ingester components schedule successfully schedule and deploy

Environment:

Screenshots, Promtail config, or terminal output N/A