VirtualMachineInstanceMigration [virtualmachineinstancemigrations.kubevirt.io/v1]
- 描述
- VirtualMachineInstanceMigration represents the object tracking a VMI's migration to another host in the cluster
- 类型
object- 必填
spec
规格
.spec
- 类型
object
.spec.addedNodeSelector
- 描述
- AddedNodeSelector is an additional selector that can be used to complement a NodeSelector or NodeAffinity as set on the VM to restrict the set of allowed target nodes for a migration. In case of key collisions, values set on the VM objects are going to be preserved to ensure that addedNodeSelector can only restrict but not bypass constraints already set on the VM object.
- 类型
object
.spec.receive
- 描述
- If receieve is specified, this VirtualMachineInstanceMigration will be considered the target
- 类型
object- 必填
migrationID
.spec.sendTo
- 描述
- If sendTo is specified, this VirtualMachineInstanceMigration will be considered the source
- 类型
object- 必填
connectURLmigrationID
.status
- 描述
- VirtualMachineInstanceMigration reprents information pertaining to a VMI's migration.
- 类型
object
.status.conditions
- 类型
array
.status.conditions[]
- 类型
object- 必填
statustype
.status.migrationState
- 描述
- Represents the status of a live migration
- 类型
object
.status.migrationState.migrationConfiguration
- 描述
- Migration configurations to apply
- 类型
object
.status.migrationState.sourceState
- 描述
- SourceState contains migration state managed by the source virt handler
- 类型
object
.status.migrationState.sourceState.nodeSelectors
- 描述
- Node selectors needed by the target to start the receiving pod.
- 类型
object
.status.migrationState.targetCPUSet
- 描述
- If the VMI requires dedicated CPUs, this field will hold the dedicated CPU set on the target node
- 类型
array
.status.migrationState.targetCPUSet[]
- 类型
integer
.status.migrationState.targetDirectMigrationNodePorts
- 描述
- The list of ports opened for live migration on the destination node
- 类型
object
.status.migrationState.targetState
- 描述
- TargetState contains migration state managed by the target virt handler
- 类型
object
.status.migrationState.targetState.cpuSet
- 描述
- If the VMI requires dedicated CPUs, this field will hold the dedicated CPU set on the target node
- 类型
array
.status.migrationState.targetState.cpuSet[]
- 类型
integer
.status.migrationState.targetState.directMigrationNodePorts
- 描述
- The list of ports opened for live migration on the destination node
- 类型
object
.status.phaseTransitionTimestamps
- 描述
- PhaseTransitionTimestamp is the timestamp of when the last phase change occurred
- 类型
array
.status.phaseTransitionTimestamps[]
- 描述
- VirtualMachineInstanceMigrationPhaseTransitionTimestamp gives a timestamp in relation to when a phase is set on a vmi
- 类型
object
.status.synchronizationAddresses
- 描述
- The synchronization addresses one can use to connect to the synchronization controller, includes the port, if multiple addresses are available, the first one is reported in the synchronizationAddress field.
- 类型
array
.status.synchronizationAddresses[]
- 类型
string
API 端点
可用的 API 端点如下:
/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrationsDELETE: delete collection of VirtualMachineInstanceMigrationGET: list objects of kind VirtualMachineInstanceMigrationPOST: create a new VirtualMachineInstanceMigration
/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations/{name}DELETE: delete the specified VirtualMachineInstanceMigrationGET: read the specified VirtualMachineInstanceMigrationPATCH: partially update the specified VirtualMachineInstanceMigrationPUT: replace the specified VirtualMachineInstanceMigration
/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations/{name}/statusGET: read status of the specified VirtualMachineInstanceMigrationPATCH: partially update status of the specified VirtualMachineInstanceMigrationPUT: replace status of the specified VirtualMachineInstanceMigration
/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations
- HTTP 方法
DELETE- 描述
- delete collection of VirtualMachineInstanceMigration
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind VirtualMachineInstanceMigration
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new VirtualMachineInstanceMigration
- 查询参数
- 请求体参数
- HTTP 响应
/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations/{name}
- HTTP 方法
DELETE- 描述
- delete the specified VirtualMachineInstanceMigration
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified VirtualMachineInstanceMigration
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified VirtualMachineInstanceMigration
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified VirtualMachineInstanceMigration
- 查询参数
- 请求体参数
- HTTP 响应
/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations/{name}/status
- HTTP 方法
GET- 描述
- read status of the specified VirtualMachineInstanceMigration
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update status of the specified VirtualMachineInstanceMigration
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace status of the specified VirtualMachineInstanceMigration
- 查询参数
- 请求体参数
- HTTP 响应