mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-06 06:46:26 +01:00
43 lines
1017 B
Plaintext
43 lines
1017 B
Plaintext
|
|
// Module included in the following assemblies:
|
|
//
|
|
// * virt/live_migration/virt-live-migration-limits.adoc
|
|
|
|
[id="virt-configuring-live-migration-limits_{context}"]
|
|
= Configuring live migration limits and timeouts
|
|
|
|
Configure live migration limits and timeouts for the cluster by adding updated
|
|
key:value fields to the `kubevirt-config` configuration file, which is located in the
|
|
`openshift-cnv` namespace.
|
|
|
|
.Procedure
|
|
|
|
* Edit the `kubevirt-config` configuration file and add the necessary
|
|
live migration parameters. The following example shows the default values:
|
|
+
|
|
|
|
[source,terminal]
|
|
----
|
|
$ oc edit configmap kubevirt-config -n openshift-cnv
|
|
----
|
|
+
|
|
|
|
[source,yaml]
|
|
----
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: kubevirt-config
|
|
namespace: kubevirt
|
|
labels:
|
|
kubevirt.io: ""
|
|
data:
|
|
feature-gates: "LiveMigration"
|
|
migrations: |-
|
|
parallelMigrationsPerCluster: 5
|
|
parallelOutboundMigrationsPerNode: 2
|
|
bandwidthPerMigration: 64Mi
|
|
completionTimeoutPerGiB: 800
|
|
progressTimeout: 150
|
|
----
|