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

feat: state endpoint #27

Merged
merged 1 commit into from
Apr 6, 2024
Merged

feat: state endpoint #27

merged 1 commit into from
Apr 6, 2024

Conversation

vsoch
Copy link
Member

@vsoch vsoch commented Apr 6, 2024

Problem: we want to be able to select a final cluster based on state Solution: while a cluster will likely send back state when accepting jobs, for the time being we are providing a one off endpoint for a cluster to send state data, and it requires the cluster to authenticate with the name and secret. For now the state date is key value pairs of compatibility metadata, and the values can be anything (interface) as we are expecting the selection algorithms that use them to know the type for a specific key. I will be added selection algorithms after this first stage that I intend to use in scheduler simulation - namely a post filter that serves as additional constraints that can be chosen (max jobs a cluster can accept and a cost value that can be minimized.

Problem: we want to be able to select a final cluster based on state
Solution: while a cluster will likely send back state when accepting jobs,
for the time being we are providing a one off endpoint for a cluster to
send state data, and it requires the cluster to authenticate with the name
and secret. For now the state date is key value pairs of compatibility
metadata, and the values can be anything (interface) as we are expecting
the selection algorithms that use them to know the type for a specific key.
I will be added selection algorithms after this first stage that I intend
to use in scheduler simulation - namely a post filter that serves as
additional constraints that can be chosen (max jobs a cluster can accept
and a cost value that can be minimized.

Signed-off-by: vsoch <[email protected]>
@vsoch vsoch merged commit 85520ee into main Apr 6, 2024
3 checks passed
@vsoch vsoch deleted the add-state-endpoint branch April 6, 2024 00:56
@vsoch vsoch mentioned this pull request Apr 7, 2024
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