Runtime affinity flip for the amd64 target node titan-22. Do NOT merge/apply
until the multi-arch hermes-agent image has been built and validated (both arch
leaves + promoted index), per docs/hermes_agent_multiarch.md step (d).
- Add a second nodeSelectorTerm (OR'd) matching ONLY amd64 titan-22 (worker).
The arm64 pi-fleet term is untouched, so the worker still runs on the pi
fleet if titan-22 is unavailable.
- Add a soft, equal-weight preference toward titan-22 so it is used as spare
capacity, not forced.
- Tolerate titan-22's atlas.bstein.dev/media-primary=true:PreferNoSchedule
taint. This only lets hermes-agent also consider titan-22; it does not change
jellyfin's scheduling or priority.
Updates test_hermes_agent_layout.py to match the two-term topology, the added
preference, and the toleration.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BvMSXH8VH2tMWXanb8SJdf