dynamo

by joaquinito2051

Helm chartv0.1.0App 1.4.2

A Helm chart to deploy Dynamo resources at OSC

About this chart

dynamo

A Helm chart to deploy Dynamo resources at OSC

dynamo Chart

This chart handles the deployment of Dynamo resources. It depends on the Dynamo platform and operator being deployed.

Components:

  • image-puller
    • A daemonset that pulls the Dynamo images and sleeps to ensure those images are on all nodes
  • Items to support Dynamo
    • PVC for cache storage
    • Huggingface secret
  • Dynamo frontend
  • Open WebUI

Usage

The following is the minimal values to deploy this chart:

---
global:
  imagePullSecret:
    password: <webservices-read password>
  ingress:
    host: <Ingress host>
    hostAlias: <Ingress host alias>
  webui_secret_key: <Open WebUI webui secret>
  postgresql:
    auth:
      postgresPassword: <postgres user password>
      password: <openwebui user password>
  redis:
    password: <redis password>
  models:
    qwen3:
      model: Qwen/Qwen3-0.6B
      # image: ...
      # pullPolicy: ...
      disagg: true
      kvRouting: true
      scaling:
        minReplicas: 0
        maxReplicas: 2
        cooldownPeriod: 600
      sharedMemorySize: 8Gi
      forceRay: false
      args:
        - --max-model-len
        - "20480"
      env: []
      # frontend:
      #   image: ...
      #   pullPolicy: ...
      #   env: []
      #   args: []
      #   cpu: 1
      #   memory: 2Gi
      decode:
        # scaling:
        #   minReplicas: 0
        #   maxReplicas: 2
        #   cooldownPeriod: 600
        # sharedMemorySize: 8Gi
        # image: ...
        # pullPolicy: ...
        args: []
        env: []
        cpu: 2
        memory: 6Gi
        gpu: 1
        gpuType: nvidia.com/mig-1g.5gb
        nodes: 1
        replicas: 1
      prefill:
        # scaling:
        #   minReplicas: 0
        #   maxReplicas: 2
        #   cooldownPeriod: 600
        # sharedMemorySize: 8Gi
        # image: ...
        # pullPolicy: ...
        args: []
        env: []
        cpu: 2
        memory: 6Gi
        gpu: 1
        gpuType: nvidia.com/mig-1g.5gb
        nodes: 1
        replicas: 1
hfToken:
  value: <Huggingface token>

Requirements

RepositoryNameVersion
https://osc.github.io/osc-helm-charts/osc-common0.15.3
oci://docker-registry.osc.edu/webservicesosc-open-webui0.13.0-rc0

Values

KeyTypeDefaultDescription
global.oscServiceAccountstring"dynamo"The service account used by OSC deployments.
global.environmentstring"production"The deployment's OSC environment
global.nodeSelectorRolestring"webservices"The OSC node role to use with nodeSelector
global.imagePullSecret.namestring"osc-registry"imagePullSecret name
global.imagePullSecret.registrystring"docker-registry.osc.edu"imagePullSecret registry
global.imagePullSecret.usernamestring"robot$webservices-read"imagePullSecret username
global.imagePullSecret.passwordstringrequiredimagePullSecret password. This value will be set by OSC's Puppet.
global.filesetstring"PZS0645"The fileset for storage
global.storageClassstring"local-ess"The storage class to use for PV claims
global.ingress.hoststring""Ingress host name
global.ingress.hostAliasstring""Ingress host alias
global.auth.allowGroupslist["oscall","PZS0645","PZS0580"]Restrict access to these groups
global.webui_secret_keystringrequiredThe Open WebUI secret key
global.postgresql.auth.postgresPasswordstringrequiredPassword for postgresql
global.postgresql.auth.passwordstringrequiredPassword for openwebui database
global.redis.passwordstringrequiredRedis password
global.modelsobject{}Define models
image.repositorystring"kubernetes/ai-dynamo/vllm-runtime-enterprise"The repository path to main vllm runtime image
image.tagstringThe chart's appVersionThe vllm runtime image tag
image.releasestring"0"The release of the custom OSC vllm runtime image
hfToken.valuestringrequiredThe HF token for Hugging Face
sharedMemorySizestring"8Gi"Shared memory default size
networkPolicy.namespaceSelectorslist[]Namespace labels to allow access to frontends
defaultGpuTypestring"nvidia.com/mig-7g.40gb"The default GPU type
rdmaResourcestring"rdma/shared_mlx5"The RDMA resource name in Kubernetes
prometheusURLstring"http://prometheus-prometheus.prometheus.svc:9090"The Prometheus URL
pushgatewayURLstring"http://pushgateway.prometheus.svc:9091"Push Gateway URL
priorityClassNamestring""The priority class name for frontend and workers
workerArgslist[]Additional worker arguments
kvTransferConfigobject{"kv_connector":"NixlConnector","kv_role":"kv_both"}The configuration of kv-transfer-config
kvEventsConfigobject{"enable_kv_cache_events":true,"endpoint":"tcp://*:20080","publisher":"zmq","topic":"kv-events"}The configuration for kv-events-config
frontend.resources.limits.cpuint2Default frontend cpu limit
frontend.resources.limits.memorystring"4Gi"Default frontend memory limit
frontend.resources.requests.cpuint2Default frontend cpu request
frontend.resources.requests.memorystring"4Gi"Default frontend memory request
keepalive.intervalint300Interval in seconds of how often to do keepalive for persistent multi-node jobs
osc-open-webui.database.redis.master.persistence.annotations."osc.edu/fileset"string"PZS0645"Must match global.fileset
osc-open-webui.open-webui.image.tagstring"osc-0.12.5-r0-slim-build0"The version of Open WebUI
osc-open-webui.open-webui.sso.enableRoleManagementbooltrueEnables role access controls in Open WebUI

Autogenerated from chart metadata using helm-docs v1.14.2

Deploy dynamo with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has dynamo on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartdynamo is pinned at v0.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply