From 883962e36be4c7a0564f7f922db26f6034ab7874 Mon Sep 17 00:00:00 2001 From: derekwaynecarr Date: Mon, 23 Feb 2015 19:17:13 -0500 Subject: [PATCH] Kubernetes master needs more than 512MB of ram --- Vagrantfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 0379f92324c..06bf4886c13 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -50,8 +50,11 @@ else # sorry Windows folks, I can't help you $vm_cpus = 2 end -# Give VM 512MB of RAM -$vm_mem = 512 +# Give VM 1024MB of RAM +# In Fedora VM, tmpfs device is mapped to /tmp. tmpfs is given 50% of RAM allocation. +# When doing Salt provisioning, we copy approximately 200MB of content in /tmp before anything else happens. +# This causes problems if anything else was in /tmp or the other directories that are bound to tmpfs device (i.e /run, etc.) +$vm_mem = 1024 Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| def customize_vm(config)