UCloud logo UCloud logo UCloud
v2026.7.0-k8s.18
  1. UCloud/Core
  2. 1. Introduction
  3. 2. Projects
  4. 3. API Tokens
    1. 3.1. Platform API Tokens
    2. 3.2. Provider API Tokens
  5. 4. Accounting
  6. 5. Orchestration
  7. 6. Frontend
  8. UCloud/IM for Slurm-based HPC
  9. 7. Installation
  10. 8. Architecture and Networking
  11. 9. User and Project Management
  12. 10. Filesystem Integration
    1. 10.1. Inter-provider file transfers
  13. 11. Slurm Integration
    1. 11.1. Application Management
    2. 11.2. Built-in Applications
  14. 12. Reference
    1. 12.1. Configuration
    2. 12.2. CLI
  15. 13. Appendix
    1. 13.1. Built-in Application Index
  16. UCloud/IM for Kubernetes
  17. 14. Installation
  18. 15. Architecture and Networking
  19. 16. Filesystem Integration
  20. 17. Compute Jobs
    1. 17.1. Networks
    2. 17.2. Public Links
    3. 17.3. Public IPs
    4. 17.4. License Servers
    5. 17.5. SSH Servers
    6. 17.6. Job Audit Log
    7. 17.7. Virtual machines
  21. 18. AI Inference
    1. 18.1. Architecture
    2. 18.2. Chat Middleware
    3. 18.3. Chat Playground
    4. 18.4. Model Discovery and Catalog
    5. 18.5. Dynamo Deployments
    6. 18.6. Usage and Accounting
    7. 18.7. Audit
    8. 18.8. Metrics
    9. 18.9. Security
  22. 19. Integrated applications
    1. 19.1. Syncthing
    2. 19.2. Integrated terminal
    3. 19.3. Kubernetes clusters
      1. 19.3.1. Architecture
      2. 19.3.2. Stacks
      3. 19.3.3. Creating a cluster
      4. 19.3.4. Cluster dashboard
      5. 19.3.5. Networking and storage
      6. 19.3.6. Maintenance and upgrades
      7. 19.3.7. Backup and recovery
      8. 19.3.8. Reference
  23. 20. UCX applications
    1. 20.1. Hello world
    2. 20.2. Data binding
    3. 20.3. UI events
    4. 20.4. Component reference
    5. 20.5. API reference
  24. 21. Reference
    1. 21.1. Configuration
    2. 21.2. CLI
  25. Style guidelines
  26. 22. Branding and identity for UCloud
  27. 23. Documentation
  28. H: Procedures
  29. 24. H: Procedures
  30. 25. H: Introduction
  31. 26. H: Auditing
  32. 27. H: Auditing scenario
  33. 28. H: GitHub actions
  34. 29. H: Deployment
  35. 30. H: 3rd party dependencies (risk assesment)
  36. Glossary
  37. 31. Glossary
  1. Links
  2. Source Code
  3. Releases

Dynamo Deployments

NVIDIA Dynamo serves models from a graph of components. A Dynamo deployment has at least a frontend, which answers the OpenAI-compatible API, and one or more workers, which hold the model on the GPUs.

The Integration Module talks only to the frontend. It does not talk to the workers, and it does not need to know how the model is divided across them.

flowchart TB
    operator["Kubernetes operator<br/>NVIDIA Dynamo"]:::diagram-provider-cog-6-tooth
    pvc["Persistent volume claim<br/>models-cache"]:::diagram-provider-folder

    subgraph gdd["Dynamo graph<br/>deepseek-v4-1-flash-1017-agg"]
        service["Service<br/>deepseek-v4-1-flash-1017-agg-frontend"]:::diagram-provider-server
        frontend["Pod<br/>Dynamo frontend | port: 8000"]:::diagram-provider-server
        worker["Pod<br/>Dynamo worker | GPUs: 4 x B200 | TP: 4"]:::diagram-provider-cpu-chip
    end

    discovery["UCloud/IM<br/>Model discovery"]:::diagram-provider-magnifying-glass
    entry["Catalog entry<br/>deepseek-ai/DeepSeek-V4.1-Flash-1017"]:::diagram-provider-document-text

    class gdd diagram-provider-server

    operator --> service
    service --> frontend
    frontend --> worker
    pvc --> worker
    service --> discovery
    discovery --> entry

The Dynamo deployment as seen by UCloud/IM. It does not show the other graphs in the namespace, or the parts inside the operator.

What the Integration Module expects

ItemRequirement
NamespaceThe deployment runs in services.compute.inference.dynamo.namespace. Services in other namespaces are invisible.
Frontend serviceThe name of the frontend service ends with -frontend. For a graph named deepseek-v4-1-flash-1017-agg, the service is deepseek-v4-1-flash-1017-agg-frontend.
PortThe Integration Module uses the first port of that service.
Scheme and pathThe endpoint is plain http and the base path is exactly /v1. A model call to another address is rejected.
Address formhttp://<name>-frontend.<namespace>.svc.cluster.local:<port>/v1.
Model listThe frontend answers /v1/models with the model identifiers.
Model nameThe value of --model-name on the frontend and --served-model-name on the worker agree with the catalog entry.

Set authority and route it to the gateway of the Integration Module. See AI Inference.

A worked example

The example below is the DeepSeek-V4.1-Flash-1017 deployment on four B200 GPUs. It shows the parts that the integration depends on.

apiVersion: nvidia.com/v1beta1
kind: DynamoGraphDeployment
metadata:
  name: deepseek-v4-1-flash-1017-agg
  namespace: ucloud-inference
spec:
  backendFramework: vllm
  components:
    - name: Frontend
      type: frontend
      replicas: 1
      podTemplate:
        spec:
          containers:
            - name: main
              workingDir: /workspace
              env:
                - name: HF_HOME
                  value: /workspace/models
              command:
                - /bin/bash
                - -lc
              args:
                - |-
                  exec python3 -m dynamo.frontend \
                    --http-host 0.0.0.0 \
                    --http-port 8000 \
                    --dyn-chat-processor vllm \
                    --model-name deepseek-ai/DeepSeek-V4.1-Flash-1017
              startupProbe:
                httpGet:
                  path: /health
                  port: 8000
              volumeMounts:
                - name: models-cache
                  mountPath: /workspace/models
          volumes:
            - name: models-cache
              persistentVolumeClaim:
                claimName: models-cache

    - name: VllmDecodeWorker
      type: worker
      sharedMemorySize: 64Gi
      podTemplate:
        spec:
          containers:
            - name: main
              env:
                - name: HF_HOME
                  value: /workspace/models
              args:
                - |-
                  exec python3 -m dynamo.vllm \
                    --model deepseek-ai/DeepSeek-V4.1-Flash-1017 \
                    --served-model-name deepseek-ai/DeepSeek-V4.1-Flash-1017 \
                    --tensor-parallel-size 4 \
                    --enable-expert-parallel \
                    --max-model-len 1048576 \
                    --max-num-seqs 256 \
                    --gpu-memory-utilization 0.90
              resources:
                limits:
                  nvidia.com/gpu: "4"
              volumeMounts:
                - name: models-cache
                  mountPath: /workspace/models
          volumes:
            - name: models-cache
              persistentVolumeClaim:
                claimName: models-cache
          affinity:
            nodeAffinity:
              requiredDuringSchedulingIgnoredDuringExecution:
                nodeSelectorTerms:
                  - matchExpressions:
                      - key: nvidia.com/gpu.product
                        operator: In
                        values:
                          - NVIDIA-B200
                      - key: ucloud.dk/machine
                        operator: In
                        values:
                          - inference

What each part contributes:

  • metadata.name and metadata.namespace decide the service name and the discovery namespace.
  • type: frontend makes the operator create the -frontend service that the Integration Module looks for.
  • --http-port 8000 decides the port of that service, and therefore the port of the endpoint.
  • --model-name and --served-model-name decide the model identifier that discovery reads.
  • --tensor-parallel-size 4 divides the model across four GPUs, and --enable-expert-parallel adds expert parallelism. The worker holds four GPUs through its resource limit.
  • --max-model-len decides the context window of the model.
  • --gpu-memory-utilization 0.90 leaves room for the cache and for the vision encoder.
  • HF_HOME directs model downloads to the mounted models-cache claim, so cached weights survive pod restarts.
  • The worker’s node affinity selects B200 machines that are reserved for inference.
  • sharedMemorySize: 64Gi gives the worker the shared memory that vLLM needs.

The full manifest holds more, including the image, additional probes, and the version pins. It is not part of this article, because none of it changes how the Integration Module reaches the model.

The catalog entry

Discovery creates one entry for the deployment above:

FieldValue
name and titledeepseek-ai/DeepSeek-V4.1-Flash-1017
endpoint.basePathhttp://deepseek-v4-1-flash-1017-agg-frontend.ucloud-inference.svc.cluster.local:8000/v1
endpoint.backendModelNamedeepseek-ai/DeepSeek-V4.1-Flash-1017
pricePerMillionOne Credit per million tokens, until an operator changes it
availabilityPrivate, and visible to the projects in access.testers
contextWindowThe value of --max-model-len when the backend reports it, otherwise the value an operator sets

Review the entry and publish the model before the general users see it. See Model Discovery and Catalog.

Verify the deployment

  1. Call the frontend from inside the cluster and check that the model appears:

    $ kubectl run --rm -it --image=curlimages/curl curl -n ucloud-inference -- \
        curl -s http://deepseek-v4-1-flash-1017-agg-frontend.ucloud-inference.svc.cluster.local:8000/v1/models
    
  2. Wait for the next discovery pass, which runs every 60 seconds, and look for the log line Discovered inference model ... at ... in the log of the Integration Module.

  3. List the catalog on the host of the Integration Module:

    $ ucloud inference models ls
    
  4. Send a chat request through the authority hostname with an inference API token. The CLI reference shows how to inspect the entry, and the model page shows how to create a token.

Operational notes

  • A worker loads weights for a long time. Keep the startup probe generous, and raise VLLM_ENGINE_READY_TIMEOUT_S for a large model.
  • The frontend holds no model state. It is safe to restart it, and one replica is enough for a single worker.
  • A frontend and a worker must use the same runtime version. Set runtimeVersionOverride on both components.
  • Dynamo and vLLM are separate projects with separate release cycles. Pin both versions in the image, and test an upgrade of one against the other before you roll it out.
Previous Model Discovery and Catalog
Next Usage and Accounting