arc-runners: let runner defs select a workflow scheduler#829
Merged
Conversation
[ghstack-poisoned]
tofu plan — arc-cbr-production-uw1✅ Plan succeeded · commit Plan output |
tofu plan — meta-prod-aws-ue1✅ Plan succeeded · commit Plan output |
tofu plan — lf-prod-aws-ue2✅ Plan succeeded · commit Plan output |
[ghstack-poisoned]
tofu plan — arc-cbr-production✅ Plan succeeded · commit Plan output |
zxiiro
approved these changes
Jun 25, 2026
huydhn
pushed a commit
to huydhn/pytorch-ci-infra
that referenced
this pull request
Jun 25, 2026
…#828) Stack from [ghstack](https://github.com/ezyang/ghstack/tree/0.14.0) (oldest at bottom): * pytorch#830 * pytorch#829 * __->__ pytorch#828 EKS's managed kube-scheduler scores LeastAllocated (spread) and can't be reconfigured, so add a stock kube-scheduler as a secondary scheduler with NodeResourcesFit: MostAllocated. Pods that set spec.schedulerName: bin-pack-scheduler get packed onto the fullest node. Pure-kustomize module in kube-system (config, RBAC, leader-elected Deployment, smoke tests); inert until a pod opts in.
huydhn
pushed a commit
to huydhn/pytorch-ci-infra
that referenced
this pull request
Jun 25, 2026
Stack from [ghstack](https://github.com/ezyang/ghstack/tree/0.14.0) (oldest at bottom): * __->__ pytorch#830 * pytorch#829 * pytorch#828 Add bin-pack-scheduler to the meta-staging-aws-ue1 module list so it deploys to staging. Split from the module (pytorch#803) and the scheduler_name knob (pytorch#804) so turning it on is its own revertible switch.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack from ghstack (oldest at bottom):
Add an optional scheduler_name, set per runner def or cluster-wide via
arc-runners.scheduler_name in clusters.yaml (per-def wins; blank = default
scheduler). generate_runners.py stamps it on both the workflow pod and the
listener's CAPACITY_AWARE_WORKFLOW_SCHEDULER_NAME, so the pod and its ph-w-*
placeholder use the same scheduler.