mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #4754 from derekwaynecarr/increase_ram_vagrant
Vagrant: Kubernetes master needs more than 512MB of ram
This commit is contained in:
commit
07cce905f5
7
Vagrantfile
vendored
7
Vagrantfile
vendored
@ -50,8 +50,11 @@ else # sorry Windows folks, I can't help you
|
|||||||
$vm_cpus = 2
|
$vm_cpus = 2
|
||||||
end
|
end
|
||||||
|
|
||||||
# Give VM 512MB of RAM
|
# Give VM 1024MB of RAM
|
||||||
$vm_mem = 512
|
# 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|
|
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||||
def customize_vm(config)
|
def customize_vm(config)
|
||||||
|
Loading…
Reference in New Issue
Block a user