Create a Namespaced Virtual Machine Instance Migration
POST /apis/kubevirt.io/v1/namespaces/:namespace/virtualmachineinstancemigrations
Create a VirtualMachineInstanceMigration object.
Request
Path Parameters
namespace stringrequired
Possible values: Value must match regular expression [a-z0-9][a-z0-9\-]*
Object name and auth scope, such as for teams and projects
- application/json
- application/yaml
Body
required
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
vmiName string
status object
conditions object[]
- Array [
lastProbeTime k8s.io.v1.Time (string)
Default value: [object Object]
lastTransitionTime k8s.io.v1.Time (string)
Default value: [object Object]
message string
reason string
status stringrequired
type stringrequired
- ]
migrationState object
abortRequested boolean
abortStatus string
completed boolean
endTimestamp k8s.io.v1.Time (string)
failed boolean
migrationConfiguration object
allowAutoConverge boolean
allowPostCopy boolean
bandwidthPerMigration k8s.io.apimachinery.pkg.api.resource.Quantity (string)
completionTimeoutPerGiB int64
disableTLS boolean
matchSELinuxLevelOnMigration boolean
network string
nodeDrainTaintKey string
parallelMigrationsPerCluster int64
parallelOutboundMigrationsPerNode int64
progressTimeout int64
unsafeMigrationOverride boolean
migrationPolicyName string
migrationUid string
mode string
sourceNode string
startTimestamp k8s.io.v1.Time (string)
targetAttachmentPodUID string
targetCPUSet int32[]
targetDirectMigrationNodePorts object
property name* int32
Default value: 0
targetNode string
targetNodeAddress string
targetNodeDomainDetected boolean
targetNodeDomainReadyTimestamp k8s.io.v1.Time (string)
targetNodeTopology string
targetPod string
phase string
phaseTransitionTimestamps object[]
- Array [
phase string
phaseTransitionTimestamp k8s.io.v1.Time (string)
Default value: [object Object]
- ]
Body
required
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
vmiName string
status object
conditions object[]
- Array [
lastProbeTime k8s.io.v1.Time (string)
Default value: [object Object]
lastTransitionTime k8s.io.v1.Time (string)
Default value: [object Object]
message string
reason string
status stringrequired
type stringrequired
- ]
migrationState object
abortRequested boolean
abortStatus string
completed boolean
endTimestamp k8s.io.v1.Time (string)
failed boolean
migrationConfiguration object
allowAutoConverge boolean
allowPostCopy boolean
bandwidthPerMigration k8s.io.apimachinery.pkg.api.resource.Quantity (string)
completionTimeoutPerGiB int64
disableTLS boolean
matchSELinuxLevelOnMigration boolean
network string
nodeDrainTaintKey string
parallelMigrationsPerCluster int64
parallelOutboundMigrationsPerNode int64
progressTimeout int64
unsafeMigrationOverride boolean
migrationPolicyName string
migrationUid string
mode string
sourceNode string
startTimestamp k8s.io.v1.Time (string)
targetAttachmentPodUID string
targetCPUSet int32[]
targetDirectMigrationNodePorts object
property name* int32
Default value: 0
targetNode string
targetNodeAddress string
targetNodeDomainDetected boolean
targetNodeDomainReadyTimestamp k8s.io.v1.Time (string)
targetNodeTopology string
targetPod string
phase string
phaseTransitionTimestamps object[]
- Array [
phase string
phaseTransitionTimestamp k8s.io.v1.Time (string)
Default value: [object Object]
- ]
Responses
- 200
- 201
- 202
- 401
OK
- application/json
application/yaml
Schema
- Example (from schema)
Schema
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
vmiName string
status object
conditions object[]
- Array [
lastProbeTime k8s.io.v1.Time (string)
Default value: [object Object]
lastTransitionTime k8s.io.v1.Time (string)
Default value: [object Object]
message string
reason string
status stringrequired
type stringrequired
- ]
migrationState object
abortRequested boolean
abortStatus string
completed boolean
endTimestamp k8s.io.v1.Time (string)
failed boolean
migrationConfiguration object
allowAutoConverge boolean
allowPostCopy boolean
bandwidthPerMigration k8s.io.apimachinery.pkg.api.resource.Quantity (string)
completionTimeoutPerGiB int64
disableTLS boolean
matchSELinuxLevelOnMigration boolean
network string
nodeDrainTaintKey string
parallelMigrationsPerCluster int64
parallelOutboundMigrationsPerNode int64
progressTimeout int64
unsafeMigrationOverride boolean
migrationPolicyName string
migrationUid string
mode string
sourceNode string
startTimestamp k8s.io.v1.Time (string)
targetAttachmentPodUID string
targetCPUSet int32[]
targetDirectMigrationNodePorts object
property name* int32
Default value: 0
targetNode string
targetNodeAddress string
targetNodeDomainDetected boolean
targetNodeDomainReadyTimestamp k8s.io.v1.Time (string)
targetNodeTopology string
targetPod string
phase string
phaseTransitionTimestamps object[]
- Array [
phase string
phaseTransitionTimestamp k8s.io.v1.Time (string)
Default value: [object Object]
- ]
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"vmiName": "string"
},
"status": {
"conditions": [
{
"lastProbeTime": {},
"lastTransitionTime": {},
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"migrationState": {
"abortRequested": true,
"abortStatus": "string",
"completed": true,
"endTimestamp": "string",
"failed": true,
"migrationConfiguration": {
"allowAutoConverge": true,
"allowPostCopy": true,
"bandwidthPerMigration": "string",
"completionTimeoutPerGiB": 0,
"disableTLS": true,
"matchSELinuxLevelOnMigration": true,
"network": "string",
"nodeDrainTaintKey": "string",
"parallelMigrationsPerCluster": 0,
"parallelOutboundMigrationsPerNode": 0,
"progressTimeout": 0,
"unsafeMigrationOverride": true
},
"migrationPolicyName": "string",
"migrationUid": "string",
"mode": "string",
"sourceNode": "string",
"startTimestamp": "string",
"targetAttachmentPodUID": "string",
"targetCPUSet": [
0
],
"targetDirectMigrationNodePorts": {},
"targetNode": "string",
"targetNodeAddress": "string",
"targetNodeDomainDetected": true,
"targetNodeDomainReadyTimestamp": "string",
"targetNodeTopology": "string",
"targetPod": "string"
},
"phase": "string",
"phaseTransitionTimestamps": [
{
"phase": "string",
"phaseTransitionTimestamp": {}
}
]
}
}
- Schema
- Example (from schema)
Schema
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
vmiName string
status object
conditions object[]
- Array [
lastProbeTime k8s.io.v1.Time (string)
Default value: [object Object]
lastTransitionTime k8s.io.v1.Time (string)
Default value: [object Object]
message string
reason string
status stringrequired
type stringrequired
- ]
migrationState object
abortRequested boolean
abortStatus string
completed boolean
endTimestamp k8s.io.v1.Time (string)
failed boolean
migrationConfiguration object
allowAutoConverge boolean
allowPostCopy boolean
bandwidthPerMigration k8s.io.apimachinery.pkg.api.resource.Quantity (string)
completionTimeoutPerGiB int64
disableTLS boolean
matchSELinuxLevelOnMigration boolean
network string
nodeDrainTaintKey string
parallelMigrationsPerCluster int64
parallelOutboundMigrationsPerNode int64
progressTimeout int64
unsafeMigrationOverride boolean
migrationPolicyName string
migrationUid string
mode string
sourceNode string
startTimestamp k8s.io.v1.Time (string)
targetAttachmentPodUID string
targetCPUSet int32[]
targetDirectMigrationNodePorts object
property name* int32
Default value: 0
targetNode string
targetNodeAddress string
targetNodeDomainDetected boolean
targetNodeDomainReadyTimestamp k8s.io.v1.Time (string)
targetNodeTopology string
targetPod string
phase string
phaseTransitionTimestamps object[]
- Array [
phase string
phaseTransitionTimestamp k8s.io.v1.Time (string)
Default value: [object Object]
- ]
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"vmiName": "string"
},
"status": {
"conditions": [
{
"lastProbeTime": {},
"lastTransitionTime": {},
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"migrationState": {
"abortRequested": true,
"abortStatus": "string",
"completed": true,
"endTimestamp": "string",
"failed": true,
"migrationConfiguration": {
"allowAutoConverge": true,
"allowPostCopy": true,
"bandwidthPerMigration": "string",
"completionTimeoutPerGiB": 0,
"disableTLS": true,
"matchSELinuxLevelOnMigration": true,
"network": "string",
"nodeDrainTaintKey": "string",
"parallelMigrationsPerCluster": 0,
"parallelOutboundMigrationsPerNode": 0,
"progressTimeout": 0,
"unsafeMigrationOverride": true
},
"migrationPolicyName": "string",
"migrationUid": "string",
"mode": "string",
"sourceNode": "string",
"startTimestamp": "string",
"targetAttachmentPodUID": "string",
"targetCPUSet": [
0
],
"targetDirectMigrationNodePorts": {},
"targetNode": "string",
"targetNodeAddress": "string",
"targetNodeDomainDetected": true,
"targetNodeDomainReadyTimestamp": "string",
"targetNodeTopology": "string",
"targetPod": "string"
},
"phase": "string",
"phaseTransitionTimestamps": [
{
"phase": "string",
"phaseTransitionTimestamp": {}
}
]
}
}
Created
- application/json
application/yaml
Schema
- Example (from schema)
Schema
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
vmiName string
status object
conditions object[]
- Array [
lastProbeTime k8s.io.v1.Time (string)
Default value: [object Object]
lastTransitionTime k8s.io.v1.Time (string)
Default value: [object Object]
message string
reason string
status stringrequired
type stringrequired
- ]
migrationState object
abortRequested boolean
abortStatus string
completed boolean
endTimestamp k8s.io.v1.Time (string)
failed boolean
migrationConfiguration object
allowAutoConverge boolean
allowPostCopy boolean
bandwidthPerMigration k8s.io.apimachinery.pkg.api.resource.Quantity (string)
completionTimeoutPerGiB int64
disableTLS boolean
matchSELinuxLevelOnMigration boolean
network string
nodeDrainTaintKey string
parallelMigrationsPerCluster int64
parallelOutboundMigrationsPerNode int64
progressTimeout int64
unsafeMigrationOverride boolean
migrationPolicyName string
migrationUid string
mode string
sourceNode string
startTimestamp k8s.io.v1.Time (string)
targetAttachmentPodUID string
targetCPUSet int32[]
targetDirectMigrationNodePorts object
property name* int32
Default value: 0
targetNode string
targetNodeAddress string
targetNodeDomainDetected boolean
targetNodeDomainReadyTimestamp k8s.io.v1.Time (string)
targetNodeTopology string
targetPod string
phase string
phaseTransitionTimestamps object[]
- Array [
phase string
phaseTransitionTimestamp k8s.io.v1.Time (string)
Default value: [object Object]
- ]
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"vmiName": "string"
},
"status": {
"conditions": [
{
"lastProbeTime": {},
"lastTransitionTime": {},
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"migrationState": {
"abortRequested": true,
"abortStatus": "string",
"completed": true,
"endTimestamp": "string",
"failed": true,
"migrationConfiguration": {
"allowAutoConverge": true,
"allowPostCopy": true,
"bandwidthPerMigration": "string",
"completionTimeoutPerGiB": 0,
"disableTLS": true,
"matchSELinuxLevelOnMigration": true,
"network": "string",
"nodeDrainTaintKey": "string",
"parallelMigrationsPerCluster": 0,
"parallelOutboundMigrationsPerNode": 0,
"progressTimeout": 0,
"unsafeMigrationOverride": true
},
"migrationPolicyName": "string",
"migrationUid": "string",
"mode": "string",
"sourceNode": "string",
"startTimestamp": "string",
"targetAttachmentPodUID": "string",
"targetCPUSet": [
0
],
"targetDirectMigrationNodePorts": {},
"targetNode": "string",
"targetNodeAddress": "string",
"targetNodeDomainDetected": true,
"targetNodeDomainReadyTimestamp": "string",
"targetNodeTopology": "string",
"targetPod": "string"
},
"phase": "string",
"phaseTransitionTimestamps": [
{
"phase": "string",
"phaseTransitionTimestamp": {}
}
]
}
}
- Schema
- Example (from schema)
Schema
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
vmiName string
status object
conditions object[]
- Array [
lastProbeTime k8s.io.v1.Time (string)
Default value: [object Object]
lastTransitionTime k8s.io.v1.Time (string)
Default value: [object Object]
message string
reason string
status stringrequired
type stringrequired
- ]
migrationState object
abortRequested boolean
abortStatus string
completed boolean
endTimestamp k8s.io.v1.Time (string)
failed boolean
migrationConfiguration object
allowAutoConverge boolean
allowPostCopy boolean
bandwidthPerMigration k8s.io.apimachinery.pkg.api.resource.Quantity (string)
completionTimeoutPerGiB int64
disableTLS boolean
matchSELinuxLevelOnMigration boolean
network string
nodeDrainTaintKey string
parallelMigrationsPerCluster int64
parallelOutboundMigrationsPerNode int64
progressTimeout int64
unsafeMigrationOverride boolean
migrationPolicyName string
migrationUid string
mode string
sourceNode string
startTimestamp k8s.io.v1.Time (string)
targetAttachmentPodUID string
targetCPUSet int32[]
targetDirectMigrationNodePorts object
property name* int32
Default value: 0
targetNode string
targetNodeAddress string
targetNodeDomainDetected boolean
targetNodeDomainReadyTimestamp k8s.io.v1.Time (string)
targetNodeTopology string
targetPod string
phase string
phaseTransitionTimestamps object[]
- Array [
phase string
phaseTransitionTimestamp k8s.io.v1.Time (string)
Default value: [object Object]
- ]
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"vmiName": "string"
},
"status": {
"conditions": [
{
"lastProbeTime": {},
"lastTransitionTime": {},
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"migrationState": {
"abortRequested": true,
"abortStatus": "string",
"completed": true,
"endTimestamp": "string",
"failed": true,
"migrationConfiguration": {
"allowAutoConverge": true,
"allowPostCopy": true,
"bandwidthPerMigration": "string",
"completionTimeoutPerGiB": 0,
"disableTLS": true,
"matchSELinuxLevelOnMigration": true,
"network": "string",
"nodeDrainTaintKey": "string",
"parallelMigrationsPerCluster": 0,
"parallelOutboundMigrationsPerNode": 0,
"progressTimeout": 0,
"unsafeMigrationOverride": true
},
"migrationPolicyName": "string",
"migrationUid": "string",
"mode": "string",
"sourceNode": "string",
"startTimestamp": "string",
"targetAttachmentPodUID": "string",
"targetCPUSet": [
0
],
"targetDirectMigrationNodePorts": {},
"targetNode": "string",
"targetNodeAddress": "string",
"targetNodeDomainDetected": true,
"targetNodeDomainReadyTimestamp": "string",
"targetNodeTopology": "string",
"targetPod": "string"
},
"phase": "string",
"phaseTransitionTimestamps": [
{
"phase": "string",
"phaseTransitionTimestamp": {}
}
]
}
}
Accepted
- application/json
application/yaml
Schema
- Example (from schema)
Schema
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
vmiName string
status object
conditions object[]
- Array [
lastProbeTime k8s.io.v1.Time (string)
Default value: [object Object]
lastTransitionTime k8s.io.v1.Time (string)
Default value: [object Object]
message string
reason string
status stringrequired
type stringrequired
- ]
migrationState object
abortRequested boolean
abortStatus string
completed boolean
endTimestamp k8s.io.v1.Time (string)
failed boolean
migrationConfiguration object
allowAutoConverge boolean
allowPostCopy boolean
bandwidthPerMigration k8s.io.apimachinery.pkg.api.resource.Quantity (string)
completionTimeoutPerGiB int64
disableTLS boolean
matchSELinuxLevelOnMigration boolean
network string
nodeDrainTaintKey string
parallelMigrationsPerCluster int64
parallelOutboundMigrationsPerNode int64
progressTimeout int64
unsafeMigrationOverride boolean
migrationPolicyName string
migrationUid string
mode string
sourceNode string
startTimestamp k8s.io.v1.Time (string)
targetAttachmentPodUID string
targetCPUSet int32[]
targetDirectMigrationNodePorts object
property name* int32
Default value: 0
targetNode string
targetNodeAddress string
targetNodeDomainDetected boolean
targetNodeDomainReadyTimestamp k8s.io.v1.Time (string)
targetNodeTopology string
targetPod string
phase string
phaseTransitionTimestamps object[]
- Array [
phase string
phaseTransitionTimestamp k8s.io.v1.Time (string)
Default value: [object Object]
- ]
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"vmiName": "string"
},
"status": {
"conditions": [
{
"lastProbeTime": {},
"lastTransitionTime": {},
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"migrationState": {
"abortRequested": true,
"abortStatus": "string",
"completed": true,
"endTimestamp": "string",
"failed": true,
"migrationConfiguration": {
"allowAutoConverge": true,
"allowPostCopy": true,
"bandwidthPerMigration": "string",
"completionTimeoutPerGiB": 0,
"disableTLS": true,
"matchSELinuxLevelOnMigration": true,
"network": "string",
"nodeDrainTaintKey": "string",
"parallelMigrationsPerCluster": 0,
"parallelOutboundMigrationsPerNode": 0,
"progressTimeout": 0,
"unsafeMigrationOverride": true
},
"migrationPolicyName": "string",
"migrationUid": "string",
"mode": "string",
"sourceNode": "string",
"startTimestamp": "string",
"targetAttachmentPodUID": "string",
"targetCPUSet": [
0
],
"targetDirectMigrationNodePorts": {},
"targetNode": "string",
"targetNodeAddress": "string",
"targetNodeDomainDetected": true,
"targetNodeDomainReadyTimestamp": "string",
"targetNodeTopology": "string",
"targetPod": "string"
},
"phase": "string",
"phaseTransitionTimestamps": [
{
"phase": "string",
"phaseTransitionTimestamp": {}
}
]
}
}
- Schema
- Example (from schema)
Schema
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
vmiName string
status object
conditions object[]
- Array [
lastProbeTime k8s.io.v1.Time (string)
Default value: [object Object]
lastTransitionTime k8s.io.v1.Time (string)
Default value: [object Object]
message string
reason string
status stringrequired
type stringrequired
- ]
migrationState object
abortRequested boolean
abortStatus string
completed boolean
endTimestamp k8s.io.v1.Time (string)
failed boolean
migrationConfiguration object
allowAutoConverge boolean
allowPostCopy boolean
bandwidthPerMigration k8s.io.apimachinery.pkg.api.resource.Quantity (string)
completionTimeoutPerGiB int64
disableTLS boolean
matchSELinuxLevelOnMigration boolean
network string
nodeDrainTaintKey string
parallelMigrationsPerCluster int64
parallelOutboundMigrationsPerNode int64
progressTimeout int64
unsafeMigrationOverride boolean
migrationPolicyName string
migrationUid string
mode string
sourceNode string
startTimestamp k8s.io.v1.Time (string)
targetAttachmentPodUID string
targetCPUSet int32[]
targetDirectMigrationNodePorts object
property name* int32
Default value: 0
targetNode string
targetNodeAddress string
targetNodeDomainDetected boolean
targetNodeDomainReadyTimestamp k8s.io.v1.Time (string)
targetNodeTopology string
targetPod string
phase string
phaseTransitionTimestamps object[]
- Array [
phase string
phaseTransitionTimestamp k8s.io.v1.Time (string)
Default value: [object Object]
- ]
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"vmiName": "string"
},
"status": {
"conditions": [
{
"lastProbeTime": {},
"lastTransitionTime": {},
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"migrationState": {
"abortRequested": true,
"abortStatus": "string",
"completed": true,
"endTimestamp": "string",
"failed": true,
"migrationConfiguration": {
"allowAutoConverge": true,
"allowPostCopy": true,
"bandwidthPerMigration": "string",
"completionTimeoutPerGiB": 0,
"disableTLS": true,
"matchSELinuxLevelOnMigration": true,
"network": "string",
"nodeDrainTaintKey": "string",
"parallelMigrationsPerCluster": 0,
"parallelOutboundMigrationsPerNode": 0,
"progressTimeout": 0,
"unsafeMigrationOverride": true
},
"migrationPolicyName": "string",
"migrationUid": "string",
"mode": "string",
"sourceNode": "string",
"startTimestamp": "string",
"targetAttachmentPodUID": "string",
"targetCPUSet": [
0
],
"targetDirectMigrationNodePorts": {},
"targetNode": "string",
"targetNodeAddress": "string",
"targetNodeDomainDetected": true,
"targetNodeDomainReadyTimestamp": "string",
"targetNodeTopology": "string",
"targetPod": "string"
},
"phase": "string",
"phaseTransitionTimestamps": [
{
"phase": "string",
"phaseTransitionTimestamp": {}
}
]
}
}
Unauthorized
- application/json
application/yaml
Schema
Schema
string
- Schema
Schema
string
Loading…