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§
- Compute
Machine Option - One concrete provider machine option.
- Compute
Plan - Full compute plan for one stack/platform pair.
- Compute
Pool Plan - Planner output for one compute pool.
- Container
Resource Plan - Deployment-time resource controls and effective allocation for one container.
Constants§
- GENERATED_
POOL_ MAX_ MACHINES - Machine count up to which a setup offers choices for a pool the source does not declare.
Functions§
- capacity_
group_ requirements - Convert a capacity group declaration into planner requirements.
- check_
pool_ capacity - Rejects a selection whose largest fleet cannot hold the workloads at their desired replica counts after reserving host resources. It also checks that one replica fits; arbitrary multi-replica packing can still require runtime validation.
- 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.
- generated_
pool_ scale_ policy - Allowed scale for a pool that no capacity group declares.
- plan_
compute - Compute a deterministic deployment-time plan.
- plan_
compute_ with_ state - Plan a configuration update while retaining the installed machine architecture. Resource changes must not silently require a different workload image target.
- validate_
compute_ pool_ selection - Validate one selected compute pool against platform machine requirements and source-declared scale bounds.