reddwarf/crates/reddwarf-runtime
Till Wegmueller 4c7f50a7a0
Add ZoneBrandMatch scheduler filter to reject brand-incompatible nodes
The scheduler now checks pod brand annotations against node brand labels
before scoring, preventing brand-mismatched pods from being scheduled to
incompatible nodes and failing at zone-install time.

- Add `supported_brands` field to NodeAgentConfig, emitted as
  `reddwarf.io/zone-brands` node label (comma-separated)
- Add `ZoneBrandMatch` filter: reads `reddwarf.io/zone-brand` pod
  annotation vs node label, rejects mismatches with clear message
- Read pod brand annotation in controller's `pod_to_zone_config()`
  to select ZoneBrand instead of always using default_brand
- Add `--supported-brands` CLI flag to the agent subcommand

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 21:45:51 +01:00
..
src Add ZoneBrandMatch scheduler filter to reject brand-incompatible nodes 2026-02-14 21:45:51 +01:00
Cargo.toml Add dynamic node resource detection with configurable system reservations 2026-02-14 21:17:43 +01:00