Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: represent requires in resources #14

Merged
merged 9 commits into from
May 10, 2024
Merged

Conversation

vsoch
Copy link
Member

@vsoch vsoch commented May 7, 2024

Problem: a compatibility requirement needs to clearly be matched to resources, at least the subset that goes into a match in the graph.
Solution: refactor the jobspec so top level resources can have slots that have nested "requires" at the level they are needed. I also found a way to remove the "slot" idea and just replace it with the idea of asking for replicas of a particular place in the resource request. Note that the implementation is not updated yet, just the spec, and I am opening a PR so I can stare at it.

vsoch added 9 commits May 7, 2024 01:37
Problem: a compatibility requirement needs to clearly be
matched to resources, at least the subset that goes into
a match in the graph.
Solution: refactor the jobspec so top level resources can
have slots that have nested "requires" at the level they
are needed. I also found a way to remove the "slot" idea
and just replace it with the idea of asking for replicas of
a particular place in the resource request. Note that
the implementation is not updated yet, just the spec, and
I am opening a PR so I can stare at it.

Signed-off-by: vsoch <[email protected]>
Problem: requires needs to be grouped with schedule-able
groups.
Solution: simplify the jobspec to allow that.

Signed-off-by: vsoch <[email protected]>
These are for cluster state that is desired. We likely
will want to move these into schedulable units.

Signed-off-by: vsoch <[email protected]>
Signed-off-by: vsoch <[email protected]>
@vsoch vsoch merged commit 0258340 into main May 10, 2024
2 checks passed
@vsoch vsoch deleted the refactor-includes-requires branch May 10, 2024 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant