From e2c7ac72e96dfcaaee5b91e4cab364e614043fc3 Mon Sep 17 00:00:00 2001 From: lis Date: Thu, 3 Nov 2022 12:41:15 +0800 Subject: [PATCH] fix(installer): update disk space --- docs/user/tke-installer/normal-installation.md | 2 +- pkg/platform/provider/baremetal/validation/constants.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/user/tke-installer/normal-installation.md b/docs/user/tke-installer/normal-installation.md index b46b911aa..23e7d5d0d 100644 --- a/docs/user/tke-installer/normal-installation.md +++ b/docs/user/tke-installer/normal-installation.md @@ -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 diff --git a/pkg/platform/provider/baremetal/validation/constants.go b/pkg/platform/provider/baremetal/validation/constants.go index fc22b1379..129f05639 100644 --- a/pkg/platform/provider/baremetal/validation/constants.go +++ b/pkg/platform/provider/baremetal/validation/constants.go @@ -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 )