You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(k8s): the gateway spreads embedding batches over both order 1 tiers, not only the first #2027
After the gateway restart for #1987 on 2026-10-23 at 23:47 UTC, all 91 embedding requests went to ollama-48gib. ollama-64gib-standard holds qwen3-embedding:0.6b and got none. The gateway's qwen3-embedding:0.6b group has two order 1 deployments and uses routing_strategy: least-busy. With sequential batches, every deployment has zero requests in flight, so the router picks the same deployment each time. With parallel batches, the batches wait in the one slot of that tier.
The #2011 work found this in the gateway and Ollama logs.
Proposed fix
Confirm in LiteLLM 1.103.0's router source how least-busy breaks a tie between deployments with zero requests in flight.
If it always picks the first, choose a strategy that spreads ties, for example simple-shuffle for the embedding group alone if LiteLLM supports a per-group strategy, or set rpm or weight on the order 1 deployments.
Acceptance criteria
A run of devops ai rag index sends embedding requests to both order 1 tiers, as kubectl -n llm logs of each tier shows.
Activity
dan-petty commentedon Oct 24, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.
The problem affects how embedding requests are routed and can cause uneven load distribution.Improving load balancing for embeddings enhances system performance and reliability for users.Requires investigation into LiteLLM's router behavior and potentially adjusting deployment configurations.Both items involve the gateway and embedding batches, but the candidate focuses on spreading batches across tiers while item #2011 addresses a timeout issue with HTTP clients.fix(k8s): spread embedding batches over both order 1 tiers (#2360)