Traffic map Preview Unreleased: coming in v1.3

A TrafficMap is the alpha routing table that OME writes for a multi-cluster InferenceService: each workload cluster's share of the requests, and the reasons behind it.

Placement decides which workload clusters run a multi-cluster InferenceService. Multi-cluster placement and routing are alpha, still in development, and off by default. With routing on, OME writes a TrafficMap that gives each of those clusters a weight. A publisher writes the weights into your global gateway, by default as a Gateway API HTTPRoute. Read the map to see why a cluster gets less traffic, or none, and whether the publisher has written the latest weights.

Turn on routing

Routing runs only on the control-plane cluster, and it's off by default. Turn it on in that cluster's ome-resources values:

YAML
ome:
  multicluster:
    enabled: true
    role: control-plane
    config:
      routing:
        enabled: true

helm upgrade restarts the manager to apply them. If you edit the inferenceservice-config ConfigMap instead, restart the manager yourself.

Routing then writes the maps. To publish them to your gateway, set the endpoint values in Publish a global endpoint. Until you do, Published is False with reason Withdrawn.

OME writes a map, with the same name and namespace, for each InferenceService that sets spec.placement — set at create and fixed for the life of the service. The obsolete annotations ome.io/accelerator-requirements and ome.io/cluster-selector don't opt a service in: OME rejects them on write, and a stored InferenceService that still carries one gets no map, only a validate placement intent: error in the manager's log. See When the map stops updating. To opt an InferenceService out, set spec.routing.enabled: false. Setting it to true doesn't turn routing on when the installation has it off.

OME deletes the map when the InferenceService stops being routed, for example because you turn routing off. When you delete the InferenceService, the finalizer ome.io/trafficmap-publisher holds the map until the publisher has removed the route. Placement keeps the InferenceService's copies on the workload clusters until the map is gone.

Placement is fixed at create

Choose a service's placement when you create it: spec.placement.mode is fixed for the life of the InferenceService. The InferenceService validator refuses an update that names another mode, adds a spec.placement block to a service created without one, or removes the block, with spec.placement.mode is fixed for the life of the service and cannot change from Split to All; delete and recreate the service to place it another way. The refusal names both modes, a missing block as unset (no spec.placement block) and a block without a mode as unset — the rule reads both as no mode. An update that keeps the mode isn't refused by this rule: the clusterAffinity terms and the split counts stay editable.

The validator enforces the rule whether or not the installation is multi-cluster: adding spec.placement to a live service is refused on a single-cluster installation too. The one cluster without the validator is the control-plane cluster, where the control-plane role turns it off: nothing refuses the edit there, and the mode is fixed all the same — delete and recreate the service there too.

To move a running service onto multi-cluster placement, off it, or to another mode, delete the InferenceService and recreate it with the spec.placement you want. Placement reads only the control-plane cluster's InferenceServices, so a service that moves onto it from another cluster is recreated on the control-plane cluster, with the block.

Read a TrafficMap

The examples use the InferenceService llama-chat in llama-demo, placed in mode Split on the workload clusters cluster-a and cluster-b.

To see a map, run kubectl get trafficmap, or its short names tm and tmap, on the control-plane cluster:

Shell
kubectl get trafficmap llama-chat -n llama-demo
Output
NAME         MODE    PUBLISHED   ROUTABLE   OVERRIDE   REASON     AGE
llama-chat   Split   True        True       False      Routable   3h

MODE is the InferenceService's placement mode: Single runs it on one cluster, All on every cluster that admits it, and Split divides the service's replicas across clusters, in the shares that its placement weights set. The other columns come from the map's conditions.

kubectl ome get trafficmaps lists the maps too, with their entry counts. -o wide adds the route and whether the publisher is current.

This is the map with four replicas ready on cluster-a and two on cluster-b, without its conditions and status.publisher:

YAML
apiVersion: ome.io/v1beta1
kind: TrafficMap
metadata:
  name: llama-chat
  namespace: llama-demo
  generation: 4
spec:
  service: llama-chat
  mode: Split
  observedISVCGeneration: 7
  entries:
    - cluster: cluster-a
      endpoint: http://llama-chat.llama-demo.cluster-a.example.com
      weight: 2
      healthy: true
      capacity:
        allocated: 4
        ready: 4
        source: ControlPlane
    - cluster: cluster-b
      endpoint: http://llama-chat.llama-demo.cluster-b.example.com
      weight: 1
      healthy: true
      capacity:
        allocated: 2
        ready: 2
        source: ControlPlane
status:
  sourceUID: 0f8e2c1a-5b7d-4e39-9c61-2d4a8b3f7e10
  published: true
  observedTrafficMapGeneration: 4
  gatewayRef:
    group: gateway.networking.k8s.io
    kind: HTTPRoute
    name: llama-chat-global
    namespace: llama-demo

Each entry is a home of the InferenceService: a workload cluster that has admitted it and reports an endpoint for it. Condition reasons call the entries homes, as in AllHomesUnready. The entries hold these fields:

Field What it holds
cluster The WorkloadCluster's name.
endpoint The URL of the InferenceService's copy on that cluster.
weight The cluster's share of the requests, relative to the other entries, from 0 through 1,000,000.
healthy true when the cluster can serve and no probe gates it: a ready replica or, when reportedWeight is set, a positive reportedWeight in place of the ready-replica test. A healthy entry can still have weight 0.
capacity.allocated The replicas that placement admitted on the cluster, lowered to capacity.reported when that's lower. When reportedWeight is set, it's diagnostic only.
capacity.ready The ready replicas, from the control plane's reads of the cluster: a cluster it can't read keeps its last count only for the observation grace. They cap the weight unless reportedWeight is set.
capacity.factor The capacity factor, present only when you set one and no reportedWeight replaces it: a reported weight already includes the hardware.
capacity.source Endpoint when a capacity report lowered allocated or reportedWeight is set, otherwise ControlPlane.
capacity.reported While capacity polling is on in Ceiling mode: the ceiling that the cluster reports, kept even when it's too high to lower allocated. See Watch the capacity state.
capacity.reportedWeight While capacity polling is on in Reported mode: the cluster's accepted report, which replaces its replica-based weight. OME applies a positive report only while the cluster has a ready replica, so missing means no current report — or a current positive report held for readiness, which capacity.fallbackReason names. "0" means the cluster reports that it can serve nothing; a zero report applies with or without ready replicas.
capacity.fallbackReason While capacity polling is on: why the cluster has no current report — or, in Reported mode, that a current positive report waits for a ready replica, which doesn't turn CapacityFallback True. See A home falls back to its admitted replicas.
probe The routing health probe's last verdict for the cluster, present once a configured probe has run. See Check the probe state.
drainRefs The IDs of the drains that hold the cluster at weight 0.

The map leaves out allocated and ready when they're 0. TrafficMapEntry in the API reference describes every field.

With capacity polling in Reported mode, spec.capacityMode is Reported; unset means Ceiling. The mode binds the publisher too: a table in which any entry carries a reportedWeight is published at once, and the gateway's earlier weights never replace it, so a cluster that reports 0 loses its traffic right away. Without one, the publisher follows the same rules as in Ceiling mode, where it can keep the gateway's last positive weights while an all-zero table can still be the control plane's own replica counts lagging behind.

Treat the map as read-only: OME undoes a hand edit right away.

How OME sets the weights

OME works out an entry's weight in five steps:

  1. It counts the replicas that can serve: the lower of capacity.allocated and capacity.ready, times the cluster's capacity factor, which is 1 unless you set one. In Reported mode, a cluster with a capacity.reportedWeight uses it instead, as it is: no replica count caps it, and no factor scales it. For an InferenceService with an engine and a decoder, both counts are the lower of the two components' counts; when a Split's weights give the clusters different mixes, a decoder count is first scaled to its engine equivalent in the service's engine-to-decoder ratio, rounded down.
  2. An entry that a routing health probe gates gets 0, with one exception that Routable describes.
  3. It reduces the weights to their smallest whole-number ratio, so 4 and 2 become 2 and 1. A weight can't go above 1,000,000: the bound on the entry's weight field, which matches the largest weight a Gateway API backend takes, so the publisher applies the weights verbatim. When the reduced ratio's largest weight is above the bound, OME scales every weight down so the largest is exactly 1,000,000 and rounds the other positive weights up: no positive weight scales to 0, and a weight of 0 stays 0. A ratio of 3,000,000,000 to 1 publishes as 1,000,000 and 1 — the clusters keep their order, and the small cluster keeps at least weight 1, above its exact share.
  4. An entry whose cluster placement is draining gets 0. See A placement move drains a cluster first.
  5. An entry that a drain holds gets 0. The other weights stay as they are.

Divide a weight by the sum of the weights for its share: in the example, cluster-a gets two thirds of the requests.

Five settings change the weights:

Setting What it does How to use it
Placement weights In mode Split, set each cluster's share of the replicas — the counts the steps above start from. How a Split placement divides the replicas
Capacity factor Counts a cluster's replicas for more or less. Weight traffic for heterogeneous clusters
Capacity polling Can lower a cluster's capacity.allocated to what the cluster reports — or, in Reported mode, replace its count with the report. Tune routing capacity polling
Routing health probe Holds a cluster at 0 after repeated failures. Configure routing health probes
Drain Holds a cluster at 0, whatever its capacity. Drain a workload cluster

How a Split placement divides the replicas

A Split placement divides the engine's replicas across the matched clusters, and each cluster's share sets the replicas behind its entry's capacity.allocated and capacity.ready — the counts the weights above follow. Without weights, the count is fixed — split.replicas, or the engine's minReplicas when split.replicas is unset — and every matched cluster gets an equal share. To divide it unevenly, set weights on the clusterAffinity terms. Weights replace the split block: the API server rejects a placement that sets both, with clusterAffinity weights are allowed only in Split and replace spec.placement.split; remove split — the same message refuses weights in any other mode. See What the validator refuses.

Each weight is a replica ratio, an object with two sides, each 1 or more: min divides the service's minReplicas and max divides its maxReplicas across the clusters, and an omitted side counts as 1. With weights there is no split.replicas: the count the min side divides is the engine's minReplicas, which must be positive. This service is split 2:1 and gets the map above, four replicas on cluster-a and two on cluster-b:

llama-chat.yaml
apiVersion: ome.io/v1beta1
kind: InferenceService
metadata:
  name: llama-chat
  namespace: llama-demo
spec:
  model:
    name: llama-3-1-8b-instruct
  runtime:
    name: srt-llama-3-1-8b-instruct
  engine:
    minReplicas: 6
    maxReplicas: 6
  placement:
    policy: ClusterAffinity
    mode: Split
    clusterAffinity:
      - matchFields:
          - key: metadata.name
            operator: In
            values: [cluster-a]
        weights:
          default:
            min: 2
            max: 2
      - matchFields:
          - key: metadata.name
            operator: In
            values: [cluster-b]
        weights:
          default:
            min: 1
            max: 1

Ratios have no upper bound: min: 4 and min: 2 divide the same way as 2 and 1. A term weighs every cluster it matches, and once any term weighs a component, a cluster matched by several terms adds their ratios, side by side — a matching term that gives the component none contributes {min: 1, max: 1}. Each side's shares come out in whole replicas: each cluster gets its share rounded down, and the replicas left over go to the largest remainders, ties to the first cluster by name. A min share small enough to round to zero leaves the cluster with nothing, and its weights go unused — the condition below names them.

The two sides are a cluster's replica band: on each cluster's copy, a component's minReplicas is its min-side share and its maxReplicas is its max-side share of the service's maxReplicas, never below the min-side share, so an autoscaler there can run the component inside its band. A component whose service spec declares no maxReplicas is fixed at its min-side share. In the example the sides match and the service's maxReplicas equals its minReplicas, so each copy is fixed at its share, four and two.

The accepted plan records the ratios it divided by, so the shares don't follow a cluster relabeling that placement hasn't accepted: the engine's min ratio is in the cluster's allocation.minWeight and its max ratio in allocation.maxWeight — each the sum over the cluster's matching terms — and the other components' are in allocation.componentMatches, with the same fields per component. The deprecated allocation.weight repeats minWeight, and maxWeight is written only when the terms set weights. To read the accepted ratios and shares:

Shell
kubectl get inferenceservice llama-chat -n llama-demo \
  -o jsonpath='{range .status.placement.candidates[*]}{.cluster} min={.allocation.minWeight} max={.allocation.maxWeight} replicas={.allocation.desiredReplicas}{"\n"}{end}'
Output
cluster-a min=2 max=2 replicas=4
cluster-b min=1 max=1 replicas=2

Each component's share

A weights block weighs each component by name, with default for every component the term doesn't name. For a component the block doesn't cover, a term falls back:

Component A term's ratio for it
Engine weights.engine, then weights.default.
Decoder weights.decoder, then weights.default, then the engine's.
Router weights.router, then weights.default, then the engine's.

A component takes the first ratio in its row whole, both sides: a decoder ratio that sets only min leaves the decoder's max at 1 — it doesn't take default's.

The engine is the unit placement counts, so its shares are the split itself; a service without an engine counts decoders instead. The other components divide their own counts over the clusters that hold engines, each of those clusters getting at least one — a count smaller than their number holds the plan, as a share above its cap does:

  • The decoder follows the engine's shares. Its count — decoder.minReplicas, or one decoder for each engine replica when it's unset — divides in proportion to the engine's shares when the decoder has no weights of its own, and also when its min ratios are proportional to the engine's: decoder min ratios of 6 and 3 beside engine min ratios of 2 and 1 still follow. Only min ratios in a different proportion split it independently.
  • The router divides by default. When no term sets weights, placement divides router.minReplicas across the clusters in the engine's shares; when a term sets weights.default or weights.router, it divides by the router weights above. Either way the validator requires a positive router.minReplicas. Only weights that name just the engine or the decoder keep the full router policy on every cluster, router.minReplicas to router.maxReplicas on each.

Without weights, when split.replicas sets a count other than engine.minReplicas, a declared decoder.minReplicas and a divided router.minReplicas scale with it, in their declared ratio to engine.minReplicas, rounded up.

A decoder split by its own weights gives the clusters different engine-to-decoder mixes. Each entry's capacity.allocated and capacity.ready then count what the cluster can serve in the service's own engine-to-decoder ratio: a cluster rich in engines but short of decoders counts fewer replicas than it has engines, and its weight drops with them.

A cap on each cluster's share

split.maxPerCluster caps how many replicas of each component one cluster runs — in a split without weights, the only kind that can carry a split block. In a split with weights, each cluster's ceiling is its max-side share instead. It's a map with one cap per component: engine, decoder and router each cap the named component, and default caps every component the map doesn't name. A component takes its own key, then default; a component with neither takes the primary component's cap — the engine's, or the decoder's when there is no engine — scaled by its ratio of minimums and rounded up. The API server rejects an empty map and a cap below 1.

A cap is the cluster's autoscaling room: on each cluster's copy, the component's minReplicas is its share and its maxReplicas is the cap, so an autoscaler there can run the component above its share. A component with no cap, by any of the rules above, is fixed at its share — minReplicas and maxReplicas both. A held floor above a lowered cap keeps the copy's maxReplicas at the floor until the floor falls.

For a service with engine and decoder minimums of 6 and a router minimum of 2, split equally across cluster-a and cluster-b, maxPerCluster: {engine: 5} caps the engine at 5 on each cluster, the decoder at 5 — the engine's cap in their ratio of minimums, 5 × 6/6 — and the routers at 2, 5 × 2/6 rounded up. cluster-a's copy then runs its engine between its share of 3 and the cap of 5.

A share above its cap isn't trimmed to fit: placement holds the whole plan. A share exists only once placement divides the count over the matched clusters, so no validator catches the conflict on apply; the refusal comes from placement, which accepts no new plan, and the clusters keep the shares of the last accepted one. The service's PlacementConverged condition turns False with reason AllocationUnresolved, and its message names the share over its cap — for an engine share, in the form cluster "cluster-a" target 3 exceeds per-cluster limit 2. A decoder cap of 2 on the same service holds its plan like this:

Shell
kubectl get inferenceservice llama-chat -n llama-demo \
  -o jsonpath='{range .status.conditions[?(@.type=="PlacementConverged")]}{.status} {.reason}: {.message}{"\n"}{end}'
Output
False AllocationUnresolved: decoder share 3 on cluster "cluster-a" exceeds its ceiling of 2 replicas from split.maxPerCluster

A service created with an over-cap plan places nothing: its status.placement.phase stays Pending, and Routable is False with reason NotPlaced. Raise the cap, or lower the shares — fewer split.replicas, or terms that match more clusters — and placement accepts the next plan.

What the validator refuses

The InferenceService validator refuses a weights block or a maxPerCluster map that can't work — and one case that needs neither: a divided router without a positive router.minReplicas. On the control-plane cluster, where the control-plane role turns the validator off, the same checks run in placement instead: the service's PlacementInputValid condition turns False with reason InvalidPlacementIntent and the same message, and placement accepts no new plan. The first refusal is also a rule on the CRD itself, so the API server enforces it on every cluster, the control-plane cluster included.

The spec The refusal
weights on a term in any mode but Split, SplitByCapacity included — or in Split beside a spec.placement.split block clusterAffinity weights are allowed only in Split and replace spec.placement.split; remove split
A weight for a component the service doesn't declare spec.placement.clusterAffinity[0].weights.decoder names a component the service does not declare
A cap in split.maxPerCluster for a component the service doesn't declare spec.placement.split.maxPerCluster.decoder names a component the service does not declare
A router cap outside mode Split — a split block can't carry weights, and a Split without them always divides the routers spec.placement.split.maxPerCluster.router applies only when Split divides the routers
A router without a positive router.minReplicas, in a Split that divides the routers — a spec with no weights block included Split divides router.minReplicas across clusters when no term sets weights, or when a term sets weights.default or weights.router; set a positive router.minReplicas
A spec.placement.policy other than ClusterAffinity spec.placement.policy must be ClusterAffinity; the ComponentAffinity policy was removed, set each component's weight in the weights block of each clusterAffinity term

A term carries its weights only in the weights block: the deprecated scalar weight, which meant weights.default and was kept for a rollback to a manager without weights support, is removed. The field is unknown to the InferenceService schema, so a manifest that still sets it no longer applies by default: kubectl apply asks the API server for strict validation, which rejects a field the schema doesn't have with an unknown field error. A client that doesn't ask for strict validation gets the field dropped instead: the API server prunes the scalar as an unknown field and accepts the InferenceService, with at most a warning. A stored service that carried the scalar loses it silently too. A pruned term weighs as if the line weren't there: with no weights on any term, every matched cluster gets an equal share, and a term that set only the scalar counts as 1 beside terms that set weights. To keep the shares the scalar set, move each value into both sides of weights.default: weight: 2 becomes default: {min: 2, max: 2}, whose min side divides the service's minReplicas the way the scalar divided the count. The API server itself rejects an empty weights block, an integer in place of a ratio object — a type error, since every key under weights is an object now — and a min or max below 1.

The PlacementComponentShares condition

On a Split InferenceService whose terms set weights, placement writes the condition PlacementComponentShares into the service's status.conditions whenever it has something to report: a decoder or a divided router, or a weight that goes unused. It's advisory — it never gates placement — and its status is True:

Reason What it means
FollowEngineShares Every divided component follows the engine's shares.
OwnWeights At least one component is split by its own weights.

The message names each component's rule, such as decoder follows the engine shares or router is split by its own weights, and ends with the weights that do nothing because their cluster got no engines, such as unused because the cluster holds no engine: router weight on cluster-b. OME removes the condition from a service whose terms set no weights, and from an engine-only service whose every weight is in use.

For example, the same split for a service with a decoder that follows the engines and one router per cluster:

YAML
spec:
  decoder:
    minReplicas: 6
    maxReplicas: 6
  router:
    minReplicas: 2
    maxReplicas: 2
  placement:
    policy: ClusterAffinity
    mode: Split
    clusterAffinity:
      - matchFields:
          - key: metadata.name
            operator: In
            values: [cluster-a]
        weights:
          default:
            min: 2
            max: 2
          router:
            min: 1
            max: 1
      - matchFields:
          - key: metadata.name
            operator: In
            values: [cluster-b]
        weights:
          default:
            min: 1
            max: 1
          router:
            min: 1
            max: 1

default covers the decoder, so it follows the engines: four decoders on cluster-a, two on cluster-b. The router weights divide router.minReplicas evenly, one router on each. The condition reports both rules:

Shell
kubectl get inferenceservice llama-chat -n llama-demo \
  -o jsonpath='{range .status.conditions[?(@.type=="PlacementComponentShares")]}{.reason}: {.message}{"\n"}{end}'
Output
OwnWeights: decoder follows the engine shares; router is split by its own weights

A shrinking share holds until its replacements are ready

A plan change can shrink the share of a cluster that stays in the placement: new weights, a lower split.replicas, or a new cluster joining the split. The cluster's decoders and divided routers don't drop to the new share at once. Placement keeps the floor on the cluster's copy — the minReplicas it wrote there — at the old value until the replacements on the growing clusters are ready, so the shrink never removes ready replicas the fleet still needs: the ready replicas on the clusters serving traffic stay at or above the component's count, the one Each component's share divides. The hold covers only the components that divide their own counts over the engine's clusters — the decoder and a divided router — never the engine's own shares.

A held floor falls in two steps. The cluster's unready replicas leave at once: the floor drops to its ready count right away, though never below the new share. Its ready replicas leave only while the serving clusters' ready replicas stay at or above the component's count; when more than one cluster waits, the first by name releases first. A cluster whose copy OME can't observe keeps the floor it was last given, and placement never holds a cluster it's retiring: one that's draining or runs no replicas follows the drain-first move below instead.

While any floor is held, the InferenceService's PlacementConverged condition — True with reason AllocationConverged once the clusters apply the accepted allocation — is False with reason ReplacementNotReady, and its message names each held floor. Another problem, such as a failed member write, reports its own reason in its place.

The floors are in the control-plane InferenceService's status.placement.candidates. On a service with a decoder or a divided router, each cluster's componentFloors lists every component placement scales, with current, the floor on the cluster's copy now — zero without a copy — and desired, the floor at the accepted plan's shares. A current above desired is a held floor. An engine-only service lists no floors, and neither does a cluster whose floors are all zero.

Take the service above and raise both sides of cluster-a's default ratio from 2 to 5. The engine and decoder shares turn 5:1 — cluster-b's decoder floor falls from 2 to 1, cluster-a's rises from 4 to 5 — and the router weights still divide the routers evenly. The six decoders of decoder.minReplicas are the fleet's count, so until cluster-a's fifth decoder is ready, cluster-b keeps its second one:

Shell
kubectl get inferenceservice llama-chat -n llama-demo \
  -o jsonpath='{range .status.placement.candidates[*]}{.cluster}:{range .componentFloors[*]} {.component}={.current}/{.desired}{end}{"\n"}{end}'
Output
cluster-a: engine=5/5 decoder=5/5 router=1/1
cluster-b: engine=1/1 decoder=2/1 router=1/1

cluster-b's copy keeps decoder.minReplicas: 2, so its second decoder keeps running and serving. The condition names the hold:

Shell
kubectl get inferenceservice llama-chat -n llama-demo \
  -o jsonpath='{range .status.conditions[?(@.type=="PlacementConverged")]}{.status} {.reason}: {.message}{"\n"}{end}'
Output
False ReplacementNotReady: cluster-b keeps 2 decoder replicas until their replacements on other clusters are ready

Nothing is stuck. Once the fifth decoder serves on cluster-a, the floor falls to the share on its own, cluster-b's entry reads decoder=1/1, and PlacementConverged returns to True.

A placement move drains a cluster first

Placement can zero a weight on its own, with no drain of yours. When a plan change retires one of a Split or All placement's homes, placement asks that cluster to drain first: in the control-plane InferenceService's status.placement.candidates, the cluster's allocation.drainRequested turns true, and the map's next table holds its entry at 0. A home that stays with a smaller share isn't drained: its decoders and divided routers hold until their replacements are ready. An All or Single move starts only when every component's minReplicas is positive: a service scaled to zero holds the move.

Placement removes the InferenceService's copy from the cluster only after the map shows the zero. Until then the entry looks intact apart from its weight: it keeps its endpoint, healthy: true and its positive capacity.allocated and capacity.ready, and it gets no drainRefs — those list only the drains of the ome.io/traffic-drain annotation. That's the designed order of a move, not a fault, and there's nothing to undrain: the zero stays until the copy is gone and the entry leaves the table. To tell a draining cluster from a bug, read the allocations:

Shell
kubectl get inferenceservice llama-chat -n llama-demo \
  -o jsonpath='{range .status.placement.candidates[*]}{.cluster}={.allocation.drainRequested}{"\n"}{end}'
Output
cluster-a=true
cluster-b=

Placement is draining cluster-a, and cluster-b keeps its traffic. When a plan drains every cluster that has capacity, Routable turns False with reason NoRoutableCapacity, and the entries keep showing that capacity.

A Single move to another cluster also drains the cluster it leaves, but the map never holds its entry at 0: the status update that requests the drain also makes the new cluster the plan's winner, and in Single mode a cluster that placement is draining leaves the table. Placement removes the copy only after the entry is gone, so the retiring cluster's replicas outlive its entry; until they're removed, the allocations above show the cluster with drainRequested: true.

A move needs a positive floor on every component

Placement records a floor for every component of a home's copy — the component's minReplicas as resolved for that cluster: the service's value, or the runtime's, or the operator default when both leave it unset. The accepted floors are on the cluster's candidate, in allocation.currentHome.replicaFloors. A component with minReplicas: 0 gives its home a zero floor, and a home that keeps its place can run one: an idle copy stays placed, and lowering a retained home's minReplicas is local scaling — its cluster applies it without a move.

A move is held to a higher bar. In mode All, a plan change that retires a home — one an edited clusterAffinity term no longer matches — or adds one that starts with replicas, and in mode Single, a move to another cluster, need a positive floor on every component, on every current home — the one that retires included — and on the move's target. While any of those floors is 0, placement refuses to start the move: nothing drains — allocation.drainRequested stays unset — no copy reaches the destination cluster, the home that would retire keeps its copy and its traffic, and the accepted plan, the map's table and status.placement.phase keep their last state. The service's PlacementConverged condition turns False with reason PositiveFloorRequired, every pass, until the floors change:

Shell
kubectl get inferenceservice llama-chat -n llama-demo \
  -o jsonpath='{range .status.conditions[?(@.type=="PlacementConverged")]}{.status} {.reason}: {.message}{"\n"}{end}'
Output
False PositiveFloorRequired: placement movement requires positive component floors: placement movement requires a positive engine floor

The message names a component whose floor is 0, as above, or reads Configure positive component minReplicas before moving the retained home. One case names none: in mode All, a floor set back to 0 mid-move gets the bare placement movement requires positive component floors.

To let the move run, set a positive minReplicas on every component the service declares — engine, decoder and router alike. Placement writes the new floors to the retained home's copy first, then starts the move. A minReplicas set back to 0 mid-move holds the move where it is, so keep the floors positive until PlacementConverged returns to True with reason AllocationConverged. Then minReplicas: 0 is local scaling again, and the home it idles stays placed.

Why a cluster's weight is zero

Compare the entry with these rows, and take the first that matches:

What the entry shows Why the weight is 0
drainRefs lists an ID A drain holds the cluster at 0, whatever its capacity. Remove the drain by its ID, as Drain a workload cluster shows.
No drainRefs, healthy: true, and capacity.allocated and capacity.ready above 0 Placement is draining the cluster: a placement move removes the cluster's copy only after this zero is in the map, so the entry keeps its counts until then. The cluster's entry in status.placement.candidates shows allocation.drainRequested: true, and there's no drain to remove.
capacity.reportedWeight: "0" The cluster reports that it can serve nothing. In Reported mode the report is the cluster's capacity, so its ready replicas can't restore the weight; a positive report does, while the cluster has a ready replica.
No capacity.ready, and healthy: false The cluster has no ready replica, the InferenceService's copy there isn't IngressReady yet — or the replicas are serving and the control plane can't read the cluster. The candidate's observationFailingSince says which.
No capacity.allocated, capacity.source: Endpoint and capacity.reported: 0 The cluster reports that it can serve nothing, although its replicas are ready.
No capacity.allocated, and capacity.source: ControlPlane Placement admitted no replicas on the cluster.
probe.gated: true, and healthy: false The probe gated the cluster after repeated failures. probe.message holds the last one.

If every entry has weight 0, or the table is empty, the Routable condition names the cause for the whole map.

A cluster the control plane can't read

An entry's counts are the control plane's view: each pass, placement reads the InferenceService's copy on the workload cluster, and capacity.ready is the ready count of the last read that succeeded. When the reads fail — the cluster's API server unreachable, its connection down — the replicas there can stay Ready and serving while the entry loses capacity.ready and healthy: true, and its weight goes to 0: a ready count the control plane can't observe is withdrawn, not trusted. The entry keeps its endpoint and capacity.allocated.

Two fields on the cluster's candidate in the InferenceService's status.placement.candidates tell this apart from replicas that really aren't ready:

Shell
kubectl get inferenceservice llama-chat -n llama-demo \
  -o jsonpath='{range .status.placement.candidates[*]}{.cluster} observationKnown={.observationKnown} observationFailingSince={.observationFailingSince}{"\n"}{end}'
Output
cluster-a observationKnown=true observationFailingSince=
cluster-b observationKnown= observationFailingSince=2026-11-04T08:57:12Z
  • observationKnown: true means the pass read the cluster, so the candidate's counts are current: a missing capacity.ready really is no ready replica, or a copy that isn't IngressReady yet.
  • observationFailingSince is set while the reads fail, and observationKnown is left out, which reads as false. It records the first failed read, and the candidate's fields are retained evidence from the last successful read — the ready count only through the grace below. Here cluster-b's replicas may well be serving — the control plane just can't see them.

How long a retained ready count lasts is the observation grace: ome.multicluster.config.placement.observationGrace in the control-plane cluster's ome-resources values, a duration such as 2m. While it lasts, counted from observationFailingSince, the candidate keeps the ready count of the last successful read, so the entry keeps its weight and a blip in the control plane's view doesn't move traffic. Once it passes with the reads still failing, the ready count drops to 0 and the entry takes the shape above: no capacity.ready, healthy: false, weight 0. The start is stored in status, so a controller restart neither restarts nor ends the grace. A pass that reads the cluster again clears both fields, and the counts are current again.

The chart ships observationGrace empty, which is no grace: on a default installation, a cluster's ready count is withdrawn at the first failed read — and a pass reads each cluster once, unless memberReadRetry lets it retry a transient failure. A grace keeps traffic flowing through blips the retries can't cover, at the cost of keeping weight that long on a cluster whose real state the control plane can't see. To alert on failing reads, the controller reports both fields as gauges.

Conditions

Routable, OverrideActive and CapacityFallback describe the table. Published says whether the publisher has written it to the gateway.

kubectl describe also shows PublicationFallback, which is False with reason Unsupported after the built-in publisher publishes successfully. It's Unknown while a publish is under way or failing. When Published has reason Withdrawn, Unpublished or Finalizing, PublicationFallback is False with one of those reasons too.

Routable

Routable says whether a gateway can send the InferenceService's requests anywhere:

Status Reason What it means
True Routable At least one entry has a positive weight.
True AllHomesProbeFailed The probe gates every cluster, and allFailedPolicy: PreserveTraffic keeps the weights that the clusters' capacity gives them.
False NotPlaced The InferenceService's status.placement.phase isn't Placed, so the table is empty.
False NoAddressableHome The InferenceService is placed, but no admitted cluster reports an endpoint, so the table is empty.
False TrafficDrain Drains hold every cluster that had a positive weight.
False AllHomesUnready No cluster has a ready replica, and none has a capacity.reportedWeight.
False NoRoutableCapacity No cluster that the probe leaves open, and that placement isn't draining, has capacity: capacity.allocated and capacity.ready both above 0, or a positive capacity.reportedWeight in place of them. When a placement move drains every cluster that has capacity, the entries keep those counts.
False AllHomesProbeFailed The probe gates every cluster, and its allFailedPolicy is Drain.

OverrideActive

OverrideActive says whether drains hold any entry:

Status Reason What it means
True OverridesApplied At least one drain holds an entry.
False OverridesPending The InferenceService has drains, but none names a cluster in the table. kubectl ome traffic drain doesn't check the name against the map, so look for a misspelling.
False NoOverrides The InferenceService has no drains.
Unknown OverridesInvalid The ome.io/traffic-drain annotation can't be parsed, usually after a hand edit, and the message holds the parse error. The map keeps its last valid table, so the drains of the last valid value still hold their clusters at 0. See The TrafficMap stops changing after a hand edit.

While the reason is OverridesInvalid, only this condition changes: the entries, Routable and CapacityFallback keep describing the last valid table, and the condition's observedGeneration is that table's generation.

CapacityFallback

CapacityFallback is True when capacity polling is on and an entry has no current report:

Status Reason What it means
True EndpointCapacityUnavailable At least one entry has no current report, and its capacity.fallbackReason says why. The entry uses the control plane's count — in Reported mode, only once its cached reports expire too.
False EndpointCapacityAvailable Every entry has a current capacity report.
False CapacityPollingDisabled Capacity polling is off.
False NoCapacityTargets The table is empty, so there's nothing to poll.

Published

The built-in publisher writes the table into an HTTPRoute, by default llama-chat-global in the InferenceService's namespace, and status.gatewayRef names it. The route has a backend for each entry, at the entry's weight, entries at weight 0 included. How publishing works lists what else it writes.

Published means that the publisher wrote the route. The HTTPRoute's own status says whether the gateway accepted it, as Check the publication shows.

Status Reason What it means
True Published The publisher wrote the current table.
False Transitioning The publisher is writing the current table.
False Withdrawn One of globalGateway, backendPort or the InferenceService's global hostname is missing, so the publisher deleted its route. See Withdrawn.
False InvalidPlan The table can't become a route, for example because it has more than 16 entries. See InvalidPlan.
False InvalidOptions spec.routing.publisher.options sets options, and the built-in publisher takes none.
False ClaimRejected The publisher can't claim the route or one of its objects, for example because another route already publishes the global hostname. See ClaimRejected.
False ApplyFailed Writing or deleting the route, or one of its objects, failed. See ApplyFailed.
False DrainFailed After the route moved, for example because routeNamespace changed, setting the old route's weights to 0 failed.
False InvalidOwner The map doesn't match its InferenceService, for example until OME rewrites it after a spec change. See When the map stops updating.
False LegacyLifecycleActive The publisher waits for the legacy endpoint publisher to finish its cleanup. See LegacyLifecycleActive.
False PublisherChanged status.publisher lists targets that another publisher claimed, for example after ome.multicluster.config.routing.publisher.name changed.
False Finalizing The map is being deleted, and the publisher is removing its route.
False Unpublished The InferenceService stopped being routed or is being deleted. If the map is being deleted, the publisher has removed its route.
False UnpublishFailed OME doesn't set this reason. When removing the route fails, Published stays Finalizing, and the manager logs TrafficMap publisher finalization failed and retries.

When publishing fails, the route from the last success stays, and status.gatewayRef still names it. The condition's message is generic. The error is in the manager's log, on a line that reads TrafficMap publisher reconciliation failed. The publisher retries on its own.

Staleness checks

Before you rely on a map, check that it's current:

Compare With A mismatch means
spec.observedISVCGeneration The InferenceService's metadata.generation OME hasn't built a table from the latest spec yet. If the mismatch stays, see When the map stops updating.
status.observedTrafficMapGeneration The map's metadata.generation The publisher hasn't published the latest table. After a failure, it still holds the generation of the last success.
Each condition's observedGeneration The map's metadata.generation The condition describes an older table.
status.sourceUID The InferenceService's metadata.uid The map is left from an earlier InferenceService with the same name.
Each candidate's observationKnown in the InferenceService's status.placement.candidates true The control plane can't read that cluster: its entry's counts are retained from the last successful read, and the observation grace bounds how long they keep the weight.
probe.lastProbeTime The current time A time much older than the probe's period means that the prober has stopped.

To compare the map's generation with the one that the publisher last published:

Shell
kubectl get trafficmap llama-chat -n llama-demo \
  -o jsonpath='{.metadata.generation} {.status.observedTrafficMapGeneration}{"\n"}'
Output
4 4

The numbers match, so the publisher has published the latest table.

When the map stops updating

Some errors stop OME from updating a map. The map keeps its last table and conditions, and the route keeps its last published weights. When the error follows a spec change, Published turns False with reason InvalidOwner. A malformed drain annotation is the one error the map itself reports, as OverrideActive Unknown with reason OverridesInvalid; the others show only in the manager's log. Read every replica's log with kubectl logs -n ome -l control-plane=ome-controller-manager --tail=-1.

Log error Cause
validate placement intent: The InferenceService carries the obsolete ome.io/accelerator-requirements or ome.io/cluster-selector annotation. Remove the annotation, and put the restriction in spec.placement.clusterAffinity.
validate routing policy: A factor in spec.routing.capacityFactors is 0 or negative. See The weights don't change.
parse ome.io/traffic-drain: The drain annotation is malformed. The map's OverrideActive condition carries the same error — unless the service had no map when the value went bad, which leaves the error only in the log: OME creates no map until the value parses. See The TrafficMap stops changing after a hand edit.
TrafficMap llama-demo/llama-chat exists but is not controlled by InferenceService UID A TrafficMap with that name belongs to something else, for example an earlier InferenceService with the same name.

Next steps