-
Notifications
You must be signed in to change notification settings - Fork 542
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
Comments
you should deploy them in different namespaces |
Sure, probably the easiest solution, though our setup runs LGTM in one Namespace today. |
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? |
If the other charts are doing it, then it should be ok to add it to the mimir-distributed chart too |
on a second thought and after some discussion in GL slack I think we should close this and reject the patch. Here's our thought process: The LGTM helm charts aren't designed to run in the same namespace. They surely can if configured properly and configuration added where necessary. Unfortunately, predicting what might break is a a bit futile. There might always be something no one anticipated. Even if we squash all bugs, the added configuration adds more complexity to the deployment model: more bells and whistles, more edge cases. Namespaces in Kubernetes are purely a logical separation and creating an additional one isn't complicated. That may not be the reality of it, but this chart targets Kubernetes in general, not specific organiational structures that companies might have. |
Describe the bug
The
mimir-distributed
Helm chart generates Ingester StatefulSets with labels for rollout-operator. Ex.:mimir/operations/helm/tests/large-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml
Lines 51 to 52 in 8571f6c
The
loki
Helm chart withdeploymentMode: Distributed
andzoneAwareReplication
enabled (default) generates StatefulSets with the same label values. Ex.: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:
mimir-distributed
chart with default valuesloki
chart with distributed-values.yamlExpected behavior
rollout-operator handles Mimir and Loki Ingesters as separate rollout-groups.
Environment
Additional Context
From
rollout-operator
Pod:The text was updated successfully, but these errors were encountered: