Skip to content

Commit 01404ed

Browse files
committed
chore: reduce memory requirement for contrplane nodes
Reduce memory requirement for controlplane nodes by 200M. (2*1024-200). Signed-off-by: Noel Georgi <git@frezbo.dev>
1 parent 980f9eb commit 01404ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/minimal/limits.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ import (
1515

1616
// Memory returns the minimal/recommended amount of memory required to run the node.
1717
func Memory(typ machine.Type) (minimum, recommended uint64, err error) {
18-
// We remove 100 MiB from the recommended memory to account for the kernel
18+
// We remove 150 MiB from the recommended memory to account for the kernel
1919
switch typ { //nolint:exhaustive
2020
case machine.TypeControlPlane, machine.TypeInit:
21-
minimum = 2*humanize.GiByte - 150*humanize.MiByte
21+
minimum = 1848*humanize.MiByte - 150*humanize.MiByte
2222
recommended = 4*humanize.GiByte - 150*humanize.MiByte
2323

2424
case machine.TypeWorker:

0 commit comments

Comments
 (0)