incusplacement

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

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

func Render(cfg config.Config) (string, error)

Render returns a portable Incus Starlark placement scriptlet derived only from typed public platform policy. Every candidate must first pass pressure, disk and hard-memory checks; the least loaded candidate wins, with best-fit memory packing only as a tie-break between comparable CPU loads.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL