Skip to content

Commit

Permalink
Reduce RAM requirements
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Morales <v.morales@samsung.com>
  • Loading branch information
electrocucaracha committed Jun 14, 2023
1 parent 79017a3 commit c2024bd
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"hostRequirements": {
"cpus": 8,
"memory": "32gb"
"memory": "16gb"
},
"postCreateCommand": "cd e2e/provision/; cp nephio.yaml ~/nephio.yaml && ./install_sandbox.sh | tee ~/install_sandbox.log",
"forwardPorts": [7007, 3000]
Expand Down
6 changes: 3 additions & 3 deletions e2e/provision/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -593,9 +593,9 @@ kubectl apply -f test-infra/e2e/tests/006-edge-free5gc-upf.yaml
## Step 1: Order or Create a VM using your local VM

Order or create a VM with the following specification:
- Linux Flavour: Ubuntu-22.04-jammy
- 16 cores
- 32 GB memory
- Linux Flavour: Ubuntu-20.04-focal
- 8 cores
- 16 GB memory
- 200 GB disk size
- default user is "ubuntu" and "ubuntu" needs sudo passwordless permissions

Expand Down
2 changes: 1 addition & 1 deletion e2e/provision/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Vagrant.configure('2') do |config|
%i[virtualbox libvirt].each do |provider|
config.vm.provider provider do |p|
p.cpus = ENV['CPUS'] || 8
p.memory = ENV['MEMORY'] || 32 * 1024
p.memory = ENV['MEMORY'] || 16 * 1024
end
end

Expand Down
2 changes: 1 addition & 1 deletion e2e/provision/nephio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ all:
host_os: "linux" # use "darwin" for MacOS X, "windows" for Windows
host_arch: "amd64" # other possible values: "386","arm64","arm","ppc64le","s390x"
host_min_vcpu: 8 # minimum required vCPUs before install
host_min_cpu_ram: 16 # minimum required CPU RAM before install; value in GB
host_min_cpu_ram: 8 # minimum required CPU RAM before install; value in GB
host_min_root_disk_space: 50 # minimum required disk space before install; value in GB
tmp_directory: "/tmp"
bin_directory: "/usr/local/bin"
Expand Down
2 changes: 1 addition & 1 deletion e2e/provision/playbooks/roles/bootstrap/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
##############################################################################

host_min_vcpu: 8 # minimum required vCPUs before install
host_min_cpu_ram: 16 # minimum required CPU RAM before install; value in GB
host_min_cpu_ram: 8 # minimum required CPU RAM before install; value in GB
host_min_root_disk_space: 50 # minimum required disk space before install; value in GB

container_engine: docker
Expand Down

0 comments on commit c2024bd

Please sign in to comment.