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

[YUNIKORN-2087] reinstate node utilisation rest endpoint #691

Closed
wants to merge 3 commits into from

Conversation

wilfred-s
Copy link
Contributor

What is this PR for?

The node utilisation endpoint is required to be exposed for the dashboard to work after YUNIKORN-325
Moving the endpoint to /ws/v1/scheduler/node-utilization The endpoint will need to change as part of YUNIKORN-2088

What type of PR is it?

  • - Bug Fix

What is the Jira issue?

How should this be tested?

Dashboard fails to show without the fix
Deploy YuniKorn from master with the web UI from master needs to include fix from YUNIKORN-2087 also: dashboard works

Screenshots (if appropriate)

NA

The node utilisation endpoint is required to be exposed for the
dashboard to work after YUNIKORN-325
Moving the endpoint to /ws/v1/scheduler/node-utilization
The endpoint will need to change as part of YUNIKORN-2088
pkg/common/resources/resources_test.go Show resolved Hide resolved
pkg/webservice/handlers_test.go Outdated Show resolved Hide resolved
pkg/common/resources/resources_test.go Show resolved Hide resolved
pkg/common/resources/resources.go Outdated Show resolved Hide resolved
Copy link

codecov bot commented Nov 9, 2023

Codecov Report

Merging #691 (ded39cd) into master (dee60d1) will increase coverage by 0.12%.
Report is 9 commits behind head on master.
The diff coverage is 93.44%.

@@            Coverage Diff             @@
##           master     #691      +/-   ##
==========================================
+ Coverage   77.56%   77.69%   +0.12%     
==========================================
  Files          80       80              
  Lines       13244    13317      +73     
==========================================
+ Hits        10273    10346      +73     
  Misses       2650     2650              
  Partials      321      321              
Files Coverage Δ
pkg/common/resources/resources.go 93.61% <100.00%> (+0.27%) ⬆️
pkg/webservice/webservice.go 12.19% <0.00%> (ø)
pkg/webservice/handlers.go 80.99% <91.17%> (+0.11%) ⬆️

... and 3 files with indirect coverage changes

📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

Copy link
Contributor

@craigcondit craigcondit left a comment

Choose a reason for hiding this comment

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

+1 LGTM.

@wilfred-s wilfred-s closed this in 0fd7436 Nov 9, 2023
@wilfred-s wilfred-s deleted the YUNIKORN-2087 branch November 9, 2023 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants