fix(overhead): cap overhead at capacity #30
Loading…
Reference in a new issue
No description provided.
Delete branch "overhead-cap"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
overhead.For caps each resource's overhead at the instance's capacity, filling kube-reserved, then system-reserved, then eviction, each taking what's left, so Karpenter core's InstanceType.Allocatable() (capacity minus For's overhead) bottoms out at 0 and agrees with overhead.Allocatable (hetzner: a 64Gi reservation on a 1Gi type gave −63588Mi). Within capacity nothing changes. Also fixes a flaky catalogue test that compared set-ordered Requirement values as a slice (failed ~1 in 10).
🤖 Generated with Claude Code