Ref: https://github.com/harvester/harvester/issues/1429
Verify Items
- Overcommit can be edit on Dashboard
- VM can allocate exceed CPU on the host Node
- VM can chage allocated CPU after created
Case: Update Overcommit configuration
- Install Harvester with any Node
- Login to Dashboard, then navigate to Advanced Settings
- Edit
overcommit-config
- The field of CPU should be editable
- Created VM can allocate maximum CPU should be
<HostCPUs> * [<overcommit-CPU>/100] - <Host Reserved>
Case: VM can allocate CPUs more than Host have
- Install Harvester with any Node
- Create a cloud image for VM Creation
- Create a VM with
<HostCPUs> * 5
CPUs - VM should start successfully
lscpu
in VM should display allocated CPUs- Page of Virtual Machines should display allocated CPUs correctly
Case: Update VM allocated CPUs
- Install Harvester with any Node
- Create a cloud image for VM Creation
- Create a VM with
<HostCPUs> * 5
CPUs - VM should start successfully
- Increase/Reduce VM allocated CPUs to minimum/maximum
- VM should start successfully
lscpu
in VM should display allocated CPUs- Page of Virtual Machines should display allocated CPUs correctly