reddwarf/crates/reddwarf-core/src
Till Wegmueller 4bfcc39a69
Add container resource limits to zone caps: extract, aggregate, and convert
Move ResourceQuantities from reddwarf-scheduler to reddwarf-core so both
scheduler and runtime share K8s CPU/memory parsing. Add cpu_as_zone_cap()
and memory_as_zone_cap() conversions for illumos zonecfg format. Wire
pod_to_zone_config() to aggregate container limits (with requests fallback)
and pass capped-cpu/capped-memory to the zone, closing the resource pipeline.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 17:34:39 +01:00
..
resources Add container resource limits to zone caps: extract, aggregate, and convert 2026-02-14 17:34:39 +01:00
error.rs Format code 2026-01-28 23:17:19 +01:00
events.rs Close the control loop: versioned bind, event-driven controller, graceful shutdown 2026-02-08 23:21:53 +01:00
lib.rs Add container resource limits to zone caps: extract, aggregate, and convert 2026-02-14 17:34:39 +01:00
types.rs Format code 2026-01-28 23:17:19 +01:00