reddwarf/crates/reddwarf-runtime
Till Wegmueller d3eb0b2511
Add dynamic node resource detection with configurable system reservations
Replace hardcoded memory (8Gi) and pod limits (110) in the node agent with
actual system detection via the sys-info crate. CPU and memory are detected
once at NodeAgent construction and reused on every heartbeat. Capacity
reports raw hardware values while allocatable subtracts configurable
reservations (--system-reserved-cpu, --system-reserved-memory, --max-pods),
giving the scheduler accurate data for filtering and scoring.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 21:17:43 +01:00
..
src Add dynamic node resource detection with configurable system reservations 2026-02-14 21:17:43 +01:00
Cargo.toml Add dynamic node resource detection with configurable system reservations 2026-02-14 21:17:43 +01:00