-
Notifications
You must be signed in to change notification settings - Fork 32
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
Reserved storage size in the dashboard isn't useful #1105
Reserved storage size in the dashboard isn't useful #1105
Conversation
10ffffb
to
008d334
Compare
... display allocated/scheduled storage instead. Relates to: harvester/harvester#6362 Signed-off-by: Volker Theile <vtheile@suse.com>
008d334
to
bc0a671
Compare
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.
Test locally is good 👍
The storage used and allocated are the same as Longhorn UI.
I'm open to this. If we manage to backport this before the release, we can consult the QA to use an external ui source for validation (if there is no 1.3.2-rc3) |
Hi @votdev, since v1.3.2 is released. We are good to merge and backport to |
1.3.2 is out. It looks like this didn't make it. Can we put it in 1.4 now before it passes? |
Summary
The displayed storage statistics in the
Dashboard
andHosts
page were incorrect. The calculation was incorrect and has been adapted to how it is done in Longhorn.Related Issue #
harvester/harvester#6362
Occurred changes and/or fixed issues
Reserved
toAllocated
.HardwareResourceGauge
to be able to customize the titles.Technical notes summary
The most important change was the calculation of the
total
storage which is done based on the formula((maximum - reserved) * storageOverProvisioningPercentage)) / 100
.Screenshot/Video