Skip to main content

Instances

Placement previews, launch flows, instance lookup, and lifecycle management for running models.

📄️ Quick-launch a model placement

Place and launch a model with Skulk choosing a valid concrete placement from the requested sharding, instance metadata, and minimum-node constraints. The placement is validated against the current cluster state before the command is forwarded: an impossible placement returns 400 with the specific reason (no connected cycle, exclusions removed every candidate, a node cannot fit its shard with runtime headroom, ...). If node memory info is still being gathered (cluster just formed), the request waits up to 15 seconds for it before returning 503 — retry shortly in that case.

📄️ Preview valid placements for a model

Return candidate placements for a model before launch. This is the best first step when you want to see what Skulk can place on the current node or cluster. Pass `excluded_node_ids` (repeatable) to mirror the `excluded_nodes` field on POST /place_instance and preview against the post-exclusion topology. Besides the planner's ranked pick per placement shape, the response includes per-host single-node previews marked `alternative: true` for every other host that passes admission, so heterogeneous fleets expose the full set of valid hosts rather than only the ranking winner.