castai-hosted-model

by Cast AI

Helm chartv0.0.64App v0.0.1Verified publisher

CAST AI hosted model deployment chart with PVC support for compilation caches.

About this chart

castai-hosted-model

CAST AI hosted model deployment chart with PVC support for compilation caches.

Requirements

RepositoryNameVersion
file://child-charts/sglangsglang0.3.2
file://child-charts/vllmvllm0.0.46

Values

KeyTypeDefaultDescription
placementJob.allowedGPUCountslist[]Allowed GPU counts for tensor parallel compatibility. If set, only nodes with these GPU counts will be considered.
placementJob.blacklistedGPUNameslist[]The names of GPUs that shouldn't be used for this job.
placementJob.enabledboolfalseSpecifies if a node placement job should be deployed
placementJob.image.pullPolicystring"IfNotPresent"Image pull policy
placementJob.image.repositorystring"us-docker.pkg.dev/castai-hub/library/busybox"The image to use for the job
placementJob.image.tagstring"1.37.0"The image tag
placementJob.requiredGPUTotalMemoryMiBstringnilTotal GPU memory MiB (GPU count * GPU memory MiB) of the node that should be provisioned for this job
placementJob.resourcesobject{"limits":{"nvidia.com/gpu":1},"requests":{"nvidia.com/gpu":1}}Resources for the job
podAutoscaler.downFluctuationTolerancefloat0.2which means no scaling down will occur unless the currentMetricValue is less than the targetValue by more than downFluctuationTolerance
podAutoscaler.enabledboolfalseSpecifies if pod autoscaler should be enabled. Relevant for both vllm and sglang deployments
podAutoscaler.maxReplicasint3Max number of replicas
podAutoscaler.minReplicasint1Min number of replicas
podAutoscaler.portint8000Port the engine exposes Prometheus metrics on. Match the engine's container.port (vLLM/SGLang default 8000)
podAutoscaler.targetDeploymentNamestringnilThe name of the model engine deployment that the pod autoscaler should target (vLLM or SGLang)
podAutoscaler.targetMetricstringnilThe metric to observe for scaling decisions
podAutoscaler.targetMetricWindowstring"30s"Target metric window length
podAutoscaler.targetValuestringnilThe threshold value of observed metric to trigger scale up/down decisions
podAutoscaler.upFluctuationTolerancefloat0.1which means no scaling up will occur unless the currentMetricValue exceeds the targetValue by more than upFluctuationTolerance
sglang.enabledboolfalseSpecifies if SGLang model should be deployed. Mutually exclusive with vllm.enabled.
vllm.enabledbooltrueSpecifies if vLLM model should be deployed

Deploy castai-hosted-model with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has castai-hosted-model 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 chartcastai-hosted-model is pinned at v0.0.64 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