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
| Repository | Name | Version |
|---|---|---|
| file://child-charts/sglang | sglang | 0.3.2 |
| file://child-charts/vllm | vllm | 0.0.46 |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| placementJob.allowedGPUCounts | list | [] | Allowed GPU counts for tensor parallel compatibility. If set, only nodes with these GPU counts will be considered. |
| placementJob.blacklistedGPUNames | list | [] | The names of GPUs that shouldn't be used for this job. |
| placementJob.enabled | bool | false | Specifies if a node placement job should be deployed |
| placementJob.image.pullPolicy | string | "IfNotPresent" | Image pull policy |
| placementJob.image.repository | string | "us-docker.pkg.dev/castai-hub/library/busybox" | The image to use for the job |
| placementJob.image.tag | string | "1.37.0" | The image tag |
| placementJob.requiredGPUTotalMemoryMiB | string | nil | Total GPU memory MiB (GPU count * GPU memory MiB) of the node that should be provisioned for this job |
| placementJob.resources | object | {"limits":{"nvidia.com/gpu":1},"requests":{"nvidia.com/gpu":1}} | Resources for the job |
| podAutoscaler.downFluctuationTolerance | float | 0.2 | which means no scaling down will occur unless the currentMetricValue is less than the targetValue by more than downFluctuationTolerance |
| podAutoscaler.enabled | bool | false | Specifies if pod autoscaler should be enabled. Relevant for both vllm and sglang deployments |
| podAutoscaler.maxReplicas | int | 3 | Max number of replicas |
| podAutoscaler.minReplicas | int | 1 | Min number of replicas |
| podAutoscaler.port | int | 8000 | Port the engine exposes Prometheus metrics on. Match the engine's container.port (vLLM/SGLang default 8000) |
| podAutoscaler.targetDeploymentName | string | nil | The name of the model engine deployment that the pod autoscaler should target (vLLM or SGLang) |
| podAutoscaler.targetMetric | string | nil | The metric to observe for scaling decisions |
| podAutoscaler.targetMetricWindow | string | "30s" | Target metric window length |
| podAutoscaler.targetValue | string | nil | The threshold value of observed metric to trigger scale up/down decisions |
| podAutoscaler.upFluctuationTolerance | float | 0.1 | which means no scaling up will occur unless the currentMetricValue exceeds the targetValue by more than upFluctuationTolerance |
| sglang.enabled | bool | false | Specifies if SGLang model should be deployed. Mutually exclusive with vllm.enabled. |
| vllm.enabled | bool | true | Specifies 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartcastai-hosted-model is pinned at v0.0.64 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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