@@ -683,6 +683,11 @@ lifecycler:
683
683
# CLI flag: -distributor.zone-awareness-enabled
684
684
[zone_awareness_enabled: <boolean> | default = false]
685
685
686
+ # Comma-separated list of zones to exclude from the ring. Instances in
687
+ # excluded zones will be filtered out from the ring.
688
+ # CLI flag: -distributor.excluded-zones
689
+ [excluded_zones: <string> | default = ""]
690
+
686
691
# Number of tokens for each ingester.
687
692
# CLI flag: -ingester.num-tokens
688
693
[num_tokens: <int> | default = 128]
@@ -701,10 +706,13 @@ lifecycler:
701
706
# CLI flag: -ingester.join-after
702
707
[join_after: <duration> | default = 0s]
703
708
704
- # Minimum duration to wait before becoming ready. This is to work around race
705
- # conditions with ingesters exiting and updating the ring.
709
+ # Minimum duration to wait after the internal readiness checks have passed but
710
+ # before succeeding the readiness endpoint. This is used to slowdown
711
+ # deployment controllers (eg. Kubernetes) after an instance is ready and
712
+ # before they proceed with a rolling update, to give the rest of the cluster
713
+ # instances enough time to receive ring updates.
706
714
# CLI flag: -ingester.min-ready-duration
707
- [min_ready_duration: <duration> | default = 1m ]
715
+ [min_ready_duration: <duration> | default = 15s ]
708
716
709
717
# Name of network interface to read address from.
710
718
# CLI flag: -ingester.lifecycler.interface
@@ -729,6 +737,14 @@ lifecycler:
729
737
# CLI flag: -ingester.unregister-on-shutdown
730
738
[unregister_on_shutdown: <boolean> | default = true]
731
739
740
+ # When enabled the readiness probe succeeds only after all instances are
741
+ # ACTIVE and healthy in the ring, otherwise only the instance itself is
742
+ # checked. This option should be disabled if in your cluster multiple
743
+ # instances can be rolled out simultaneously, otherwise rolling updates may be
744
+ # slowed down.
745
+ # CLI flag: -ingester.readiness-check-ring-health
746
+ [readiness_check_ring_health: <boolean> | default = true]
747
+
732
748
# Number of times to try and transfer chunks before falling back to flushing.
733
749
# Negative value or zero disables hand-over. This feature is supported only by
734
750
# the chunks storage.
0 commit comments