From bc5fd9b560936eff19ba41355af8ecc37aa58315 Mon Sep 17 00:00:00 2001 From: Matt Rickard Date: Thu, 13 Oct 2016 12:13:45 -0700 Subject: [PATCH] Increase memory and cpu defaults --- docs/minikube_start.md | 4 ++-- pkg/minikube/constants/constants.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/minikube_start.md b/docs/minikube_start.md index 0e449d2b35..1e9f316f53 100644 --- a/docs/minikube_start.md +++ b/docs/minikube_start.md @@ -16,7 +16,7 @@ minikube start ``` --container-runtime string The container runtime to be used - --cpus int Number of CPUs allocated to the minikube VM (default 1) + --cpus int Number of CPUs allocated to the minikube VM (default 2) --disk-size string Disk size allocated to the minikube VM (format: [], where unit = b, k, m or g) (default "20g") --docker-env value Environment variables to pass to the Docker daemon. (format: key=value) (default []) --extra-config value A set of key=value pairs that describe configuration that may be passed to different components. @@ -27,7 +27,7 @@ minikube start --iso-url string Location of the minikube iso (default "https://storage.googleapis.com/minikube/minikube-0.7.iso") --kubernetes-version string The kubernetes version that the minikube VM will (ex: v1.2.3) OR a URI which contains a localkube binary (ex: https://storage.googleapis.com/minikube/k8sReleases/v1.3.0/localkube-linux-amd64) (default "v1.4.1") - --memory int Amount of RAM allocated to the minikube VM (default 1024) + --memory int Amount of RAM allocated to the minikube VM (default 2048) --network-plugin string The name of the network plugin --registry-mirror value Registry mirrors to pass to the Docker daemon (default []) --vm-driver string VM driver is one of: [virtualbox vmwarefusion kvm xhyve hyperv] (default "virtualbox") diff --git a/pkg/minikube/constants/constants.go b/pkg/minikube/constants/constants.go index d5a7854241..0c0fa62a8b 100644 --- a/pkg/minikube/constants/constants.go +++ b/pkg/minikube/constants/constants.go @@ -59,8 +59,8 @@ const ( DefaultIsoUrl = "https://storage.googleapis.com/minikube/minikube-0.7.iso" ShaSuffix = ".sha256" DefaultIsoShaUrl = DefaultIsoUrl + ShaSuffix - DefaultMemory = 1024 - DefaultCPUS = 1 + DefaultMemory = 2048 + DefaultCPUS = 2 DefaultDiskSize = "20g" DefaultVMDriver = "virtualbox" DefaultStatusFormat = "minikubeVM: {{.MinikubeStatus}}\n" +