export

KubeVirt虚拟机导出磁盘镜像

开启KubeVirt特性门控 创建磁盘镜像导出服务 下载磁盘镜像 开启KubeVirt特性门控VMExport root@rack1-master34:~$ kubectl -n kubevirt edit kubevirt # Please edit the object below. Lines beginning with a '#' will be ignored, # and an empty file will abort the edit. If an error occurs while saving this file will be # reopened with the relevant failures. # apiVersion: kubevirt.io/v1 kind: KubeVirt metadata: annotations: kubectl.kubernetes.io/last-applied-configuration: | {"apiVersion":"kubevirt.io/v1","kind":"KubeVirt","metadata":{"annotations":{},"name":"kubevirt","namespace":"kubevirt"},"spec":{"certificateRotateStrategy":{},"configuration":{"developerConfiguration":{"featureGates":[]}},"customizeComponents":{},"imagePullPolicy":"IfNotPresent","workloadUpdateStrategy":{}}} kubevirt.io/latest-observed-api-version: v1 kubevirt.io/storage-observed-api-version: v1 creationTimestamp: "2024-09-19T07:11:27Z" finalizers: - foregroundDeleteKubeVirt generation: 3 name: kubevirt namespace: kubevirt resourceVersion: "31602825" uid: 86857887-d8c3-4c17-81de-c43a45457d5a spec: certificateRotateStrategy: {} configuration: developerConfiguration: featureGates: - DataVolumes - LiveMigration - VMExport customizeComponents: {} imagePullPolicy: IfNotPresent workloadUpdateStrategy: {} 创建磁盘镜像导出服务,挂载rbd块设备到virt-export-bj-test01-os-export Pod。

继续阅读