VirtualMachineInstanceMigration [virtualmachineinstancemigrations.kubevirt.io/v1]
- Description
- VirtualMachineInstanceMigration represents the object tracking a VMI's migration to another host in the cluster
- Type
object- Required
spec
Specification
.spec
- Type
object
.spec.addedNodeSelector
- Description
- 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.
- Type
object
.spec.receive
- Description
- If receieve is specified, this VirtualMachineInstanceMigration will be considered the target
- Type
object- Required
migrationID
.spec.sendTo
- Description
- If sendTo is specified, this VirtualMachineInstanceMigration will be considered the source
- Type
object- Required
connectURLmigrationID
.status
- Description
- VirtualMachineInstanceMigration reprents information pertaining to a VMI's migration.
- Type
object
.status.conditions
- Type
array
.status.conditions[]
- Type
object- Required
statustype
.status.migrationState
- Description
- Represents the status of a live migration
- Type
object
.status.migrationState.migrationConfiguration
- Description
- Migration configurations to apply
- Type
object
.status.migrationState.sourceState
- Description
- SourceState contains migration state managed by the source virt handler
- Type
object
.status.migrationState.sourceState.nodeSelectors
- Description
- Node selectors needed by the target to start the receiving pod.
- Type
object
.status.migrationState.targetCPUSet
- Description
- If the VMI requires dedicated CPUs, this field will hold the dedicated CPU set on the target node
- Type
array
.status.migrationState.targetCPUSet[]
- Type
integer
.status.migrationState.targetDirectMigrationNodePorts
- Description
- The list of ports opened for live migration on the destination node
- Type
object
.status.migrationState.targetState
- Description
- TargetState contains migration state managed by the target virt handler
- Type
object
.status.migrationState.targetState.cpuSet
- Description
- If the VMI requires dedicated CPUs, this field will hold the dedicated CPU set on the target node
- Type
array
.status.migrationState.targetState.cpuSet[]
- Type
integer
.status.migrationState.targetState.directMigrationNodePorts
- Description
- The list of ports opened for live migration on the destination node
- Type
object
.status.phaseTransitionTimestamps
- Description
- PhaseTransitionTimestamp is the timestamp of when the last phase change occurred
- Type
array
.status.phaseTransitionTimestamps[]
- Description
- VirtualMachineInstanceMigrationPhaseTransitionTimestamp gives a timestamp in relation to when a phase is set on a vmi
- Type
object
.status.synchronizationAddresses
- Description
- 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.
- Type
array
.status.synchronizationAddresses[]
- Type
string
API Endpoints
The following API endpoints are available:
/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 method
DELETE- Description
- delete collection of VirtualMachineInstanceMigration
- HTTP responses
- HTTP method
GET- Description
- list objects of kind VirtualMachineInstanceMigration
- HTTP responses
- HTTP method
POST- Description
- create a new VirtualMachineInstanceMigration
- Query parameters
- Body parameters
- HTTP responses
/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations/{name}
- HTTP method
DELETE- Description
- delete the specified VirtualMachineInstanceMigration
- Query parameters
- HTTP responses
- HTTP method
GET- Description
- read the specified VirtualMachineInstanceMigration
- HTTP responses
- HTTP method
PATCH- Description
- partially update the specified VirtualMachineInstanceMigration
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace the specified VirtualMachineInstanceMigration
- Query parameters
- Body parameters
- HTTP responses
/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations/{name}/status
- HTTP method
GET- Description
- read status of the specified VirtualMachineInstanceMigration
- HTTP responses
- HTTP method
PATCH- Description
- partially update status of the specified VirtualMachineInstanceMigration
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace status of the specified VirtualMachineInstanceMigration
- Query parameters
- Body parameters
- HTTP responses