reddwarf/crates/reddwarf-runtime/src/image/mod.rs
Claude 710d353924
Add image management catalog and scheduler resource-aware scheduling
Image management:
- ImageCatalog backed by KVStore with register/resolve/list/delete
- CLI `image import`, `image list`, `image delete` subcommands
- PodController resolves container image field to local path
  (tarball → lx_image_path, ZFS snapshot → clone_from)

Scheduler runtime metrics:
- compute_allocated_resources() sums requests of all scheduled pods per node
- PodFitsResources filter subtracts used resources from allocatable
- LeastAllocated/BalancedAllocation scorers account for existing load
- Pod count limits enforced against node max-pods
- Allocated resources updated within scheduling cycle for multi-pod batches

https://claude.ai/code/session_016QLFjAyYGzMPbBjEGMe75j
2026-03-19 21:35:48 +00:00

3 lines
74 B
Rust

pub mod catalog;
pub use catalog::{ImageCatalog, ImageEntry, ImageType};