Skip to main content
A ModelDeployment instantiates one or more replicas on the cluster and creates the serving pods behind a routable inference endpoint. It takes its models either from a ModelBundle or from an inline model and profile pair. ModelDeployment resources use apiVersion: sambanova.ai/v1alpha1.

Structure

Set exactly one model source:

Startup timeouts

A deployment brings up three containers, each guarded by a Kubernetes startup probe. startupTimeout sets how long that probe keeps waiting before the container is considered failed, and startupInterval sets how often it polls. Both are in seconds. The timeout divided by the interval becomes the probe’s failure threshold, so raising the timeout extends the window rather than changing how often the container is checked.

When to raise engineConfig.startupTimeout

The engine container is ready only once every PEF and checkpoint in the deployment has been downloaded and loaded onto the RDUs. How long that takes scales with the number and size of the configurations being served, so a large bundle can outlast the 45-minute default and be killed mid-load. Setting startupTimeout: 7200 gives the engine two hours, which is enough for the large model bundles SambaNova provides. This is why the examples throughout these pages use that value:
Raising the timeout costs nothing when startup is quick — the probe succeeds as soon as the container is ready and does not wait out the remaining time. A deployment stuck in a restart loop while loading a large bundle is the signal that the value is too low.

Deploy a single model

Deploy with an inline spec.models specification

Deploy a bundle

Deploy with a spec.bundle reference