vagrant: lower memory setup, remove extra disk on node

This commit is contained in:
Jan Novak
2025-12-28 17:53:18 +01:00
parent 8eaf70ec1e
commit acfe11bf74

10
vagrant/Vagrantfile vendored
View File

@@ -7,10 +7,10 @@ VAGRANT_BOX = "generic/ubuntu2204"
VAGRANT_BOX_VERSION = "4.3.12"
CPUS_MASTER_NODE = 2
CPUS_WORKER_NODE = 4
#MEMORY_MASTER_NODE = 2048
MEMORY_MASTER_NODE = 4096
#MEMORY_WORKER_NODE = 4096
MEMORY_WORKER_NODE = 8192
MEMORY_MASTER_NODE = 2048
#MEMORY_MASTER_NODE = 4096
MEMORY_WORKER_NODE = 4096
#MEMORY_WORKER_NODE = 8192
WORKER_NODES_COUNT = 3
@@ -86,7 +86,7 @@ Vagrant.configure(2) do |config|
libvirt.cpus = CPUS_WORKER_NODE
libvirt.storage_pool_path = '/srv/vms'
libvirt.storage :file, :size => '50G', :type => 'qcow2'
libvirt.storage :file, :size => '50G', :type => 'qcow2'
# libvirt.storage :file, :size => '50G', :type => 'qcow2'
end
node.vm.provision "shell", path: "bootstrap_kworker.sh"