-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Helm] Ingester rollout-group collides with Mimir #13168
Comments
My suggested fix; use |
I'm having the same issue, would it be possible for a maintainer to review the PR @lindeskar opened? |
I am also facing this issue. I don't see a workaround since ingester anti-affinity rules are ignored with zoneAwareReplication enabled. Disabling rollout_operator also does not remove the rollout-group: ingester labels from Loki ingester pods. Edit: Workaround was to use kustomize and change the rollout-group label to |
This just cost us a few days and a lot of panic |
We are discussing this more internally, but generally we don't recommend running different databases in the same namespace. Mainly because we don't do it this way so we don't know where else problems like this might occur (service name collisions? memberlist joining between clusters?!) |
Unfortunately that doesn't work for us as our security and deployment
models assume a namespace per functional area/tenant not per service and it
would be hard to change as some of our clusters already have 100s of
namespaces.
…On Wed, Nov 27, 2024, 1:41 PM Ed Welch ***@***.***> wrote:
We are discussing this more internally, but generally we don't recommend
running different databases in the same namespace. Mainly because we don't
do it this way so we don't know where else problems like this might occur
(service name collisions? memberlist joining between clusters?!)
—
Reply to this email directly, view it on GitHub
<#13168 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABPWAWXDDLNVSZIDDGCB6B32CYN6BAVCNFSM6AAAAABI6KRLOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBUGY2TKNRSGU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Describe the bug
The
loki
Helm chart withdeploymentMode: Distributed
andzoneAwareReplication
enabled (default) generates Ingester StatefulSets with labels for rollout-operator. Ex.:loki/production/helm/loki/templates/ingester/statefulset-ingester-zone-a.yaml
Lines 61 to 62 in 9c96d26
The mimir-distributed Helm chart generates StatefulSets with the same label values. Ex. mimir-ingester-zone-a-0:
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.
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:
Screenshots, Promtail config, or terminal output
From
rollout-operator
Pod:The text was updated successfully, but these errors were encountered: