feat: show resource estimates in larakube new wizard #30
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
luchaveztech/larakube-cli!30
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/larakube-new"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds a resource-usage summary table at the end of
larakube new, sousers see estimated download sizes, on-disk footprints, and allocated
volume storage for their chosen stack before scaffolding begins.
Changes
larakube newresource estimatesshowResourceEstimates()method displays a table after thewizard with per-service estimates (download, on-disk, allocated PVC)
and a total row
object storage
HasDockerImagecontract extendedgetDownloadSize(),getOnDiskSize(),getAllocatedStorage()to the interface — implemented across all service enums with
realistic sizes based on published image metadata
Wizard labels enriched
getSelectOptionsWithSizes()onProvidesSelectOptionstraitappends download size and volume info to select labels, e.g.
PostgreSQL (dl: 160 MB, vol: 1Gi)Motivation
Users provisioning a new project had no visibility into the resource
footprint of their choices until deployment. The table helps them make
informed decisions, especially on resource-constrained machines.
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.