Documentation
¶
Overview ¶
Package incusplacement renders the cluster-wide Incus placement policy for disposable CI workers. Keeping the scriptlet here makes placement reviewed, reproducible desired state instead of an untracked live-server setting.
Index ¶
Constants ¶
View Source
const ServerConfigKey = "instances.placement.scriptlet"
Variables ¶
This section is empty.
Functions ¶
func Render ¶
Render returns a portable Incus Starlark placement scriptlet derived only from typed public platform policy. It uses best-fit decreasing placement: every candidate must first pass pressure, disk and hard-memory checks, then the worker is packed into the candidate with the least safe memory left.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.