Skip to content

docs(k8s): describe gateway tune for the least-busy router - #2593

Merged
dan-petty merged 2 commits into
mainfrom
docs/1971-gateway-tune-least-busy
Oct 29, 2026
Merged

dan-petty merged 2 commits into
mainfrom
docs/1971-gateway-tune-least-busy

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The tune paragraph of k8s/README.md told the reader to copy recommended weights into litellm_params.weight. The gateway routes with least-busy, and no deployment sets weight or max_parallel_requests.

  • The paragraph says what devops ai gateway tune reports for each deployment (engine, GPUs, capacity, cost). The router reads none of these numbers, and the gateway uses neither the weight nor the concurrency that the command also prints.
  • Three more texts no longer describe gateway weights: an item of k8s/README.md, two comments of k8s/llm/gateway/config.yaml and a paragraph of docs/SELF_IMPROVEMENT.md.
  • The config.yaml comments change the hash of ConfigMap llm-gateway-config, so the gateway rolls once when Argo CD syncs.

#2592 corrects the command's own output.

Closes #1971

Change: openspec/changes/archive/2026-10-29-1971-gateway-tune-least-busy/

The tune paragraph of k8s/README.md told the reader to copy the
recommended weights into litellm_params.weight. The gateway routes with
least-busy and no deployment sets weight, so the paragraph now says what
devops ai gateway tune reports for each deployment, and that the
least-busy router reads none of those numbers. Three more texts that
described gateway weights are corrected: an item of k8s/README.md, two
comments of k8s/llm/gateway/config.yaml and a paragraph of
docs/SELF_IMPROVEMENT.md.
@dan-petty

Copy link
Copy Markdown
Owner Author

Checks:

  • uv run pytest tests/test_k8s_llm_gateway.py tests/test_ai_gateway_tune.py tests/test_docs.py tests/invariants/test_k8s_manifests.py: 185 passed.
  • uv run devops docs check: exit 0.
  • openspec validate 1971-gateway-tune-least-busy --strict, then uv run devops openspec archive: every spec and change validates.
  • The pre-commit and pre-push hooks passed.

The premise, on origin/main c96dbfe3: router_settings.routing_strategy: least-busy; the embedding group uses simple-shuffle; no deployment sets weight or max_parallel_requests.

Pending a person: after Argo CD syncs the merge, check that the gateway pod rolled onto the new ConfigMap and is ready. Review the diff in tuicr.

@dan-petty
dan-petty marked this pull request as ready for review October 29, 2026 02:03
@dan-petty
dan-petty merged commit 4011680 into main Oct 29, 2026
15 checks passed
@dan-petty
dan-petty deleted the docs/1971-gateway-tune-least-busy branch October 29, 2026 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(k8s): the gateway tune paragraph describes the least-busy gateway, with no weights

1 participant