Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clone virtuablbox vms #256

Merged
merged 1 commit into from
Nov 27, 2023
Merged

Conversation

roivanov
Copy link
Contributor

@roivanov roivanov commented Nov 25, 2023

Changes

Use virtualbox clone vm to speedup provision and disk save

Linked Issues

Comparisons to master

without clone:

$ time vagrant up server-0 agent-0 agent-1
45.01s user 26.17s system 5% cpu 21:06.77 total
$ du -sh VirtualBox\ VMs/k3s-ansible_*
5.6G	VirtualBox VMs/k3s-ansible_agent-0_1700944617844_4920
5.4G	VirtualBox VMs/k3s-ansible_agent-1_1700944988316_45689
6.2G	VirtualBox VMs/k3s-ansible_server-0_1700944207941_53134

with clone:

$ vagrant up server-0 agent-0 agent-1
40.17s user 21.25s system 7% cpu 14:25.32 total
$ du -sh VirtualBox\ VMs/k3s-ansible_* VirtualBox\ VMs/generic-*
4.5G	VirtualBox VMs/generic-ubuntu2004-virtualbox-x64_1700945558989_1414
1.3G	VirtualBox VMs/k3s-ansible_agent-0_1700945933583_55185
1.2G	VirtualBox VMs/k3s-ansible_agent-1_1700946237718_63854
1.9G	VirtualBox VMs/k3s-ansible_server-0_1700945630388_82614

Signed-off-by: Roman Ivanov <[email protected]>
@roivanov roivanov marked this pull request as ready for review November 26, 2023 08:06
@dereknola dereknola merged commit 1e8bfb0 into k3s-io:master Nov 27, 2023
2 checks passed
@roivanov roivanov deleted the romani/clone_vbox_vm branch November 27, 2023 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants