#15463·dynamo

Native sidecar mode: planner, LoRA fallback, and backend detection still read main

Author: tmonty12Created Oct 1, 2026Updated Oct 1, 2026
Labelsdynamo-runtimedeployment::k8splannerruntimeoperator

Parent DEP: #14657. Follow-up from the review of #14927.

In native-sidecar mode, main runs the engine with a user-supplied command and the Dynamo runtime runs in the runtime init container. These consumers still derive Dynamo settings from main:

  • Planner model discovery: get_model_name in components/src/dynamo/planner/monitoring/dgd_services.py parses main args for --served-model-name, --model-name, or --model. An engine command such as vllm-rs serve <model> yields no model name.
  • vLLM prefill LoRA fallback: deploy/operator/internal/controller/dynamo_model_controller.go detects the backend from main's command with DetectBackendFrameworkFromArgs, so sidecar prefill pods never get the fallback.
  • Backend detection: getBackendFrameworkFromComponent in deploy/operator/internal/dynamo/graph.go matches python -m dynamo.<backend> in main. Without spec.backendFramework, sidecar workers resolve to the no-op backend: compilationCache without mountPath is rejected, and VLLM_CACHE_ROOT is not set.

Proposal: for each consumer, read from the runtime container or the worker's registered metadata, or reject or document the combination for Phase 1 (for example, require backendFramework in sidecar mode).