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

Reserved storage size in the dashboard isn't useful (backport #1105) #1153

Merged

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Sep 17, 2024

Summary

The displayed storage statistics in the Dashboard and Hosts 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

  • Rename Reserved to Allocated.
  • Adapt the calculation of the values used to populate the gauge components.
  • Add properties to 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

Bildschirmfoto vom 2024-08-22 13-31-57

Bildschirmfoto vom 2024-08-22 13-32-31

Bildschirmfoto vom 2024-08-22 13-32-16


This is an automatic backport of pull request #1105 done by [Mergify](https://mergify.com).

... display allocated/scheduled storage instead.

Relates to: harvester/harvester#6362

Signed-off-by: Volker Theile <vtheile@suse.com>
(cherry picked from commit bc0a671)
@mergify mergify bot added the Backport to v1.4 Backport PR target v1.4 label Sep 17, 2024
@mergify mergify bot assigned votdev Sep 17, 2024
@a110605 a110605 merged commit 017c9cd into release-harvester-v1.4 Sep 18, 2024
5 checks passed
@mergify mergify bot deleted the mergify/bp/release-harvester-v1.4/pr-1105 branch September 18, 2024 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backport to v1.4 Backport PR target v1.4
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants