×

In OKD Virtualization, you can control how the control plane handles concurrency when you create or migrate virtual machines (VMs). For example, you can use the the highBurst profile with either the fixed QPS or burst rates to batch create virtual machines (VMs) in a batch, or tune migration settings in the HyperConverged custom resource (CR).

Configuring a highBurst profile

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 OpenShift CLI (oc).

Procedure
  • Apply the following patch to enable the highBurst tuning policy profile:

    $ oc patch hyperconverged kubevirt-hyperconverged -n kubevirt-hyperconverged \
      --type=json -p='[{"op": "add", "path": "/spec/tuningPolicy", \
      "value": "highBurst"}]'
Verification
  • Run the following command to verify the highBurst tuning policy profile is enabled:

    $ oc get kubevirt.kubevirt.io/kubevirt-kubevirt-hyperconverged \
      -n kubevirt-hyperconverged -o go-template --template='{{range $config, \
      $value := .spec.configuration}} {{if eq $config "apiConfiguration" \
      "webhookConfiguration" "controllerConfiguration" "handlerConfiguration"}} \
      {{"\n"}} {{$config}} = {{$value}} {{end}} {{end}} {{"\n"}}