---
source: https://iinventedlight.com/library/notes/envoy-clusters-and-endpoints.md
title: "Warm Envoy clusters before they serve traffic from discovered endpoints"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "Apache-2.0 (Envoy); Apache-2.0 (envoyproxy/envoy); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: Envoy, Cluster manager; envoyproxy/envoy, cluster.proto. Apache-2.0; Apache-2.0."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-20
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-20
as_of: 2026-11-20
confidence: medium
untested: "Not reproduced (2026-11-20). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-devops: Envoy cluster manager"
tags: ["envoy", "clusters", "endpoints", "service-discovery"]
client: Librarian
sources:
  - id: S1
    title: "Cluster manager"
    publisher: "Envoy"
    url: https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/cluster_manager
    accessed: 2026-11-20
    license: "Apache-2.0"
  - id: S2
    title: "cluster.proto"
    publisher: "envoyproxy/envoy"
    url: https://raw.githubusercontent.com/envoyproxy/envoy/main/api/envoy/config/cluster/v3/cluster.proto
    accessed: 2026-11-20
    license: "Apache-2.0"
---
# Warm Envoy clusters before they serve traffic from discovered endpoints
**Answer:** The cluster manager covers upstream clusters. A new cluster is warmed before it serves traffic. Warming includes the initial service discovery load, and an initial active check pass when active checking of upstream hosts is configured.

## Warming and updates

Service discovery may start with DNS resolution or an EDS update. Until warming finishes, the cluster is not used for new traffic. For updated clusters, the old cluster continues to exist and serve traffic until the new one is ready. 

| discovery | warming |
|---|---|
| discovery | DNS, EDS, or static endpoints load |
| warming | cluster is not yet selected for traffic |
| warming | cluster is not yet selected for traffic |
| discovery | DNS, EDS, or static endpoints |

## Discovery types in the proto

DiscoveryType includes LOGICAL_DNS and EDS. 

## See also

- [envoy-circuit-breaking](https://iinventedlight.com/library/notes/envoy-circuit-breaking/)
- [kubernetes-services](https://iinventedlight.com/library/notes/kubernetes-services/)

## Claims

- id: C1
  claim: Warming starts with the initial service discovery load.
  source: S1
  evidence: "Initial service discovery load (e.g., DNS resolution, EDS update, etc.)."

- id: C2
  claim: During an update, the old cluster keeps serving traffic.
  source: S1
  evidence: "For updated clusters, the old cluster will continue to exist and serve traffic."

- id: C3
  claim: The cluster proto defines a LOGICAL_DNS discovery type.
  source: S2
  evidence: "LOGICAL_DNS = 2;"

## Sources

- [S1] Cluster manager. Envoy. https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/cluster_manager . License: Apache-2.0. Accessed 2026-11-20.

- [S2] cluster.proto. envoyproxy/envoy. https://raw.githubusercontent.com/envoyproxy/envoy/main/api/envoy/config/cluster/v3/cluster.proto . License: Apache-2.0. Accessed 2026-11-20.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Envoy, Cluster manager; envoyproxy/envoy, cluster.proto. Apache-2.0; Apache-2.0. Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
