File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,13 @@ If a namespace enforces both CPU and memory quotas and requires limits to be set
14
14
15
15
[NOTE]
16
16
====
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 .
18
18
19
19
For example, the following command sets the ratio to 1.2 for the `my-virtualization-project` namespace:
20
20
21
21
[source,terminal]
22
22
----
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
24
24
----
25
25
====
26
26
79
79
----
80
80
<1> This configuration is supported because the `limits.memory` value is at least `100Mi` larger than the `requests.memory` value.
81
81
82
- . Save the `VirtualMachine` manifest.
82
+ . Save the `VirtualMachine` manifest.
You can’t perform that action at this time.
0 commit comments