Skip to content

feat(chart): allow extra args, init containers, and volumes for token…#2139

Open
dkhachyan wants to merge 1 commit into
llm-d:mainfrom
dkhachyan:helm-fix
Open

feat(chart): allow extra args, init containers, and volumes for token…#2139
dkhachyan wants to merge 1 commit into
llm-d:mainfrom
dkhachyan:helm-fix

Conversation

@dkhachyan

Copy link
Copy Markdown

What type of PR is this?

/kind feature

What this PR does / why we need it:

The tokenizer render sidecar (router.tokenizer.*) in the router Helm chart
could only be customized through its args and volumeMounts. There was no
way to append extra flags on top of the default args, run pod-level init
containers, or declare additional pod-level volumes.

This adds three fields to the tokenizer configuration:

  • router.tokenizer.extraArgs - args appended to the vllm-render container
    after the default (or overridden) args.
  • router.tokenizer.initContainers - pod-level init containers, rendered only
    when the tokenizer is enabled (e.g. to prewarm the model cache).
  • router.tokenizer.volumes - pod-level volumes rendered alongside the
    built-in model-cache volume, so an init container and the sidecar can
    share storage.

All three default to empty and render nothing when unset, so existing
deployments are unaffected. config/charts/README.md documents the new fields.

Which issue(s) this PR fixes:
Fixes #

@dkhachyan
dkhachyan requested a review from a team as a code owner July 22, 2026 12:34
@dkhachyan
dkhachyan requested review from liu-cong and vMaroon July 22, 2026 12:34
@github-actions

Copy link
Copy Markdown
Contributor

🚨 Unsigned commits detected! Please sign your commits.

For instructions on how to set up GPG/SSH signing and verify your commits, please see GitHub Documentation.

@github-actions github-actions Bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jul 22, 2026
…izer

The tokenizer render sidecar could not be customized beyond its args and
volume mounts. Add extraArgs, initContainers, and volumes so deployments
can prewarm the model cache and mount supporting storage.

Signed-off-by: Denis Khachyan <khachyanda@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant