Skip to content

Commit

Permalink
The kubernetes memory requirement is for the total
Browse files Browse the repository at this point in the history
The kernel will reserve some memory for itself, so if you want
1700 MB free you need to allocate 1800 MB for the VM hardware.

The recommendation is still 2048 (or 2000), with an even 2.0 GiB.
So let's increase the old values with +100, for ~60 overhead.
  • Loading branch information
afbjorklund committed Dec 23, 2020
1 parent 1413d26 commit 402d31b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/minikube/cmd/start_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ const (
interactive = "interactive"
waitTimeout = "wait-timeout"
nativeSSH = "native-ssh"
minUsableMem = 1700 // Kubernetes (kubeadm) will not start with less
minRecommendedMem = 1900 // Warn at no lower than existing configurations
minUsableMem = 1800 // Kubernetes (kubeadm) will not start with less
minRecommendedMem = 2000 // Warn at no lower than existing configurations
minimumCPUS = 2
minimumDiskSize = 2000
autoUpdate = "auto-update-drivers"
Expand Down

0 comments on commit 402d31b

Please sign in to comment.