mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
|
|
// Module included in the following assemblies:
|
|
//
|
|
// * virt/advanced_vm_management/virt-vm-control-plane-tuning.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="virt-configuring-highburst-profile_{context}"]
|
|
= Configuring a highBurst profile
|
|
|
|
[role="_abstract"]
|
|
You can use the `highBurst` profile to create and maintain a large number of virtual machines (VMs) in one cluster.
|
|
|
|
.Prerequisites
|
|
|
|
* You have installed the {oc-first}.
|
|
|
|
.Procedure
|
|
|
|
* Apply the following patch to enable the `highBurst` tuning policy profile:
|
|
+
|
|
[source,terminal,subs="attributes+"]
|
|
----
|
|
$ oc patch hyperconverged kubevirt-hyperconverged -n {CNVNamespace} \
|
|
--type=json -p='[{"op": "add", "path": "/spec/tuningPolicy", \
|
|
"value": "highBurst"}]'
|
|
----
|
|
|
|
.Verification
|
|
|
|
* Run the following command to verify the `highBurst` tuning policy profile is enabled:
|
|
+
|
|
[source,terminal,subs="attributes+"]
|
|
----
|
|
$ oc get kubevirt.kubevirt.io/kubevirt-kubevirt-hyperconverged \
|
|
-n {CNVNamespace} -o go-template --template='{{range $config, \
|
|
$value := .spec.configuration}} {{if eq $config "apiConfiguration" \
|
|
"webhookConfiguration" "controllerConfiguration" "handlerConfiguration"}} \
|
|
{{"\n"}} {{$config}} = {{$value}} {{end}} {{end}} {{"\n"}}
|
|
----
|