@@ -683,6 +683,11 @@ lifecycler:
683683 # CLI flag: -distributor.zone-awareness-enabled
684684 [zone_awareness_enabled: <boolean> | default = false]
685685
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+
686691 # Number of tokens for each ingester.
687692 # CLI flag: -ingester.num-tokens
688693 [num_tokens: <int> | default = 128]
@@ -701,10 +706,13 @@ lifecycler:
701706 # CLI flag: -ingester.join-after
702707 [join_after: <duration> | default = 0s]
703708
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.
706714 # CLI flag: -ingester.min-ready-duration
707- [min_ready_duration: <duration> | default = 1m ]
715+ [min_ready_duration: <duration> | default = 15s ]
708716
709717 # Name of network interface to read address from.
710718 # CLI flag: -ingester.lifecycler.interface
@@ -729,6 +737,14 @@ lifecycler:
729737 # CLI flag: -ingester.unregister-on-shutdown
730738 [unregister_on_shutdown: <boolean> | default = true]
731739
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+
732748# Number of times to try and transfer chunks before falling back to flushing.
733749# Negative value or zero disables hand-over. This feature is supported only by
734750# the chunks storage.
0 commit comments