-
Notifications
You must be signed in to change notification settings - Fork 659
CONSOLE-2967: Expose CPU and memory in MachineSet list/details #9956
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
CONSOLE-2967: Expose CPU and memory in MachineSet list/details #9956
Conversation
c72dd53
to
600c946
Compare
600c946
to
349b81e
Compare
CC @andybraren for visibility. |
/test frontend |
|
/test frontend |
@rebeccaalpert I tested the PR on a cluster created via cluster-bot, so it looks like we show size of the first node belonging to that MachineSet for |
@yapei - Yes, Andy and Ali only wanted to show the size of the node. Andy said the machines should have the same capacity, based on what the instance type is. |
I'm getting a frontend test error that I can't recreate locally (test is passing fine):
|
/test frontend |
Yay! Tests are finally not flaking. This is ready for review after bug bash Monday is over. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rebeccaalpert I'm not sure if this is in the scope of this pr...maybe @spadgett would know. Are we supposed to be referencing api's from the shared package for the purpose of providing core only vs admin plugins?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small change requested plus a question for you and sam on the imports. Looks really great!!!
349b81e
to
ebcb8ab
Compare
I updated the cores text to use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/assign @ahardin-rh @opayne1 /assign @yapei /assign @RickJWagner |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
/label docs-approved |
/label px-approved |
Screen.Recording.2021-09-24.at.11.08.17.AM.mov |
Added the memory and number of CPU cores for each MachineSet to the MachineSet list view. Fixes https://issues.redhat.com/browse/CONSOLE-2967
ebcb8ab
to
f9f0747
Compare
Thanks @yapei - I'm having trouble recreating this locally, but it makes sense this would happen if the machines or nodes weren't loaded yet. I pushed a change that would load the skeleton loading table instead if this happens. I'll try to run the PR with cluster bot so I can see if the problem is fixed with that change. Please feel free to try on your end also when it's your working hours. |
@rebeccaalpert The new changes look good to me in my local testing, no other issues |
/label qe-approved |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jcaianirh, jhadvig, rebeccaalpert The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Splitting out the CPU and Memory column work from #9575 per @spadgett so we can roll it into a future release.
In order to add sorting for these columns, we had to move to the new virtualized table.
Screenshot (note that "test" MachineSet has junk data so I could test the sorting; it does not reflect actual data for the instance type):
Related to https://issues.redhat.com/browse/CONSOLE-2319.
Fixes https://issues.redhat.com/browse/CONSOLE-2967.