Why zone-aware ingesters matter for Loki rollouts
Zone-aware ingesters let an operator restart an entire availability zone of Loki ingesters at once without interrupting writes. Each log line is sent to one ingester in each zone rather than to any three ingesters in the cluster, so losing every ingester in one zone still leaves a complete copy of the data in the others. For a team running a large cluster, this changes an ingester rollout from a careful, one-pod-at-a-time exercise into a zone-by-zone operation that can be scheduled and repeated.
By default, Loki replicates each stream to 3 random ingesters. Because those three are chosen without regard to placement, two or more of them can land on nodes that restart together, such as during a node pool upgrade or a zone maintenance window. If two of the three restart at the same time, the replication guarantee no longer holds for the streams they shared, and data can be lost. Teams that roll out ingesters slowly to avoid this pay for it in upgrade time and in the operator attention each step demands.
Zone awareness is worth planning for when your cluster spans several zones, when ingester rollouts are frequent or long, or when a data-loss window is unacceptable for your logs. Before enabling it, confirm with your platform team that your Kubernetes nodes carry zone labels, that each zone has enough capacity to hold a full set of ingesters, and that your storage and replication settings match the design in the Loki zone-aware ingesters documentation.
How log lines flow to ingesters across zones
The diagram starts at the distributors, which receive each pushed stream and send it to one ingester in each zone, so a copy of every log line lands in three zones. During a rolling restart of one zone, the distributors keep writing to the ingesters in the other zones, so the write path stays available. Check that each zone holds exactly one replica of a stream and that the restart is planned one zone at a time.
Illustrative: one replica per zone, with zone B restarting while writes continue to zones A and C.
Choosing between default replication and zone-aware ingesters
This table compares default random replication with zone-aware ingesters across rollout behavior, data-loss exposure, infrastructure needs and cluster size. Read each row against your own node layout and rollout practice, then confirm the open points with your team before changing replication settings.
| Factor | Default random replication | Zone-aware ingesters |
|---|---|---|
| Stream placement | Each stream goes to 3 randomly chosen ingesters | Each log line goes to one ingester in each zone |
| Rollout behavior | Restarting two or more of the three ingesters at once can lose data, so rollouts are paced one pod at a time | An entire zone can restart together without affecting writes, which speeds up rollouts on large clusters |
| Data-loss exposure during restarts | Higher when several ingesters restart close together, since replicas may overlap | Lower during zone-level restarts, because each zone holds a copy of every line |
| Infrastructure needs | No zone layout required; any node placement works | Nodes or pools must be labeled or spread across zones, and each zone needs enough ingester capacity |
| Kubernetes placement | Standard pod scheduling is usually enough | Requires zone-aware pod placement and a rollout process that restarts one zone at a time |
| Small clusters | Usually the simpler choice, with fewer moving parts to operate | Often more overhead than it returns when there are few ingesters and only one zone |
| Large clusters | Rollouts take longer as the ingester count grows | Better fit when rollout speed matters and the cluster spans several zones |
| What to confirm | Your current replication factor and rollout procedure | Number of zones available, node labels per zone, and the ingester resources each zone can hold |
When rollout speed for large clusters justifies zones
Zone-aware ingesters repay their setup effort when restarting many ingesters at once carries a high cost. The five situations below share that trait, and each one makes a zone-by-zone rollout worth planning. Smaller single-zone clusters with relaxed write needs usually gain less from the layout.
Large ingester fleets
A fleet with many ingesters restarts many pods during any maintenance pass, and each restart is a window in which some streams have fewer healthy replicas. With zone awareness, the rollout can proceed one zone at a time, so the number of concurrent restarts is bounded by zone size instead of fleet size. Check how many ingester replicas you run in each zone, whether each zone can absorb the traffic of a whole zone that is down, and whether your Helm values or manifests label every ingester pod with its zone consistently.
Zone-aware ingester docsFrequent upgrade cycles
Teams that upgrade Loki on every minor release, or that rotate Kubernetes nodes on each platform release, touch ingesters far more often than a yearly schedule suggests. Kubernetes ships on a cycle of about 14 weeks, so node pool rotations follow that rhythm too. Zone-aware rollouts let each upgrade move through zones in sequence, with a readiness check before the next zone starts. Confirm that your rollout tooling waits for ingesters to report ready, not just for new pods to be created.
Kubernetes release cycleMulti-zone cluster layouts
A cluster that spans cloud availability zones or separate data center rooms already has failure domains that match what zone-aware ingesters expect. Each zone holds one replica of every stream, so a single zone restart or outage leaves the other zones accepting writes. Before you enable the feature, map every ingester to a zone label, confirm the scheduler spreads ingester pods evenly across zones, and rehearse what happens when one zone's nodes are cordoned. Uneven spread leaves some zones heavier than others and can overload the zones that survive.
Strict write availability
Under the default setup, Loki sends each stream to three randomly chosen ingesters, and two or more restarting at once can lose data. If your log pipeline feeds audit trails, security investigations or regulated records, that exposure matters more than the speed of a rollout. Zone awareness places one copy of each line in each zone, so a whole zone can restart without taking the write path down with it. Ask the team to define the write loss it will accept, then test the claim in staging by restarting one full zone while a load generator keeps pushing logs.
Per-zone capacity headroom
Zone awareness shrinks the unit of downtime, but the surviving zones must carry writes while a neighbor restarts. Size each zone so that losing one leaves enough ingestion capacity for peak push rates, including retries from senders that buffer during the restart. Ask your implementation partner for the ingest rate and stream count used in sizing, the ingester count per zone, and the memory and disk each ingester needs under load. Revisit those numbers whenever the number of log senders changes.
How to place ingesters across Kubernetes zones
Managed Kubernetes services usually attach a zone label to every node automatically, so the main work is confirming that the labels exist, that your node pools span more than one zone, and that the zone count is what you expect. Zone-aware ingesters rely on Loki knowing which zone each ingester runs in, so the label your configuration references must match what the platform actually sets. Check this on a live cluster before changing Loki settings, because a mismatch often fails quietly and leaves every ingester in one effective zone.
- Confirm the zone label key: List node labels with kubectl and record the exact key the provider sets, then use that key wherever your configuration or topology rules refer to zones.
- Check node pool spread: Make sure each node pool that will host ingesters has nodes in every zone you plan to use, since a pool confined to one zone cannot provide zone separation.
- Plan for zone capacity: Confirm that each zone can hold its share of ingester pods, including after one zone is drained for maintenance.
- Confirm storage locality: Check whether your block storage for ingester volumes is zonal, because a persistent volume bound to one zone can prevent a pod from rescheduling to another.
- Watch zone-level events: Ask the provider how zone outages and maintenance are announced so your rollout schedule can avoid them.
Confirm the exact configuration keys and the chart values for zone-aware ingesters in the Loki zone-aware ingesters docs and in the documentation for the Loki Helm chart version you deploy.
On clusters your team built, nothing sets zone labels for you. Your team decides which physical or virtual failure domain each node belongs to, then applies a label to every node so Kubernetes and Loki can see it. This is more work, but it also gives you control over the failure domains, which matters in data centers where zones correspond to racks, power feeds or rooms rather than cloud availability zones. Labels applied by hand drift when nodes are replaced, so the labeling needs to be part of node provisioning, not a one-time step.
- Define failure domains first: Map nodes to racks, power or network segments that can fail independently, and treat that map as the source of truth for the labels.
- Label at provisioning time: Apply the zone label in the node bootstrap or machine template so replacement nodes inherit it without manual work.
- Audit labels regularly: Run a periodic check that every node has exactly one zone label and that no ingester pod is scheduled on an unlabeled node.
- Keep at least three zones for the rollout benefit: Confirm with your platform team how many independent domains you can offer, since the benefit depends on losing one domain at a time rather than all of them.
- Test a node cordon and drain: Before go-live, drain a single zone in a staging cluster and confirm that ingesters in other zones keep accepting writes.
Review the label scheme with the people who own the physical or virtual infrastructure, since a label that does not match real failure boundaries gives false confidence.
Labels alone do not place pods. Kubernetes uses pod anti-affinity or topology spread constraints to decide where ingester pods land. Anti-affinity is a hard or soft rule that discourages two pods with matching labels from sharing a topology domain, while topology spread constraints express how evenly pods should be distributed across zones and what happens when the scheduler cannot satisfy that balance. The two mechanisms interact with Loki's own zone assignment, so the rules should be designed together and tested with the same zone labels the ingesters use.
- Choose the topology key: Point the rule at the same zone label that Loki uses, not at the hostname label, so the spread follows zones.
- Pick hard or soft enforcement: A hard rule can leave pods pending when a zone is short of capacity, while a soft rule may place several ingesters in one zone during an outage.
- Set the max skew deliberately: Decide how uneven the distribution may become and what the scheduler should do when it cannot meet that limit.
- Account for stateful volumes: Ingester pods use persistent volumes, so confirm that rescheduling across zones is possible for your storage class.
- Review during scale changes: Re-check the rules when you add zones or change the replica count, since the balance can break silently.
Confirm the exact field names, supported values and their behavior against your Kubernetes version in the Kubernetes documentation and the Loki zone-aware ingesters docs.
Setting up zone-aware ingesters in your cluster
This sequence moves a Loki cluster from the default random ingester replication to zone-aware replication, so each zone can be restarted as a unit while writes continue. Each step ends with a check you can run before moving on.
Confirm deployment mode and Loki version
Confirm which deployment mode you run (monolithic, simple scalable or microservices) and the exact Loki version in your images and Helm values. Zone awareness applies to the ingester component, so the ingester must be a separately deployed target in your layout. Record the version and the chart version in the change plan, and check the Loki release notes for any ingester setting changes in that version. Done when the team agrees on the mode and version in writing, and you can point to the ingester StatefulSet or equivalent in your manifests. Note that simple scalable mode is being deprecated and removed with Loki 4.0, so plan a path off it if you still run it.
Plan zones and node labels
Decide how many zones you will use and which failure domain each zone represents, such as a cloud availability zone or a rack. Ask the platform team which node label carries that zone value in your cluster, typically the standard topology zone label, and confirm every worker node that will run ingesters has it. Plan enough nodes in each zone to hold an equal share of ingester replicas, and confirm that a single zone can be drained without starving the others. Done when you have a table mapping each zone to its nodes and the label value on each node, and a check using kubectl get nodes with label columns shows no unlabeled ingester nodes.
Configure zone awareness in ingester settings
Enable zone awareness in the ingester ring settings of your Loki configuration, naming each zone and setting replication so that each log line is written to one ingester per zone. Keep the replication factor consistent with the number of zones you planned. Before applying, confirm that the chosen configuration keys match the docs for your exact Loki version, because key names have changed between releases. Store the change in version control and render the final config so reviewers see the full ingester block. Done when the rendered config shows zone awareness enabled with every planned zone listed.
Spread ingester pods across zones
Add pod scheduling rules so that ingester replicas for each zone land only on nodes carrying that zone's label. Topology spread constraints or node affinity, combined with anti-affinity between ingesters in the same zone, are the usual tools. Confirm the rules leave enough capacity; if a zone lacks room, pods will stay Pending rather than move to another zone, which defeats the design. Done when a dry run or server-side apply shows the constraints, and the scheduler accepts all ingester pods without a zone-related Pending state.
Roll out and verify replica placement
Apply the configuration with a controlled rollout and watch ingester pods come up, joining the ring as expected. Once all pods are ready, check placement by listing each ingester pod with its node and zone label and confirming that the replicas for each log stream are spread across distinct zones. Also check the ring status page in your Loki deployment to confirm all ingesters are active and healthy. Done when every zone holds the expected number of ingesters, no two replicas for the same stream sit in the same zone, and the ring reports no unhealthy members.
Test a single-zone restart under load
Run a controlled test that restarts all ingesters in one zone while log pushes continue, ideally with a load generator at realistic volume. Watch push error rates at the distributors, ingester ring health and any dropped or rejected samples in the discarded samples metrics. Confirm that writes continue through the restart and that no data is lost for the streams you are tracking. Repeat the test for each zone and record the results, including any zone where writes slowed. Done when every zone restart completes with writes unaffected in your test window, and the results are filed with the change record. If writes degrade, review node capacity and rollout settings before the next attempt.
Security and operational considerations for zoned ingesters
Zone-aware ingesters change where replicas land and how a rollout moves through the cluster, so the controls around node labels, cluster access, replica health and backups matter more than they did with random placement. The cards below cover the decisions and checks that connect zone placement to trust, operations and recovery.
Treat zone labels as a trust boundary
Zone placement depends on node labels that the scheduler and Loki's replication logic rely on. If someone can change a node's zone label, they can move ingesters into the wrong failure domain or concentrate replicas in one zone without anyone noticing. Record which labels define zones, who may set them, and how label changes are reviewed and logged before you rely on them for write durability.
Loki zone docsRestrict RBAC that changes node labels
On Kubernetes, any identity allowed to patch Node objects can alter the topology that Loki depends on. Limit node patch and update rights to the platform team and to the automation that provisions nodes, and keep those roles separate from workload deployment rights. Review bindings regularly, because a broad cluster-wide role granted for an unrelated tool is a common way such rights spread.
Secrets good practicesAuthenticate every administrator
Kubernetes does not store normal users as API objects, so access to the cluster depends on the authentication method you configure, such as X.509 client certificates, OpenID Connect tokens or an authenticating proxy. Confirm which method your platform team uses for administrators, that individual accounts are not shared, and that access can be removed quickly when someone changes roles.
Kubernetes authenticationWatch replica placement during rollouts
A zone-by-zone rollout is only safe while each stream still has a healthy ingester in every remaining zone. Before starting, confirm that ingesters are spread across the zones you expect, and check that the zone being restarted holds only one replica of each stream. Stop the rollout if ingester health or replica placement drifts from that picture, and confirm with Grafana Labs documentation which Loki metrics report ingester state in your version.
Zone-aware ingestersPlan etcd backups and restores
Zone labels, pod placement and the Kubernetes objects that describe the cluster live in etcd. Kubernetes documentation requires a backup plan for etcd data, uses etcdctl snapshot save for backups and etcdutl for restores, and recommends a five-member cluster in production. Test a restore on a non-production cluster so the team knows the steps work before a zone failure forces them.
Operating etcd clustersProtect chunks and index in object storage
Ingesters hold recent data before it is flushed, and Loki keeps its long-term chunks and index in object storage. Zone placement does not protect data that exists only in one ingester's memory, so confirm how flushes complete before a node or zone is drained. Set bucket versioning, access policies and recovery procedures for the object store, and test restoring a bucket prefix on the same schedule as your cluster restores.
Loki storage docsQuestions teams ask before enabling zone-aware ingesters
Can our team configure zone-aware ingesters without outside help?
Yes, if your team already runs Loki on Kubernetes and is comfortable changing its configuration and rolling out ingesters one zone at a time. The change itself is a configuration update that enables zone awareness and assigns each ingester pod to a zone, but the risk is in the details: label placement, the order of rollouts and verifying that writes keep succeeding during a zone restart. Teams without recent Loki operations experience usually benefit from a written plan and a test run in a non-production cluster before touching production ingesters.
What makes zone-aware ingesters cost more or less to set up?
The main cost drivers are the number of zones, how consistently your nodes already carry zone labels, how much testing you need before production, and how many existing ingesters must be moved. Each zone needs enough ingester capacity to hold its share of replicas, so an uneven node pool can force capacity changes before the configuration works. Costs are one-time for design, configuration and testing, and recurring for the extra infrastructure zones require. Ask any partner for a quote that lists each of these items separately, including who performs the node label changes and the rollout rehearsals.
How long does enabling zone awareness take for a small or large cluster?
Duration depends mainly on cluster size, the number of zones, and how many ingesters need to be rolled through the new placement. A small cluster with clean node labels can move quickly, while a large cluster needs staged rollouts, monitoring between steps and a rollback plan for each zone. Timing also depends on your change windows and approval steps. No duration is guaranteed here, so ask for a timeline tied to your node count, zone layout and testing scope in the written plan.
What does the work require from our platform team?
Your platform team needs to provide access to the Kubernetes clusters, the ability to label nodes with zone topology keys, a review of node pools and availability zones, and a change window for the staged rollouts. They also need to own the Loki Helm values or configuration source, approve the rollout order and confirm that monitoring dashboards show ingestion health during each step. Expect the platform team to review the plan and sign off on each zone before it moves forward.
Does zone awareness replace backups for our Loki data?
No. Zone awareness keeps writes flowing during a planned restart by placing each log line on one ingester per zone, which reduces the risk of losing data during rollouts. It does not protect against deleted data, bad retention settings, corrupted object storage or a region-wide failure. Keep backup and recovery planning for your object storage and cluster configuration as a separate control, and confirm with your storage vendor how their snapshots, versioning or replication work in your environment.
How does zone placement interact with Kubernetes node labels and upgrades?
Zone placement relies on Kubernetes topology labels on nodes, so the labels must be accurate and stable before ingesters are assigned to zones. Kubernetes cluster upgrades can also move nodes or replace them, which may change zone membership if labels are not applied consistently. Check the Kubernetes version skew policy and your node pool upgrade process before enabling zone awareness, and confirm with your cluster provider how zone labels are set on managed nodes.
Is the Loki zone-aware ingester setup supported in every deployment mode?
Confirm this against your chosen deployment mode before planning the work. Loki documents three modes, and the simple scalable mode is being deprecated and will be removed with the Loki 4.0 release, so a cluster on that mode should plan a migration path before or alongside this change. Check the Loki zone-aware ingesters documentation for the exact settings your version supports, and record the Loki version you are running in the change plan.
What should we ask a partner to include in a zone-aware ingester scope?
Ask for a written scope that lists the current Loki version, deployment mode, ingester count, zone layout, node label plan, the configuration changes, the staged rollout order, the test plan with a rollback step for each zone, and the monitoring you will use during each restart. Also ask who performs each task, what evidence you receive at the end, and what support is included after the change. A fixed-scope agreement makes it easier to compare options and to confirm that the work matches your environment.
How DeployOpen scopes zone-aware Loki rollouts
Every zone-aware Loki engagement starts with a written scope that names the cluster being changed, the ingester topology before and after, the zones and failure domains you want to map to, and the rollout procedure you will run. DeployOpen agrees the scope, deliverables and timeline in writing before any configuration changes, so your platform and security teams can review what will touch production ingesters, storage and Kubernetes scheduling. Scope usually turns on questions your team can answer now: how many zones your nodes span, whether the ingester StatefulSet already has zone-aware placement, how many ingesters each zone needs to hold the replicated stream, and which change window your operators can use. A quote follows from that written scope rather than from a generic template.
The work runs in your own Kubernetes cluster or infrastructure, under your accounts, with your Helm values, node labels and object storage. DeployOpen configures the zone-aware ingester settings in the Loki deployment, sets Kubernetes zone placement so each zone's ingesters land on distinct failure domains, and documents the resulting topology for your operators. Confirm early with your platform team whether a zone label is already applied to nodes and whether a cluster autoscaler or node pool design affects where ingesters can be scheduled, since both change the effort. Verification is part of the deliverable: DeployOpen runs rollout tests that restart one zone at a time while pushing logs, then checks that writes continue and that no log lines are lost, and it hands back the results with the configuration. Ongoing upgrades and continuous rollout testing can be added as an optional retainer once the first rollout is complete.

