9.2. 실시간 마이그레이션 제한 및 타임아웃
마이그레이션 프로세스에서 클러스터를 전부 사용하지 않도록 실시간 마이그레이션 제한 및 타임아웃이 적용됩니다. kubevirt-config
구성 파일을 편집하여 다음 설정을 구성합니다.
9.2.1. 실시간 마이그레이션 제한 및 타임아웃 구성
업데이트된 키:값 필드를 openshift-cnv
네임스페이스에 있는 kubevirt-config
구성 파일에 추가하여 클러스터의 실시간 마이그레이션 제한 및 타임아웃을 구성합니다.
절차
kubevirt-config
구성 파일을 편집하고 필요한 실시간 마이그레이션 매개변수를 추가합니다. 다음 예제에서는 기본값을 보여줍니다.$ oc edit configmap kubevirt-config -n openshift-cnv
설정 파일 예
apiVersion: v1 data: default-network-interface: masquerade feature-gates: DataVolumes,SRIOV,LiveMigration,CPUManager,CPUNodeDiscovery,Sidecar,Snapshot migrations: |- parallelMigrationsPerCluster: "5" parallelOutboundMigrationsPerNode: "2" bandwidthPerMigration: "64Mi" completionTimeoutPerGiB: "800" progressTimeout: "150" machine-type: pc-q35-rhel8.3.0 selinuxLauncherType: virt_launcher.process smbios: |- Family: Red Hat Product: Container-native virtualization Manufacturer: Red Hat Sku: 2.6.0 Version: 2.6.0 kind: ConfigMap metadata: creationTimestamp: "2021-03-26T18:01:04Z" labels: app: kubevirt-hyperconverged name: kubevirt-config namespace: openshift-cnv resourceVersion: "15371295" selfLink: /api/v1/namespaces/openshift-cnv/configmaps/kubevirt-config uid: <uuid>