Skip to content

Commit 4230af7

Browse files
Steven Smithsabrinajess
authored andcommitted
Updates the namespace used when creating an object bucket claim
1 parent 3ae5204 commit 4230af7

6 files changed

+73
-2
lines changed

_topic_maps/_topic_map.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3687,6 +3687,8 @@ Topics:
36873687
File: virt-enabling-descheduler-evictions
36883688
- Name: About high availability for virtual machines
36893689
File: virt-high-availability-for-vms
3690+
- Name: Control plane tuning
3691+
File: virt-vm-control-plane-tuning
36903692
# Importing virtual machines
36913693
- Name: Importing virtual machines
36923694
Dir: importing_vms

modules/registry-configuring-registry-storage-rhodf-cephrgw.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,13 @@ apiVersion: objectbucket.io/v1alpha1
3636
kind: ObjectBucketClaim
3737
metadata:
3838
name: rgwtest
39-
namespace: openshift-storage
39+
namespace: openshift-storage <1>
4040
spec:
4141
storageClassName: ocs-storagecluster-ceph-rgw
4242
generateBucketName: rgwtest
4343
EOF
4444
----
45+
<1> Alternatively, you can use the `openshift-image-registry` namespace.
4546

4647
. Get the bucket name by entering the following command:
4748
+

modules/registry-configuring-registry-storage-rhodf-nooba.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,13 @@ apiVersion: objectbucket.io/v1alpha1
3535
kind: ObjectBucketClaim
3636
metadata:
3737
name: noobaatest
38-
namespace: openshift-storage
38+
namespace: openshift-storage <1>
3939
spec:
4040
storageClassName: openshift-storage.noobaa.io
4141
generateBucketName: noobaatest
4242
EOF
4343
----
44+
<1> Alternatively, you can use the `openshift-image-registry` namespace.
4445

4546
. Get the bucket name by entering the following command:
4647
+
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
2+
// Module included in the following assemblies:
3+
//
4+
// * virt/advanced_vm_management/virt-vm-control-plane-tuning.adoc
5+
6+
:_content-type: PROCEDURE
7+
[id="virt-configuring-highburst-profile_{context}"]
8+
= Configuring a highBurst profile
9+
10+
Use the `highBurst` profile to create and maintain a large number of virtual machines (VMs) in one cluster.
11+
12+
.Procedure
13+
14+
* Apply the following patch to enable the `highBurst` tuning policy profile:
15+
+
16+
[source,terminal]
17+
----
18+
$ oc patch -n openshift-cnv hco kubevirt-hyperconverged \
19+
--type=json -p='[{"op": "add", "path": "/spec/tuningPolicy", \
20+
"value": "highBurst"}]'
21+
----
22+
23+
.Verification
24+
25+
* Run the following command to verify the `highBurst` tuning policy profile is enabled:
26+
27+
+
28+
[source,terminal]
29+
----
30+
$ oc get kubevirt.kubevirt.io/kubevirt-kubevirt-hyperconverged \
31+
-n openshift-cnv -o go-template --template='{{range $config, \
32+
$value := .spec.configuration}} {{if eq $config "apiConfiguration" \
33+
"webhookConfiguration" "controllerConfiguration" "handlerConfiguration"}} \
34+
{{"\n"}} {{$config}} = {{$value}} {{end}} {{end}} {{"\n"}}
35+
----
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
// Module included in the following assemblies:
3+
//
4+
// * virt/advanced_vm_management/virt-vm-control-plane-tuning.adoc
5+
6+
:_content-type: PROCEDURE
7+
[id="virt-configuring-rate-limiters_{context}"]
8+
= Configuring rate limiters
9+
10+
To compensate for large-scale burst rates, scale the `QPS` (Queries per Second) and `burst` rate limits to process a higher rate of client requests or API calls concurrently for each component.
11+
12+
.Procedure
13+
14+
* Apply a `jsonpatch` annotation to adjust the `kubevirt-hyperconverged` cluster configuration by using `tuningPolicy` to apply scalable tuning parameters. This tuning policy automatically adjusts all virtualization components (`webhook`, `api`, `controller`, `handler`) to match the `QPS` and `burst` values specified by the profile.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
:_content-type: ASSEMBLY
2+
[id="virt-vm-control-plane-tuning"]
3+
= Virtual machine control plane tuning
4+
5+
include::_attributes/common-attributes.adoc[]
6+
:context: virt-control-plane-tuning
7+
8+
toc::[]
9+
10+
{VirtProductName} offers the following tuning options at the control-plane level:
11+
12+
* The `highBurst` profile, which uses fixed `QPS` and `burst` rates, to create hundreds of virtual machines (VMs) in one batch
13+
* Migration setting adjustment based on workload type
14+
15+
// this module commented out until jsonpatch is supported or this becomes a TP or DP
16+
// include::modules/virt-configuring-rate-limiters.adoc[leveloffset=+1]
17+
18+
include::modules/virt-configuring-highburst-profile.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)