Commit 45bac9f
committed
operations: add per-zone config for enabling "ingester multi-az"
When enabling `multi_zone_ingester_multi_az_enabled` in the step-3 of the
migration, we change the spec of the ingester-zone-a to add the `nodeAffinity`
and that cause a rollout. Since zone-b isn't restarted at this point, it
can cause a period in which a ingester shard isn't available. This is only
true when not using ingester-zone-c for the migrations.
We add new configs that allows a more fine grain control and update the
migration process to set those specs, before we stop the zone-b, preventing
a zone-a rollout when we enable `multi_zone_ingester_multi_az_enabled`.
Signed-off-by: Laurent Dufresne <laurent.dufresne@grafana.com>1 parent e9f81db commit 45bac9f
File tree
11 files changed
+117
-5
lines changed- operations
- mimir-tests
- mimir
11 files changed
+117
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
| 378 | + | |
378 | 379 | | |
379 | 380 | | |
380 | 381 | | |
| |||
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4374 | 4374 | | |
4375 | 4375 | | |
4376 | 4376 | | |
| 4377 | + | |
| 4378 | + | |
| 4379 | + | |
| 4380 | + | |
| 4381 | + | |
| 4382 | + | |
| 4383 | + | |
| 4384 | + | |
4377 | 4385 | | |
4378 | 4386 | | |
4379 | 4387 | | |
| |||
4468 | 4476 | | |
4469 | 4477 | | |
4470 | 4478 | | |
| 4479 | + | |
| 4480 | + | |
| 4481 | + | |
| 4482 | + | |
| 4483 | + | |
4471 | 4484 | | |
4472 | 4485 | | |
4473 | 4486 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4426 | 4426 | | |
4427 | 4427 | | |
4428 | 4428 | | |
| 4429 | + | |
| 4430 | + | |
| 4431 | + | |
| 4432 | + | |
| 4433 | + | |
| 4434 | + | |
| 4435 | + | |
| 4436 | + | |
4429 | 4437 | | |
4430 | 4438 | | |
4431 | 4439 | | |
| |||
4520 | 4528 | | |
4521 | 4529 | | |
4522 | 4530 | | |
| 4531 | + | |
| 4532 | + | |
| 4533 | + | |
| 4534 | + | |
| 4535 | + | |
4523 | 4536 | | |
4524 | 4537 | | |
4525 | 4538 | | |
| |||
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4426 | 4426 | | |
4427 | 4427 | | |
4428 | 4428 | | |
| 4429 | + | |
| 4430 | + | |
| 4431 | + | |
| 4432 | + | |
| 4433 | + | |
| 4434 | + | |
| 4435 | + | |
| 4436 | + | |
4429 | 4437 | | |
4430 | 4438 | | |
4431 | 4439 | | |
| |||
4520 | 4528 | | |
4521 | 4529 | | |
4522 | 4530 | | |
| 4531 | + | |
| 4532 | + | |
| 4533 | + | |
| 4534 | + | |
| 4535 | + | |
4523 | 4536 | | |
4524 | 4537 | | |
4525 | 4538 | | |
| |||
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4426 | 4426 | | |
4427 | 4427 | | |
4428 | 4428 | | |
| 4429 | + | |
| 4430 | + | |
| 4431 | + | |
| 4432 | + | |
| 4433 | + | |
| 4434 | + | |
| 4435 | + | |
| 4436 | + | |
4429 | 4437 | | |
4430 | 4438 | | |
4431 | 4439 | | |
| |||
4520 | 4528 | | |
4521 | 4529 | | |
4522 | 4530 | | |
| 4531 | + | |
| 4532 | + | |
| 4533 | + | |
| 4534 | + | |
| 4535 | + | |
4523 | 4536 | | |
4524 | 4537 | | |
4525 | 4538 | | |
| |||
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4426 | 4426 | | |
4427 | 4427 | | |
4428 | 4428 | | |
| 4429 | + | |
| 4430 | + | |
| 4431 | + | |
| 4432 | + | |
| 4433 | + | |
| 4434 | + | |
| 4435 | + | |
| 4436 | + | |
4429 | 4437 | | |
4430 | 4438 | | |
4431 | 4439 | | |
| |||
4520 | 4528 | | |
4521 | 4529 | | |
4522 | 4530 | | |
| 4531 | + | |
| 4532 | + | |
| 4533 | + | |
| 4534 | + | |
| 4535 | + | |
4523 | 4536 | | |
4524 | 4537 | | |
4525 | 4538 | | |
| |||
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4426 | 4426 | | |
4427 | 4427 | | |
4428 | 4428 | | |
| 4429 | + | |
| 4430 | + | |
| 4431 | + | |
| 4432 | + | |
| 4433 | + | |
| 4434 | + | |
| 4435 | + | |
| 4436 | + | |
4429 | 4437 | | |
4430 | 4438 | | |
4431 | 4439 | | |
| |||
4520 | 4528 | | |
4521 | 4529 | | |
4522 | 4530 | | |
| 4531 | + | |
| 4532 | + | |
| 4533 | + | |
| 4534 | + | |
| 4535 | + | |
4523 | 4536 | | |
4524 | 4537 | | |
4525 | 4538 | | |
| |||
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4403 | 4403 | | |
4404 | 4404 | | |
4405 | 4405 | | |
| 4406 | + | |
| 4407 | + | |
| 4408 | + | |
| 4409 | + | |
| 4410 | + | |
| 4411 | + | |
| 4412 | + | |
| 4413 | + | |
4406 | 4414 | | |
4407 | 4415 | | |
4408 | 4416 | | |
| |||
4497 | 4505 | | |
4498 | 4506 | | |
4499 | 4507 | | |
| 4508 | + | |
| 4509 | + | |
| 4510 | + | |
| 4511 | + | |
| 4512 | + | |
4500 | 4513 | | |
4501 | 4514 | | |
4502 | 4515 | | |
| |||
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4403 | 4403 | | |
4404 | 4404 | | |
4405 | 4405 | | |
| 4406 | + | |
| 4407 | + | |
| 4408 | + | |
| 4409 | + | |
| 4410 | + | |
| 4411 | + | |
| 4412 | + | |
| 4413 | + | |
4406 | 4414 | | |
4407 | 4415 | | |
4408 | 4416 | | |
| |||
4497 | 4505 | | |
4498 | 4506 | | |
4499 | 4507 | | |
| 4508 | + | |
| 4509 | + | |
| 4510 | + | |
| 4511 | + | |
| 4512 | + | |
4500 | 4513 | | |
4501 | 4514 | | |
4502 | 4515 | | |
| |||
0 commit comments