reddwarf/crates/reddwarf-scheduler
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 Close the control loop: versioned bind, event-driven controller, graceful shutdown 2026-02-08 23:21:53 +01:00