Ref: https://github.com/harvester/harvester/issues/1450
Verify Items
- Project’s Resource quotas can be updated correctly
- Namespace Default Limit should be assigned as the Project configured
- Namespace moving between projects should work correctly
Case: Create Namespace with Resource quotas
- Install Harvester with any nodes
- Install Rancher
- Login to Rancher, import Harvester from Virtualization Management
- Access Harvester dashboard via Virtualization Management
- Navigate to Project/Namespaces, Create Project
A
with Resource quotas - Create Namespace
N1
based on ProjectA
- The Default value of Resource Quotas should be the same as Namespace Default Limit assigned in Project
A
- Modifying resource limit should work correctly (when increasing/decreasing, the value should increased/decreased)
- After
N1
Created, Click Edit Config onN1
- resource limit should be the same as we assigned
- Increase/decrease resource limit then Save
- Click Edit Config on
N1
, resource limit should be the same as we assigned - Click Edit Config on
N1
, then increase resource limit exceeds ProjectA
’s Limit - Click Save Button, error message should shown.
- Click Edit Config on
N1
, then change the Project toDefault
- The Namespace
N1
should be moved to ProjectDefault