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

Allow sorting nodes with less provisioned cpu #918

Closed
AhmedHanafy725 opened this issue Mar 6, 2024 · 1 comment
Closed

Allow sorting nodes with less provisioned cpu #918

AhmedHanafy725 opened this issue Mar 6, 2024 · 1 comment
Assignees
Labels
grid-proxy belongs to grid proxy type_feature New feature or request
Milestone

Comments

@AhmedHanafy725
Copy link
Contributor

Is your feature request related to a problem? Please describe

To offer nodes with less CPU usage to the user on the dashboard for the deployments.

Describe the solution you'd like

maybe as @Omarabdul3ziz suggested with used < total cpus

@Eslam-Nawara
Copy link
Contributor

Eslam-Nawara commented Jun 10, 2024

Verified:
used sdk-go to request nodes with limit filter "sort_by" = "free_cru" and calculated free_cru and it's sorted as requested

  • returned nodes
nodeID: 11, free cpu: -33
nodeID: 177, free cpu: -8
nodeID: 174, free cpu: -8
nodeID: 150, free cpu: -8
nodeID: 128, free cpu: -7
nodeID: 171, free cpu: -5
nodeID: 14, free cpu: -5
nodeID: 163, free cpu: -5
nodeID: 127, free cpu: -4
  • without using the sort_by filter
nodeID: 14, free cpu: -5
nodeID: 28, free cpu: -51
nodeID: 127, free cpu: -4
nodeID: 128, free cpu: -7
nodeID: 144, free cpu: -1
nodeID: 145, free cpu: -3
nodeID: 146, free cpu: -1
nodeID: 150, free cpu: -8
nodeID: 152, free cpu: -2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
grid-proxy belongs to grid proxy type_feature New feature or request
Projects
Status: Done
Development

No branches or pull requests

4 participants