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

fix(installer): update disk space #2152

Merged
merged 1 commit into from
Nov 3, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(installer): update disk space
lis committed Nov 3, 2022
commit e2c7ac72e96dfcaaee5b91e4cab364e614043fc3
2 changes: 1 addition & 1 deletion docs/user/tke-installer/normal-installation.md
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ The hardware requirements for nodes mostly depend on your workloads, the minimum
* Hardware
* 8 vCPU
* 16 GB of Memory
* 50 GB of Disk Space
* 100 GB of Disk Space

> Note: Installer node need extra 25GB /var/lib/ disk to store images and temporary files, 50GB /opt disk to uncompress installer package
4 changes: 2 additions & 2 deletions pkg/platform/provider/baremetal/validation/constants.go
Original file line number Diff line number Diff line change
@@ -35,8 +35,8 @@ const (
const (
MachineResourceRequstDiskPath = "/var/lib"
MachineResourceRequstLogDiskPath = "/var/log"
MachineResourceRequstDiskSpace = 50 // GiB
MachineResourceRequstLogDiskSpace = 10 // GiB
MachineResourceRequstDiskSpace = 100 // GiB
MachineResourceRequstLogDiskSpace = 10 // GiB
MachineResourceRequstCPU = 4
MachineResourceRequstMemory = 8 // GiB
)