You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Implement ADR 0021 workload reservations and surge admission for single-machine installations #352
Implement the capacity/isolation portion of accepted ADR 0021, merged in #341. The ADR changes documentation only; its resource protections are not implemented by that merge.
On a machine hosting the control plane and applications, admission must protect the control plane while old and new application releases overlap. The current generic placement policy discounts the replaced release while it is still serving.
Acceptance criteria
Implement and report the ADR's control-plane reservation (default 0.5 CPU and 1 GiB) and minimum single-machine installer capacity (2 CPUs / 3 GiB).
On nodes with the specified reservation, count old and new releases concurrently during switch-then-drain and refuse an oversized redeployment before starting it.
Enforce the ADR's application memory slice, including correct Docker/systemd membership and bounded aggregate workload memory.
Verify successful and refused placements, concurrent deployments, restart behavior and cleanup of failed/superseded reservations.
On a real disposable VM, demonstrate that memory pressure from applications and a rejected rolling deployment leave the control plane available.
Coordinate with the remaining single-machine installation work; this issue alone does not make single-machine installation supported.
Boundaries
Follow the accepted ADR rather than silently changing ordinary nodes' placement policy. The ADR explicitly preserves their current behavior; a general surge-policy change needs a separate decision. No host resource-exhaustion experiment was performed during the audit.
Activity
feat(agent): reservation facts and the workloads slice (ADR 0021, par…
feat: leave the control plane reservation free and count both release…
samuelmbabhazi commentedon Nov 20, 2026
Status: code complete, merged in #373 and #374.
node.reservationand puts application containers inshipkeep-workloads.slicewithworkloads_oom_score_adj. Facts reportreserved_cpu_millisandreserved_memory_bytes.surge).Checked end to end on a fresh Ubuntu 24.04 container installed by the single-machine installer:
memory.lowandmemory.max;What remains is the acceptance on a real VM (#200), including behavior under real memory pressure, which a container cannot show faithfully.