Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mimir-distributed] Ingester rollout-group conflicts with other charts #8406

Open
lindeskar opened this issue Jun 17, 2024 · 3 comments · May be fixed by #8646
Open

[mimir-distributed] Ingester rollout-group conflicts with other charts #8406

lindeskar opened this issue Jun 17, 2024 · 3 comments · May be fixed by #8646
Labels

Comments

@lindeskar
Copy link

Describe the bug

The mimir-distributed Helm chart generates Ingester StatefulSets with labels for rollout-operator. Ex.:

The loki Helm chart with deploymentMode: Distributed and zoneAwareReplication enabled (default) generates StatefulSets with the same label values. Ex.:

name: ingester-zone-a
rollout-group: ingester

Deploying the two charts to the same Namespace means rollout-operator will select both Mimir and Loki StatefulSets and get confused about the rollout status. For me one of the Mimir Ingester Pods is constantly being recreated.

Issue grafana/loki#13168 is created for the same issue in the Loki repository.

To Reproduce

Steps to reproduce the behavior:

  1. Deploy mimir-distributed chart with default values
  2. Deploy loki chart with distributed-values.yaml

Expected behavior

rollout-operator handles Mimir and Loki Ingesters as separate rollout-groups.

Environment

  • Infrastructure: Kubernetes
  • Deployment tool: Helm
  • Chart version: 5.3.0

Additional Context

From rollout-operator Pod:

level=info ts=2024-06-07T08:17:49.880277442Z msg="StatefulSet status is reporting all pods ready, but the rollout operator has found some not-Ready pods" statefulset=loki-ingester-zone-a not_ready_pods=mimir-ingester-zone-a-0
@narqo narqo added the helm label Jun 17, 2024
@dimitarvdimitrov
Copy link
Contributor

you should deploy them in different namespaces

@lindeskar
Copy link
Author

Sure, probably the easiest solution, though our setup runs LGTM in one Namespace today.

@narqo narqo linked a pull request Jul 7, 2024 that will close this issue
4 tasks
@lindeskar
Copy link
Author

The related issue in Loki was resolved with an optional prefix added in grafana/loki#15063

Could this be ok to add for Mimir too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants