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

Resources support #63

Merged
merged 8 commits into from
Mar 27, 2023
Merged

Resources support #63

merged 8 commits into from
Mar 27, 2023

Conversation

edigaryev
Copy link
Collaborator

@edigaryev edigaryev commented Mar 25, 2023

Things that are still left to be implemented:

Resolves #47.

Copy link
Contributor

@fkorotkov fkorotkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where should we document the resource capabilities? In the OpenAPI? In v1.go? Somewhere in the docs?

@@ -116,6 +116,9 @@ func (worker *Worker) registerWorker(ctx context.Context) error {
Meta: v1.Meta{
Name: worker.name,
},
Resources: map[string]uint64{
v1.ResourceTartVMs: 2,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's also make a VM specify this default resource as 1. So scheduling will be working appropriately by default.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's also make a VM specify this default resource as 1. So scheduling will be working appropriately by default.

Implemented in 456c713.

@edigaryev
Copy link
Collaborator Author

Where should we document the resource capabilities? In the OpenAPI? In v1.go? Somewhere in the docs?

Documented in IntegrationGuide.md, see 4ec8f51.

@edigaryev edigaryev merged commit cb39836 into main Mar 27, 2023
@edigaryev edigaryev deleted the resources branch March 27, 2023 13:30
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.

Resources support
2 participants