Skip to content

Commit a94906c

Browse files
authored
Merge pull request #95766 from mburke5678/CNV-64080-418
[enterprise-4.18] CNV# 64080 - Documentation suggests annotating automemory-limits-ratio
2 parents c07ad59 + e934ac7 commit a94906c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/virt-setting-resource-quota-limits-for-vms.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ If a namespace enforces both CPU and memory quotas and requires limits to be set
1414

1515
[NOTE]
1616
====
17-
You can customize the memory limit ratio for a specific namespace by adding the `alpha.kubevirt.io/auto-memory-limits-ratio` annotation.
17+
You can customize the memory limit ratio for a specific namespace by adding the `alpha.kubevirt.io/auto-memory-limits-ratio` label.
1818
1919
For example, the following command sets the ratio to 1.2 for the `my-virtualization-project` namespace:
2020
2121
[source,terminal]
2222
----
23-
$ oc annotate namespace my-virtualization-project alpha.kubevirt.io/auto-memory-limits-ratio=1.2
23+
$ oc label ns/my-virtualization-project alpha.kubevirt.io/auto-memory-limits-ratio=1.2
2424
----
2525
====
2626

@@ -79,4 +79,4 @@ spec:
7979
----
8080
<1> This configuration is supported because the `limits.memory` value is at least `100Mi` larger than the `requests.memory` value.
8181

82-
. Save the `VirtualMachine` manifest.
82+
. Save the `VirtualMachine` manifest.

0 commit comments

Comments
 (0)