Skip to main content

Module compute_planner

Module compute_planner 

Source
Expand description

Deployment-time compute planner.

The planner turns portable stack requirements plus a target platform into a renderable set of recommended deployment choices. It does not mutate the stack and does not require database access.

Structs§

ComputeMachineOption
One concrete provider machine option.
ComputePlan
Full compute plan for one stack/platform pair.
ComputePoolPlan
Planner output for one compute pool.

Functions§

capacity_group_requirements
Convert a capacity group declaration into planner requirements.
default_persistent_failure_domains
Failure-domain policy for a pool that hosts persistent stateful workloads when the deployment does not choose one: one provider-selected domain, so the pool’s machines and their volumes land in the same zone.
plan_compute
Compute a deterministic deployment-time plan.
validate_compute_pool_selection
Validate one selected compute pool against platform machine requirements and source-declared scale bounds.