Skip to content

Commit 63976d4

Browse files
committed
Add update about resourcequota scaling
Signed-off-by: Jian Wang <[email protected]>
1 parent 10e75b4 commit 63976d4

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

docs/rancher/resource-quota.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,17 @@ Please be aware of the following constrains of the automatic resizing of `Resour
9595
- After expanding `ResourceQuota`, potential resource contention may occur between non-VM pods and VM pods, leading to migration failures. Therefore, deploying custom container workloads and VMs to the same namespace is not recommended.
9696
- Due to the concurrent limitation of the webhook validator, the VM controller will execute a secondary validation to confirm resource sufficiency. If the resource is insufficient, it will auto config the VM's `RunStrategy` to `Halted`, and a new annotation `harvesterhci.io/insufficient-resource-quota` will be added to the VM object, informing you that the VM was shut down due to insufficient resources.
9797
![](/img/v1.2/rancher/vm-annotation-insufficient-resource-quota.png)
98+
99+
### Disable automatic adjustment of ResourceQuota during migration
100+
101+
_Available as of v1.4.2_
102+
103+
When a `ResourceQuota` has the annotation `harvesterhci.io/skipResourceQuotaAutoScaling: "true"`, Harvester stops the automatic adjustment on it.
104+
105+
:::note
106+
107+
This feature is useful for debugging, troubleshooting and so on. Set the annotation before the migration happens.
108+
109+
If it is set after a migration has triggerred the scaling up, the scaling down will not be performed when the migration is done.
110+
111+
:::

versioned_docs/version-v1.4/rancher/resource-quota.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,17 @@ Please be aware of the following constrains of the automatic resizing of `Resour
9494
- After expanding `ResourceQuota`, potential resource contention may occur between non-VM pods and VM pods, leading to migration failures. Therefore, deploying custom container workloads and VMs to the same namespace is not recommended.
9595
- Due to the concurrent limitation of the webhook validator, the VM controller will execute a secondary validation to confirm resource sufficiency. If the resource is insufficient, it will auto config the VM's `RunStrategy` to `Halted`, and a new annotation `harvesterhci.io/insufficient-resource-quota` will be added to the VM object, informing you that the VM was shut down due to insufficient resources.
9696
![](/img/v1.2/rancher/vm-annotation-insufficient-resource-quota.png)
97+
98+
### Disable automatic adjustment of ResourceQuota during migration
99+
100+
_Available as of v1.4.2_
101+
102+
When a `ResourceQuota` has the annotation `harvesterhci.io/skipResourceQuotaAutoScaling: "true"`, Harvester stops the automatic adjustment on it.
103+
104+
:::note
105+
106+
This feature is useful for debugging, troubleshooting and so on. Set the annotation before the migration happens.
107+
108+
If it is set after a migration has triggerred the scaling up, the scaling down will not be performed when the migration is done.
109+
110+
:::

0 commit comments

Comments
 (0)