agg_router.yaml 1.07 KB
Newer Older
1
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2
# SPDX-License-Identifier: Apache-2.0
Alec's avatar
Alec committed
3

4
5
6
apiVersion: nvidia.com/v1alpha1
kind: DynamoGraphDeployment
metadata:
7
  name: vllm-agg-router
8
9
10
spec:
  services:
    Frontend:
11
      componentType: frontend
12
13
14
      replicas: 1
      extraPodSpec:
        mainContainer:
15
          image: nvcr.io/nvidia/ai-dynamo/vllm-runtime:my-tag
16
17
18
      envs:
        - name: DYN_ROUTER_MODE
          value: kv
19
20
21
22
    VllmDecodeWorker:
      envFromSecret: hf-token-secret
      componentType: worker
      replicas: 2
23
24
25
      resources:
        limits:
          gpu: "1"
26
27
      extraPodSpec:
        mainContainer:
28
          image: nvcr.io/nvidia/ai-dynamo/vllm-runtime:my-tag
29
          workingDir: /workspace/examples/backends/vllm
30
          command:
31
32
33
          - python3
          - -m
          - dynamo.vllm
34
          args:
35
36
            - --model
            - Qwen/Qwen3-0.6B
37
38
            - --kv-events-config
            - '{"publisher":"zmq","topic":"kv-events","endpoint":"tcp://*:20080","enable_kv_cache_events":true}'