Virtual machine control plane tuning

OKD Virtualization offers the following tuning options at the control-plane level:

  • The highBurst profile, which uses fixed QPS and burst rates, to create hundreds of virtual machines (VMs) in one batch

  • Migration setting adjustment based on workload type

Configuring a highBurst profile

Use the highBurst profile to create and maintain a large number of virtual machines (VMs) in one cluster.

Procedure

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

    1. $ oc patch hyperconverged kubevirt-hyperconverged -n kubevirt-hyperconverged \
    2. --type=json -p='[{"op": "add", "path": "/spec/tuningPolicy", \
    3. "value": "highBurst"}]'

Verification

  • Run the following command to verify the highBurst tuning policy profile is enabled:

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