VirtualMachineStorageMigrationPlan [virtualmachinestoragemigrationplans.migrations.kubevirt.io/v1alpha1]
- Description
- VirtualMachineStorageMigrationPlan is the Schema for the virtualmachinestoragemigrationplans API
- Type
object
Specification
.spec
- Description
- VirtualMachineStorageMigrationPlanSpec defines the desired state of VirtualMachineStorageMigrationPlan
- Type
object- Required
virtualMachines
.spec.virtualMachines
- Description
- The virtual machines to migrate.
- Type
array
.spec.virtualMachines[]
- Description
- VirtualMachineStorageMigrationPlanVirtualMachine defines the VirtualMachine to migrate and the PVCs to migrate.
- Type
object- Required
nametargetMigrationPVCs
.spec.virtualMachines[].targetMigrationPVCs
- Description
- A list of PVCs associated with the VirtualMachine to migrate.
- Type
array
.spec.virtualMachines[].targetMigrationPVCs[]
- Description
- VirtualMachineStorageMigrationPlanTargetMigrationPVC defines the PVC to migrate to.
- Type
object- Required
destinationPVCvolumeName
.spec.virtualMachines[].targetMigrationPVCs[].destinationPVC
- Description
- The destination PVC to migrate to.
- Type
object
.spec.virtualMachines[].targetMigrationPVCs[].destinationPVC.accessModes
- Description
- The access modes to use for the PVC, if set to Auto, the access mode will be looked up from the storage class storage profile.
- Type
array
.spec.virtualMachines[].targetMigrationPVCs[].destinationPVC.accessModes[]
- Description
- The access mode of the source PVC. If set to Auto, the access mode will be looked up from the storage class storage profile.
- Type
string
.status
- Description
- VirtualMachineStorageMigrationPlanStatus defines the observed state of VirtualMachineStorageMigrationPlan
- Type
object
.status.completedMigrations
- Description
- The migrations that have been completed.
- Type
array
.status.completedMigrations[]
- Description
- VirtualMachineStorageMigrationPlanStatusVirtualMachine defines the status of the VirtualMachine to migrate.
- Type
object- Required
namesourcePVCstargetMigrationPVCs
.status.completedMigrations[].sourcePVCs
- Description
- A list of source PVCs currently used by the VirtualMachine.
- Type
array
.status.completedMigrations[].sourcePVCs[]
- Description
- VirtualMachineStorageMigrationPlanSourcePVC defines the source PVC used by the VirtualMachine.
- Type
object- Required
namenamespacesourcePVCvolumeName
.status.completedMigrations[].sourcePVCs[].sourcePVC
- Description
- The source PVC.
- Type
object
.status.completedMigrations[].sourcePVCs[].sourcePVC.spec
- Description
- spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- Type
object
.status.completedMigrations[].sourcePVCs[].sourcePVC.spec.accessModes
- Description
- accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
- Type
array
.status.completedMigrations[].sourcePVCs[].sourcePVC.spec.accessModes[]
- Type
string
.status.completedMigrations[].sourcePVCs[].sourcePVC.spec.dataSource
- Description
- dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. If the namespace is specified, then dataSourceRef will not be copied to dataSource.
- Type
object- Required
kindname
.status.completedMigrations[].sourcePVCs[].sourcePVC.spec.dataSourceRef
- Description
- dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the dataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, when namespace isn't specified in dataSourceRef, both fields (dataSource and dataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. When namespace is specified in dataSourceRef, dataSource isn't set to the same value and must be empty. There are three important differences between dataSource and dataSourceRef: * While dataSource only allows two specific types of objects, dataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
- Type
object- Required
kindname
.status.completedMigrations[].sourcePVCs[].sourcePVC.spec.resources
- Description
- resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
- Type
object
.status.completedMigrations[].sourcePVCs[].sourcePVC.spec.resources.limits
- Description
- Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
- Type
object
.status.completedMigrations[].sourcePVCs[].sourcePVC.spec.resources.requests
- Description
- Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
- Type
object
.status.completedMigrations[].sourcePVCs[].sourcePVC.spec.selector
- Description
- selector is a label query over volumes to consider for binding.
- Type
object
.status.completedMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions
- Description
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- Type
array
.status.completedMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[]
- Description
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- Type
object- Required
keyoperator
.status.completedMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[].values
- Description
- values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
- Type
array
.status.completedMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[].values[]
- Type
string
.status.completedMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchLabels
- Description
- matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- Type
object
.status.completedMigrations[].sourcePVCs[].sourcePVC.status
- Description
- status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- Type
object
.status.completedMigrations[].sourcePVCs[].sourcePVC.status.accessModes
- Description
- accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
- Type
array
.status.completedMigrations[].sourcePVCs[].sourcePVC.status.accessModes[]
- Type
string
.status.completedMigrations[].sourcePVCs[].sourcePVC.status.allocatedResourceStatuses
- Description
- allocatedResourceStatuses stores status of resource being resized for the given PVC. Key names follow standard Kubernetes label syntax. Valid values are either: * Un-prefixed keys: - storage - the capacity of the volume. * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource" Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used. ClaimResourceStatus can be in any of following states: - ControllerResizeInProgress: State set when resize controller starts resizing the volume in control-plane. - ControllerResizeFailed: State set when resize has failed in resize controller with a terminal error. - NodeResizePending: State set when resize controller has finished resizing the volume but further resizing of volume is needed on the node. - NodeResizeInProgress: State set when kubelet starts resizing the volume. - NodeResizeFailed: State set when resizing has failed in kubelet with a terminal error. Transient errors don't set NodeResizeFailed. For example: if expanding a PVC for more capacity - this field can be one of the following states: - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeInProgress" - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeFailed" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizePending" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeInProgress" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeFailed" When this field is not set, it means that no resize operation is in progress for the given PVC. A controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
- Type
object
.status.completedMigrations[].sourcePVCs[].sourcePVC.status.allocatedResources
- Description
- allocatedResources tracks the resources allocated to a PVC including its capacity. Key names follow standard Kubernetes label syntax. Valid values are either: * Un-prefixed keys: - storage - the capacity of the volume. * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource" Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used. Capacity reported here may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. A controller that receives PVC update with previously unknown resourceName should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
- Type
object
.status.completedMigrations[].sourcePVCs[].sourcePVC.status.capacity
- Description
- capacity represents the actual resources of the underlying volume.
- Type
object
.status.completedMigrations[].sourcePVCs[].sourcePVC.status.conditions
- Description
- conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'.
- Type
array
.status.completedMigrations[].sourcePVCs[].sourcePVC.status.conditions[]
- Description
- PersistentVolumeClaimCondition contains details about state of pvc
- Type
object- Required
statustype
.status.completedMigrations[].sourcePVCs[].sourcePVC.status.modifyVolumeStatus
- Description
- ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted.
- Type
object- Required
status
.status.completedMigrations[].targetMigrationPVCs
- Description
- A list of PVCs associated with the VirtualMachine to migrate.
- Type
array
.status.completedMigrations[].targetMigrationPVCs[]
- Description
- VirtualMachineStorageMigrationPlanTargetMigrationPVC defines the PVC to migrate to.
- Type
object- Required
destinationPVCvolumeName
.status.completedMigrations[].targetMigrationPVCs[].destinationPVC
- Description
- The destination PVC to migrate to.
- Type
object
.status.completedMigrations[].targetMigrationPVCs[].destinationPVC.accessModes
- Description
- The access modes to use for the PVC, if set to Auto, the access mode will be looked up from the storage class storage profile.
- Type
array
.status.completedMigrations[].targetMigrationPVCs[].destinationPVC.accessModes[]
- Description
- The access mode of the source PVC. If set to Auto, the access mode will be looked up from the storage class storage profile.
- Type
string
.status.conditions
- Type
array
.status.conditions[]
- Description
- Condition Type - The condition type. Status - The condition status. Reason - The reason for the condition. Message - The human readable description of the condition. Durable - The condition is not un-staged. Items - A list of `items` associated with the condition used to replace [] in `Message`. staging - A condition has been explicitly set/updated.
- Type
object- Required
categorylastTransitionTimestatustype
.status.failedMigrations
- Description
- The migrations that have failed.
- Type
array
.status.failedMigrations[]
- Description
- VirtualMachineStorageMigrationPlanStatusVirtualMachine defines the status of the VirtualMachine to migrate.
- Type
object- Required
namesourcePVCstargetMigrationPVCs
.status.failedMigrations[].sourcePVCs
- Description
- A list of source PVCs currently used by the VirtualMachine.
- Type
array
.status.failedMigrations[].sourcePVCs[]
- Description
- VirtualMachineStorageMigrationPlanSourcePVC defines the source PVC used by the VirtualMachine.
- Type
object- Required
namenamespacesourcePVCvolumeName
.status.failedMigrations[].sourcePVCs[].sourcePVC
- Description
- The source PVC.
- Type
object
.status.failedMigrations[].sourcePVCs[].sourcePVC.spec
- Description
- spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- Type
object
.status.failedMigrations[].sourcePVCs[].sourcePVC.spec.accessModes
- Description
- accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
- Type
array
.status.failedMigrations[].sourcePVCs[].sourcePVC.spec.accessModes[]
- Type
string
.status.failedMigrations[].sourcePVCs[].sourcePVC.spec.dataSource
- Description
- dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. If the namespace is specified, then dataSourceRef will not be copied to dataSource.
- Type
object- Required
kindname
.status.failedMigrations[].sourcePVCs[].sourcePVC.spec.dataSourceRef
- Description
- dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the dataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, when namespace isn't specified in dataSourceRef, both fields (dataSource and dataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. When namespace is specified in dataSourceRef, dataSource isn't set to the same value and must be empty. There are three important differences between dataSource and dataSourceRef: * While dataSource only allows two specific types of objects, dataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
- Type
object- Required
kindname
.status.failedMigrations[].sourcePVCs[].sourcePVC.spec.resources
- Description
- resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
- Type
object
.status.failedMigrations[].sourcePVCs[].sourcePVC.spec.resources.limits
- Description
- Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
- Type
object
.status.failedMigrations[].sourcePVCs[].sourcePVC.spec.resources.requests
- Description
- Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
- Type
object
.status.failedMigrations[].sourcePVCs[].sourcePVC.spec.selector
- Description
- selector is a label query over volumes to consider for binding.
- Type
object
.status.failedMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions
- Description
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- Type
array
.status.failedMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[]
- Description
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- Type
object- Required
keyoperator
.status.failedMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[].values
- Description
- values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
- Type
array
.status.failedMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[].values[]
- Type
string
.status.failedMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchLabels
- Description
- matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- Type
object
.status.failedMigrations[].sourcePVCs[].sourcePVC.status
- Description
- status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- Type
object
.status.failedMigrations[].sourcePVCs[].sourcePVC.status.accessModes
- Description
- accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
- Type
array
.status.failedMigrations[].sourcePVCs[].sourcePVC.status.accessModes[]
- Type
string
.status.failedMigrations[].sourcePVCs[].sourcePVC.status.allocatedResourceStatuses
- Description
- allocatedResourceStatuses stores status of resource being resized for the given PVC. Key names follow standard Kubernetes label syntax. Valid values are either: * Un-prefixed keys: - storage - the capacity of the volume. * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource" Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used. ClaimResourceStatus can be in any of following states: - ControllerResizeInProgress: State set when resize controller starts resizing the volume in control-plane. - ControllerResizeFailed: State set when resize has failed in resize controller with a terminal error. - NodeResizePending: State set when resize controller has finished resizing the volume but further resizing of volume is needed on the node. - NodeResizeInProgress: State set when kubelet starts resizing the volume. - NodeResizeFailed: State set when resizing has failed in kubelet with a terminal error. Transient errors don't set NodeResizeFailed. For example: if expanding a PVC for more capacity - this field can be one of the following states: - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeInProgress" - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeFailed" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizePending" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeInProgress" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeFailed" When this field is not set, it means that no resize operation is in progress for the given PVC. A controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
- Type
object
.status.failedMigrations[].sourcePVCs[].sourcePVC.status.allocatedResources
- Description
- allocatedResources tracks the resources allocated to a PVC including its capacity. Key names follow standard Kubernetes label syntax. Valid values are either: * Un-prefixed keys: - storage - the capacity of the volume. * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource" Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used. Capacity reported here may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. A controller that receives PVC update with previously unknown resourceName should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
- Type
object
.status.failedMigrations[].sourcePVCs[].sourcePVC.status.capacity
- Description
- capacity represents the actual resources of the underlying volume.
- Type
object
.status.failedMigrations[].sourcePVCs[].sourcePVC.status.conditions
- Description
- conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'.
- Type
array
.status.failedMigrations[].sourcePVCs[].sourcePVC.status.conditions[]
- Description
- PersistentVolumeClaimCondition contains details about state of pvc
- Type
object- Required
statustype
.status.failedMigrations[].sourcePVCs[].sourcePVC.status.modifyVolumeStatus
- Description
- ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted.
- Type
object- Required
status
.status.failedMigrations[].targetMigrationPVCs
- Description
- A list of PVCs associated with the VirtualMachine to migrate.
- Type
array
.status.failedMigrations[].targetMigrationPVCs[]
- Description
- VirtualMachineStorageMigrationPlanTargetMigrationPVC defines the PVC to migrate to.
- Type
object- Required
destinationPVCvolumeName
.status.failedMigrations[].targetMigrationPVCs[].destinationPVC
- Description
- The destination PVC to migrate to.
- Type
object
.status.failedMigrations[].targetMigrationPVCs[].destinationPVC.accessModes
- Description
- The access modes to use for the PVC, if set to Auto, the access mode will be looked up from the storage class storage profile.
- Type
array
.status.failedMigrations[].targetMigrationPVCs[].destinationPVC.accessModes[]
- Description
- The access mode of the source PVC. If set to Auto, the access mode will be looked up from the storage class storage profile.
- Type
string
.status.inProgressMigrations
- Description
- InProgress migrations are migrations that are in progress.
- Type
array
.status.inProgressMigrations[]
- Description
- VirtualMachineStorageMigrationPlanStatusVirtualMachine defines the status of the VirtualMachine to migrate.
- Type
object- Required
namesourcePVCstargetMigrationPVCs
.status.inProgressMigrations[].sourcePVCs
- Description
- A list of source PVCs currently used by the VirtualMachine.
- Type
array
.status.inProgressMigrations[].sourcePVCs[]
- Description
- VirtualMachineStorageMigrationPlanSourcePVC defines the source PVC used by the VirtualMachine.
- Type
object- Required
namenamespacesourcePVCvolumeName
.status.inProgressMigrations[].sourcePVCs[].sourcePVC
- Description
- The source PVC.
- Type
object
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.spec
- Description
- spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- Type
object
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.spec.accessModes
- Description
- accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
- Type
array
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.spec.accessModes[]
- Type
string
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.spec.dataSource
- Description
- dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. If the namespace is specified, then dataSourceRef will not be copied to dataSource.
- Type
object- Required
kindname
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.spec.dataSourceRef
- Description
- dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the dataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, when namespace isn't specified in dataSourceRef, both fields (dataSource and dataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. When namespace is specified in dataSourceRef, dataSource isn't set to the same value and must be empty. There are three important differences between dataSource and dataSourceRef: * While dataSource only allows two specific types of objects, dataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
- Type
object- Required
kindname
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.spec.resources
- Description
- resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
- Type
object
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.spec.resources.limits
- Description
- Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
- Type
object
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.spec.resources.requests
- Description
- Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
- Type
object
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.spec.selector
- Description
- selector is a label query over volumes to consider for binding.
- Type
object
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions
- Description
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- Type
array
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[]
- Description
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- Type
object- Required
keyoperator
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[].values
- Description
- values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
- Type
array
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[].values[]
- Type
string
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchLabels
- Description
- matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- Type
object
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.status
- Description
- status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- Type
object
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.status.accessModes
- Description
- accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
- Type
array
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.status.accessModes[]
- Type
string
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.status.allocatedResourceStatuses
- Description
- allocatedResourceStatuses stores status of resource being resized for the given PVC. Key names follow standard Kubernetes label syntax. Valid values are either: * Un-prefixed keys: - storage - the capacity of the volume. * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource" Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used. ClaimResourceStatus can be in any of following states: - ControllerResizeInProgress: State set when resize controller starts resizing the volume in control-plane. - ControllerResizeFailed: State set when resize has failed in resize controller with a terminal error. - NodeResizePending: State set when resize controller has finished resizing the volume but further resizing of volume is needed on the node. - NodeResizeInProgress: State set when kubelet starts resizing the volume. - NodeResizeFailed: State set when resizing has failed in kubelet with a terminal error. Transient errors don't set NodeResizeFailed. For example: if expanding a PVC for more capacity - this field can be one of the following states: - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeInProgress" - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeFailed" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizePending" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeInProgress" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeFailed" When this field is not set, it means that no resize operation is in progress for the given PVC. A controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
- Type
object
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.status.allocatedResources
- Description
- allocatedResources tracks the resources allocated to a PVC including its capacity. Key names follow standard Kubernetes label syntax. Valid values are either: * Un-prefixed keys: - storage - the capacity of the volume. * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource" Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used. Capacity reported here may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. A controller that receives PVC update with previously unknown resourceName should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
- Type
object
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.status.capacity
- Description
- capacity represents the actual resources of the underlying volume.
- Type
object
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.status.conditions
- Description
- conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'.
- Type
array
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.status.conditions[]
- Description
- PersistentVolumeClaimCondition contains details about state of pvc
- Type
object- Required
statustype
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.status.modifyVolumeStatus
- Description
- ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted.
- Type
object- Required
status
.status.inProgressMigrations[].targetMigrationPVCs
- Description
- A list of PVCs associated with the VirtualMachine to migrate.
- Type
array
.status.inProgressMigrations[].targetMigrationPVCs[]
- Description
- VirtualMachineStorageMigrationPlanTargetMigrationPVC defines the PVC to migrate to.
- Type
object- Required
destinationPVCvolumeName
.status.inProgressMigrations[].targetMigrationPVCs[].destinationPVC
- Description
- The destination PVC to migrate to.
- Type
object
.status.inProgressMigrations[].targetMigrationPVCs[].destinationPVC.accessModes
- Description
- The access modes to use for the PVC, if set to Auto, the access mode will be looked up from the storage class storage profile.
- Type
array
.status.inProgressMigrations[].targetMigrationPVCs[].destinationPVC.accessModes[]
- Description
- The access mode of the source PVC. If set to Auto, the access mode will be looked up from the storage class storage profile.
- Type
string
.status.invalidMigrations
- Description
- Invalid migrations are migrations that are invalid and cannot be started.
- Type
array
.status.invalidMigrations[]
- Description
- VirtualMachineStorageMigrationPlanStatusVirtualMachine defines the status of the VirtualMachine to migrate.
- Type
object- Required
namesourcePVCstargetMigrationPVCs
.status.invalidMigrations[].sourcePVCs
- Description
- A list of source PVCs currently used by the VirtualMachine.
- Type
array
.status.invalidMigrations[].sourcePVCs[]
- Description
- VirtualMachineStorageMigrationPlanSourcePVC defines the source PVC used by the VirtualMachine.
- Type
object- Required
namenamespacesourcePVCvolumeName
.status.invalidMigrations[].sourcePVCs[].sourcePVC
- Description
- The source PVC.
- Type
object
.status.invalidMigrations[].sourcePVCs[].sourcePVC.spec
- Description
- spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- Type
object
.status.invalidMigrations[].sourcePVCs[].sourcePVC.spec.accessModes
- Description
- accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
- Type
array
.status.invalidMigrations[].sourcePVCs[].sourcePVC.spec.accessModes[]
- Type
string
.status.invalidMigrations[].sourcePVCs[].sourcePVC.spec.dataSource
- Description
- dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. If the namespace is specified, then dataSourceRef will not be copied to dataSource.
- Type
object- Required
kindname
.status.invalidMigrations[].sourcePVCs[].sourcePVC.spec.dataSourceRef
- Description
- dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the dataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, when namespace isn't specified in dataSourceRef, both fields (dataSource and dataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. When namespace is specified in dataSourceRef, dataSource isn't set to the same value and must be empty. There are three important differences between dataSource and dataSourceRef: * While dataSource only allows two specific types of objects, dataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
- Type
object- Required
kindname
.status.invalidMigrations[].sourcePVCs[].sourcePVC.spec.resources
- Description
- resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
- Type
object
.status.invalidMigrations[].sourcePVCs[].sourcePVC.spec.resources.limits
- Description
- Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
- Type
object
.status.invalidMigrations[].sourcePVCs[].sourcePVC.spec.resources.requests
- Description
- Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
- Type
object
.status.invalidMigrations[].sourcePVCs[].sourcePVC.spec.selector
- Description
- selector is a label query over volumes to consider for binding.
- Type
object
.status.invalidMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions
- Description
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- Type
array
.status.invalidMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[]
- Description
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- Type
object- Required
keyoperator
.status.invalidMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[].values
- Description
- values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
- Type
array
.status.invalidMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[].values[]
- Type
string
.status.invalidMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchLabels
- Description
- matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- Type
object
.status.invalidMigrations[].sourcePVCs[].sourcePVC.status
- Description
- status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- Type
object
.status.invalidMigrations[].sourcePVCs[].sourcePVC.status.accessModes
- Description
- accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
- Type
array
.status.invalidMigrations[].sourcePVCs[].sourcePVC.status.accessModes[]
- Type
string
.status.invalidMigrations[].sourcePVCs[].sourcePVC.status.allocatedResourceStatuses
- Description
- allocatedResourceStatuses stores status of resource being resized for the given PVC. Key names follow standard Kubernetes label syntax. Valid values are either: * Un-prefixed keys: - storage - the capacity of the volume. * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource" Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used. ClaimResourceStatus can be in any of following states: - ControllerResizeInProgress: State set when resize controller starts resizing the volume in control-plane. - ControllerResizeFailed: State set when resize has failed in resize controller with a terminal error. - NodeResizePending: State set when resize controller has finished resizing the volume but further resizing of volume is needed on the node. - NodeResizeInProgress: State set when kubelet starts resizing the volume. - NodeResizeFailed: State set when resizing has failed in kubelet with a terminal error. Transient errors don't set NodeResizeFailed. For example: if expanding a PVC for more capacity - this field can be one of the following states: - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeInProgress" - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeFailed" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizePending" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeInProgress" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeFailed" When this field is not set, it means that no resize operation is in progress for the given PVC. A controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
- Type
object
.status.invalidMigrations[].sourcePVCs[].sourcePVC.status.allocatedResources
- Description
- allocatedResources tracks the resources allocated to a PVC including its capacity. Key names follow standard Kubernetes label syntax. Valid values are either: * Un-prefixed keys: - storage - the capacity of the volume. * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource" Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used. Capacity reported here may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. A controller that receives PVC update with previously unknown resourceName should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
- Type
object
.status.invalidMigrations[].sourcePVCs[].sourcePVC.status.capacity
- Description
- capacity represents the actual resources of the underlying volume.
- Type
object
.status.invalidMigrations[].sourcePVCs[].sourcePVC.status.conditions
- Description
- conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'.
- Type
array
.status.invalidMigrations[].sourcePVCs[].sourcePVC.status.conditions[]
- Description
- PersistentVolumeClaimCondition contains details about state of pvc
- Type
object- Required
statustype
.status.invalidMigrations[].sourcePVCs[].sourcePVC.status.modifyVolumeStatus
- Description
- ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted.
- Type
object- Required
status
.status.invalidMigrations[].targetMigrationPVCs
- Description
- A list of PVCs associated with the VirtualMachine to migrate.
- Type
array
.status.invalidMigrations[].targetMigrationPVCs[]
- Description
- VirtualMachineStorageMigrationPlanTargetMigrationPVC defines the PVC to migrate to.
- Type
object- Required
destinationPVCvolumeName
.status.invalidMigrations[].targetMigrationPVCs[].destinationPVC
- Description
- The destination PVC to migrate to.
- Type
object
.status.invalidMigrations[].targetMigrationPVCs[].destinationPVC.accessModes
- Description
- The access modes to use for the PVC, if set to Auto, the access mode will be looked up from the storage class storage profile.
- Type
array
.status.invalidMigrations[].targetMigrationPVCs[].destinationPVC.accessModes[]
- Description
- The access mode of the source PVC. If set to Auto, the access mode will be looked up from the storage class storage profile.
- Type
string
.status.readyMigrations
- Description
- Ready migrations are migrations that are ready to be started.
- Type
array
.status.readyMigrations[]
- Description
- VirtualMachineStorageMigrationPlanStatusVirtualMachine defines the status of the VirtualMachine to migrate.
- Type
object- Required
namesourcePVCstargetMigrationPVCs
.status.readyMigrations[].sourcePVCs
- Description
- A list of source PVCs currently used by the VirtualMachine.
- Type
array
.status.readyMigrations[].sourcePVCs[]
- Description
- VirtualMachineStorageMigrationPlanSourcePVC defines the source PVC used by the VirtualMachine.
- Type
object- Required
namenamespacesourcePVCvolumeName
.status.readyMigrations[].sourcePVCs[].sourcePVC
- Description
- The source PVC.
- Type
object
.status.readyMigrations[].sourcePVCs[].sourcePVC.spec
- Description
- spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- Type
object
.status.readyMigrations[].sourcePVCs[].sourcePVC.spec.accessModes
- Description
- accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
- Type
array
.status.readyMigrations[].sourcePVCs[].sourcePVC.spec.accessModes[]
- Type
string
.status.readyMigrations[].sourcePVCs[].sourcePVC.spec.dataSource
- Description
- dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. If the namespace is specified, then dataSourceRef will not be copied to dataSource.
- Type
object- Required
kindname
.status.readyMigrations[].sourcePVCs[].sourcePVC.spec.dataSourceRef
- Description
- dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the dataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, when namespace isn't specified in dataSourceRef, both fields (dataSource and dataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. When namespace is specified in dataSourceRef, dataSource isn't set to the same value and must be empty. There are three important differences between dataSource and dataSourceRef: * While dataSource only allows two specific types of objects, dataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While dataSource ignores disallowed values (dropping them), dataSourceRef preserves all values, and generates an error if a disallowed value is specified. * While dataSource only allows local objects, dataSourceRef allows objects in any namespaces. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
- Type
object- Required
kindname
.status.readyMigrations[].sourcePVCs[].sourcePVC.spec.resources
- Description
- resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
- Type
object
.status.readyMigrations[].sourcePVCs[].sourcePVC.spec.resources.limits
- Description
- Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
- Type
object
.status.readyMigrations[].sourcePVCs[].sourcePVC.spec.resources.requests
- Description
- Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
- Type
object
.status.readyMigrations[].sourcePVCs[].sourcePVC.spec.selector
- Description
- selector is a label query over volumes to consider for binding.
- Type
object
.status.readyMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions
- Description
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- Type
array
.status.readyMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[]
- Description
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- Type
object- Required
keyoperator
.status.readyMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[].values
- Description
- values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
- Type
array
.status.readyMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[].values[]
- Type
string
.status.readyMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchLabels
- Description
- matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- Type
object
.status.readyMigrations[].sourcePVCs[].sourcePVC.status
- Description
- status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- Type
object
.status.readyMigrations[].sourcePVCs[].sourcePVC.status.accessModes
- Description
- accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
- Type
array
.status.readyMigrations[].sourcePVCs[].sourcePVC.status.accessModes[]
- Type
string
.status.readyMigrations[].sourcePVCs[].sourcePVC.status.allocatedResourceStatuses
- Description
- allocatedResourceStatuses stores status of resource being resized for the given PVC. Key names follow standard Kubernetes label syntax. Valid values are either: * Un-prefixed keys: - storage - the capacity of the volume. * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource" Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used. ClaimResourceStatus can be in any of following states: - ControllerResizeInProgress: State set when resize controller starts resizing the volume in control-plane. - ControllerResizeFailed: State set when resize has failed in resize controller with a terminal error. - NodeResizePending: State set when resize controller has finished resizing the volume but further resizing of volume is needed on the node. - NodeResizeInProgress: State set when kubelet starts resizing the volume. - NodeResizeFailed: State set when resizing has failed in kubelet with a terminal error. Transient errors don't set NodeResizeFailed. For example: if expanding a PVC for more capacity - this field can be one of the following states: - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeInProgress" - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeFailed" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizePending" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeInProgress" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeFailed" When this field is not set, it means that no resize operation is in progress for the given PVC. A controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
- Type
object
.status.readyMigrations[].sourcePVCs[].sourcePVC.status.allocatedResources
- Description
- allocatedResources tracks the resources allocated to a PVC including its capacity. Key names follow standard Kubernetes label syntax. Valid values are either: * Un-prefixed keys: - storage - the capacity of the volume. * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource" Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used. Capacity reported here may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. A controller that receives PVC update with previously unknown resourceName should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
- Type
object
.status.readyMigrations[].sourcePVCs[].sourcePVC.status.capacity
- Description
- capacity represents the actual resources of the underlying volume.
- Type
object
.status.readyMigrations[].sourcePVCs[].sourcePVC.status.conditions
- Description
- conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'.
- Type
array
.status.readyMigrations[].sourcePVCs[].sourcePVC.status.conditions[]
- Description
- PersistentVolumeClaimCondition contains details about state of pvc
- Type
object- Required
statustype
.status.readyMigrations[].sourcePVCs[].sourcePVC.status.modifyVolumeStatus
- Description
- ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted.
- Type
object- Required
status
.status.readyMigrations[].targetMigrationPVCs
- Description
- A list of PVCs associated with the VirtualMachine to migrate.
- Type
array
.status.readyMigrations[].targetMigrationPVCs[]
- Description
- VirtualMachineStorageMigrationPlanTargetMigrationPVC defines the PVC to migrate to.
- Type
object- Required
destinationPVCvolumeName
.status.readyMigrations[].targetMigrationPVCs[].destinationPVC
- Description
- The destination PVC to migrate to.
- Type
object
.status.readyMigrations[].targetMigrationPVCs[].destinationPVC.accessModes
- Description
- The access modes to use for the PVC, if set to Auto, the access mode will be looked up from the storage class storage profile.
- Type
array
.status.readyMigrations[].targetMigrationPVCs[].destinationPVC.accessModes[]
- Description
- The access mode of the source PVC. If set to Auto, the access mode will be looked up from the storage class storage profile.
- Type
string
API Endpoints
The following API endpoints are available:
/apis/migrations.kubevirt.io/v1alpha1/namespaces/{namespace}/virtualmachinestoragemigrationplansDELETE: delete collection of VirtualMachineStorageMigrationPlanGET: list objects of kind VirtualMachineStorageMigrationPlanPOST: create a new VirtualMachineStorageMigrationPlan
/apis/migrations.kubevirt.io/v1alpha1/namespaces/{namespace}/virtualmachinestoragemigrationplans/{name}DELETE: delete the specified VirtualMachineStorageMigrationPlanGET: read the specified VirtualMachineStorageMigrationPlanPATCH: partially update the specified VirtualMachineStorageMigrationPlanPUT: replace the specified VirtualMachineStorageMigrationPlan
/apis/migrations.kubevirt.io/v1alpha1/namespaces/{namespace}/virtualmachinestoragemigrationplans/{name}/statusGET: read status of the specified VirtualMachineStorageMigrationPlanPATCH: partially update status of the specified VirtualMachineStorageMigrationPlanPUT: replace status of the specified VirtualMachineStorageMigrationPlan
/apis/migrations.kubevirt.io/v1alpha1/namespaces/{namespace}/virtualmachinestoragemigrationplans
- HTTP method
DELETE- Description
- delete collection of VirtualMachineStorageMigrationPlan
- HTTP responses
- HTTP method
GET- Description
- list objects of kind VirtualMachineStorageMigrationPlan
- HTTP responses
- HTTP method
POST- Description
- create a new VirtualMachineStorageMigrationPlan
- Query parameters
- Body parameters
- HTTP responses
/apis/migrations.kubevirt.io/v1alpha1/namespaces/{namespace}/virtualmachinestoragemigrationplans/{name}
- HTTP method
DELETE- Description
- delete the specified VirtualMachineStorageMigrationPlan
- Query parameters
- HTTP responses
- HTTP method
GET- Description
- read the specified VirtualMachineStorageMigrationPlan
- HTTP responses
- HTTP method
PATCH- Description
- partially update the specified VirtualMachineStorageMigrationPlan
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace the specified VirtualMachineStorageMigrationPlan
- Query parameters
- Body parameters
- HTTP responses
/apis/migrations.kubevirt.io/v1alpha1/namespaces/{namespace}/virtualmachinestoragemigrationplans/{name}/status
- HTTP method
GET- Description
- read status of the specified VirtualMachineStorageMigrationPlan
- HTTP responses
- HTTP method
PATCH- Description
- partially update status of the specified VirtualMachineStorageMigrationPlan
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace status of the specified VirtualMachineStorageMigrationPlan
- Query parameters
- Body parameters
- HTTP responses