# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 apiVersion: nvidia.com/v1alpha1 kind: DynamoGraphDeployment metadata: name: vllm-v1-disagg-router spec: services: Frontend: componentType: frontend replicas: 1 extraPodSpec: mainContainer: image: nvcr.io/nvidia/ai-dynamo/vllm-runtime:my-tag envs: - name: DYN_ROUTER_MODE value: kv VllmDecodeWorker: envFromSecret: hf-token-secret componentType: worker replicas: 2 resources: limits: gpu: "1" requests: custom: # Increase this value for larger models ephemeral-storage: "2Gi" extraPodSpec: mainContainer: image: nvcr.io/nvidia/ai-dynamo/vllm-runtime:my-tag workingDir: /workspace/examples/backends/vllm command: - python3 - -m - dynamo.vllm args: - --model - Qwen/Qwen3-0.6B - --disaggregation-mode - decode VllmPrefillWorker: envFromSecret: hf-token-secret componentType: worker replicas: 2 resources: limits: gpu: "1" requests: custom: # Increase this value for larger models ephemeral-storage: "2Gi" extraPodSpec: mainContainer: image: nvcr.io/nvidia/ai-dynamo/vllm-runtime:my-tag workingDir: /workspace/examples/backends/vllm command: - python3 - -m - dynamo.vllm args: - --model - Qwen/Qwen3-0.6B - --disaggregation-mode - prefill - --kv-transfer-config - '{"kv_connector":"NixlConnector","kv_role":"kv_both"}' - --kv-events-config - '{"publisher":"zmq","topic":"kv-events","endpoint":"tcp://*:20080","enable_kv_cache_events":true}'