VirtualMachineStorageMigrationPlan [virtualmachinestoragemigrationplans.migrations.kubevirt.io/v1alpha1]
- 描述
- VirtualMachineStorageMigrationPlan is the Schema for the virtualmachinestoragemigrationplans API
- 类型
object
规格
.spec
- 描述
- VirtualMachineStorageMigrationPlanSpec defines the desired state of VirtualMachineStorageMigrationPlan
- 类型
object- 必填
virtualMachines
.spec.virtualMachines
- 描述
- The virtual machines to migrate.
- 类型
array
.spec.virtualMachines[]
- 描述
- VirtualMachineStorageMigrationPlanVirtualMachine defines the VirtualMachine to migrate and the PVCs to migrate.
- 类型
object- 必填
nametargetMigrationPVCs
.spec.virtualMachines[].targetMigrationPVCs
- 描述
- A list of PVCs associated with the VirtualMachine to migrate.
- 类型
array
.spec.virtualMachines[].targetMigrationPVCs[]
- 描述
- VirtualMachineStorageMigrationPlanTargetMigrationPVC defines the PVC to migrate to.
- 类型
object- 必填
destinationPVCvolumeName
.spec.virtualMachines[].targetMigrationPVCs[].destinationPVC
- 描述
- The destination PVC to migrate to.
- 类型
object
.spec.virtualMachines[].targetMigrationPVCs[].destinationPVC.accessModes
- 描述
- 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.
- 类型
array
.spec.virtualMachines[].targetMigrationPVCs[].destinationPVC.accessModes[]
- 描述
- The access mode of the source PVC. If set to Auto, the access mode will be looked up from the storage class storage profile.
- 类型
string
.status
- 描述
- VirtualMachineStorageMigrationPlanStatus defines the observed state of VirtualMachineStorageMigrationPlan
- 类型
object
.status.completedMigrations
- 描述
- The migrations that have been completed.
- 类型
array
.status.completedMigrations[]
- 描述
- VirtualMachineStorageMigrationPlanStatusVirtualMachine defines the status of the VirtualMachine to migrate.
- 类型
object- 必填
namesourcePVCstargetMigrationPVCs
.status.completedMigrations[].sourcePVCs
- 描述
- A list of source PVCs currently used by the VirtualMachine.
- 类型
array
.status.completedMigrations[].sourcePVCs[]
- 描述
- VirtualMachineStorageMigrationPlanSourcePVC defines the source PVC used by the VirtualMachine.
- 类型
object- 必填
namenamespacesourcePVCvolumeName
.status.completedMigrations[].sourcePVCs[].sourcePVC
- 描述
- The source PVC.
- 类型
object
.status.completedMigrations[].sourcePVCs[].sourcePVC.spec
- 描述
- spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- 类型
object
.status.completedMigrations[].sourcePVCs[].sourcePVC.spec.accessModes
- 描述
- accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
- 类型
array
.status.completedMigrations[].sourcePVCs[].sourcePVC.spec.accessModes[]
- 类型
string
.status.completedMigrations[].sourcePVCs[].sourcePVC.spec.dataSource
- 描述
- 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.
- 类型
object- 必填
kindname
.status.completedMigrations[].sourcePVCs[].sourcePVC.spec.dataSourceRef
- 描述
- 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.
- 类型
object- 必填
kindname
.status.completedMigrations[].sourcePVCs[].sourcePVC.spec.resources
- 描述
- 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
- 类型
object
.status.completedMigrations[].sourcePVCs[].sourcePVC.spec.resources.limits
- 描述
- Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
- 类型
object
.status.completedMigrations[].sourcePVCs[].sourcePVC.spec.resources.requests
- 描述
- 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/
- 类型
object
.status.completedMigrations[].sourcePVCs[].sourcePVC.spec.selector
- 描述
- selector is a label query over volumes to consider for binding.
- 类型
object
.status.completedMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions
- 描述
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- 类型
array
.status.completedMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[]
- 描述
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.status.completedMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[].values
- 描述
- 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.
- 类型
array
.status.completedMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[].values[]
- 类型
string
.status.completedMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchLabels
- 描述
- 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.
- 类型
object
.status.completedMigrations[].sourcePVCs[].sourcePVC.status
- 描述
- status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- 类型
object
.status.completedMigrations[].sourcePVCs[].sourcePVC.status.accessModes
- 描述
- 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
- 类型
array
.status.completedMigrations[].sourcePVCs[].sourcePVC.status.accessModes[]
- 类型
string
.status.completedMigrations[].sourcePVCs[].sourcePVC.status.allocatedResourceStatuses
- 描述
- 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.
- 类型
object
.status.completedMigrations[].sourcePVCs[].sourcePVC.status.allocatedResources
- 描述
- 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.
- 类型
object
.status.completedMigrations[].sourcePVCs[].sourcePVC.status.capacity
- 描述
- capacity represents the actual resources of the underlying volume.
- 类型
object
.status.completedMigrations[].sourcePVCs[].sourcePVC.status.conditions
- 描述
- conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'.
- 类型
array
.status.completedMigrations[].sourcePVCs[].sourcePVC.status.conditions[]
- 描述
- PersistentVolumeClaimCondition contains details about state of pvc
- 类型
object- 必填
statustype
.status.completedMigrations[].sourcePVCs[].sourcePVC.status.modifyVolumeStatus
- 描述
- ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted.
- 类型
object- 必填
status
.status.completedMigrations[].targetMigrationPVCs
- 描述
- A list of PVCs associated with the VirtualMachine to migrate.
- 类型
array
.status.completedMigrations[].targetMigrationPVCs[]
- 描述
- VirtualMachineStorageMigrationPlanTargetMigrationPVC defines the PVC to migrate to.
- 类型
object- 必填
destinationPVCvolumeName
.status.completedMigrations[].targetMigrationPVCs[].destinationPVC
- 描述
- The destination PVC to migrate to.
- 类型
object
.status.completedMigrations[].targetMigrationPVCs[].destinationPVC.accessModes
- 描述
- 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.
- 类型
array
.status.completedMigrations[].targetMigrationPVCs[].destinationPVC.accessModes[]
- 描述
- The access mode of the source PVC. If set to Auto, the access mode will be looked up from the storage class storage profile.
- 类型
string
.status.conditions
- 类型
array
.status.conditions[]
- 描述
- 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.
- 类型
object- 必填
categorylastTransitionTimestatustype
.status.failedMigrations
- 描述
- The migrations that have failed.
- 类型
array
.status.failedMigrations[]
- 描述
- VirtualMachineStorageMigrationPlanStatusVirtualMachine defines the status of the VirtualMachine to migrate.
- 类型
object- 必填
namesourcePVCstargetMigrationPVCs
.status.failedMigrations[].sourcePVCs
- 描述
- A list of source PVCs currently used by the VirtualMachine.
- 类型
array
.status.failedMigrations[].sourcePVCs[]
- 描述
- VirtualMachineStorageMigrationPlanSourcePVC defines the source PVC used by the VirtualMachine.
- 类型
object- 必填
namenamespacesourcePVCvolumeName
.status.failedMigrations[].sourcePVCs[].sourcePVC
- 描述
- The source PVC.
- 类型
object
.status.failedMigrations[].sourcePVCs[].sourcePVC.spec
- 描述
- spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- 类型
object
.status.failedMigrations[].sourcePVCs[].sourcePVC.spec.accessModes
- 描述
- accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
- 类型
array
.status.failedMigrations[].sourcePVCs[].sourcePVC.spec.accessModes[]
- 类型
string
.status.failedMigrations[].sourcePVCs[].sourcePVC.spec.dataSource
- 描述
- 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.
- 类型
object- 必填
kindname
.status.failedMigrations[].sourcePVCs[].sourcePVC.spec.dataSourceRef
- 描述
- 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.
- 类型
object- 必填
kindname
.status.failedMigrations[].sourcePVCs[].sourcePVC.spec.resources
- 描述
- 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
- 类型
object
.status.failedMigrations[].sourcePVCs[].sourcePVC.spec.resources.limits
- 描述
- Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
- 类型
object
.status.failedMigrations[].sourcePVCs[].sourcePVC.spec.resources.requests
- 描述
- 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/
- 类型
object
.status.failedMigrations[].sourcePVCs[].sourcePVC.spec.selector
- 描述
- selector is a label query over volumes to consider for binding.
- 类型
object
.status.failedMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions
- 描述
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- 类型
array
.status.failedMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[]
- 描述
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.status.failedMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[].values
- 描述
- 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.
- 类型
array
.status.failedMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[].values[]
- 类型
string
.status.failedMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchLabels
- 描述
- 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.
- 类型
object
.status.failedMigrations[].sourcePVCs[].sourcePVC.status
- 描述
- status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- 类型
object
.status.failedMigrations[].sourcePVCs[].sourcePVC.status.accessModes
- 描述
- 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
- 类型
array
.status.failedMigrations[].sourcePVCs[].sourcePVC.status.accessModes[]
- 类型
string
.status.failedMigrations[].sourcePVCs[].sourcePVC.status.allocatedResourceStatuses
- 描述
- 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.
- 类型
object
.status.failedMigrations[].sourcePVCs[].sourcePVC.status.allocatedResources
- 描述
- 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.
- 类型
object
.status.failedMigrations[].sourcePVCs[].sourcePVC.status.capacity
- 描述
- capacity represents the actual resources of the underlying volume.
- 类型
object
.status.failedMigrations[].sourcePVCs[].sourcePVC.status.conditions
- 描述
- conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'.
- 类型
array
.status.failedMigrations[].sourcePVCs[].sourcePVC.status.conditions[]
- 描述
- PersistentVolumeClaimCondition contains details about state of pvc
- 类型
object- 必填
statustype
.status.failedMigrations[].sourcePVCs[].sourcePVC.status.modifyVolumeStatus
- 描述
- ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted.
- 类型
object- 必填
status
.status.failedMigrations[].targetMigrationPVCs
- 描述
- A list of PVCs associated with the VirtualMachine to migrate.
- 类型
array
.status.failedMigrations[].targetMigrationPVCs[]
- 描述
- VirtualMachineStorageMigrationPlanTargetMigrationPVC defines the PVC to migrate to.
- 类型
object- 必填
destinationPVCvolumeName
.status.failedMigrations[].targetMigrationPVCs[].destinationPVC
- 描述
- The destination PVC to migrate to.
- 类型
object
.status.failedMigrations[].targetMigrationPVCs[].destinationPVC.accessModes
- 描述
- 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.
- 类型
array
.status.failedMigrations[].targetMigrationPVCs[].destinationPVC.accessModes[]
- 描述
- The access mode of the source PVC. If set to Auto, the access mode will be looked up from the storage class storage profile.
- 类型
string
.status.inProgressMigrations
- 描述
- InProgress migrations are migrations that are in progress.
- 类型
array
.status.inProgressMigrations[]
- 描述
- VirtualMachineStorageMigrationPlanStatusVirtualMachine defines the status of the VirtualMachine to migrate.
- 类型
object- 必填
namesourcePVCstargetMigrationPVCs
.status.inProgressMigrations[].sourcePVCs
- 描述
- A list of source PVCs currently used by the VirtualMachine.
- 类型
array
.status.inProgressMigrations[].sourcePVCs[]
- 描述
- VirtualMachineStorageMigrationPlanSourcePVC defines the source PVC used by the VirtualMachine.
- 类型
object- 必填
namenamespacesourcePVCvolumeName
.status.inProgressMigrations[].sourcePVCs[].sourcePVC
- 描述
- The source PVC.
- 类型
object
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.spec
- 描述
- spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- 类型
object
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.spec.accessModes
- 描述
- accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
- 类型
array
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.spec.accessModes[]
- 类型
string
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.spec.dataSource
- 描述
- 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.
- 类型
object- 必填
kindname
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.spec.dataSourceRef
- 描述
- 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.
- 类型
object- 必填
kindname
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.spec.resources
- 描述
- 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
- 类型
object
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.spec.resources.limits
- 描述
- Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
- 类型
object
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.spec.resources.requests
- 描述
- 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/
- 类型
object
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.spec.selector
- 描述
- selector is a label query over volumes to consider for binding.
- 类型
object
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions
- 描述
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- 类型
array
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[]
- 描述
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[].values
- 描述
- 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.
- 类型
array
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[].values[]
- 类型
string
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchLabels
- 描述
- 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.
- 类型
object
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.status
- 描述
- status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- 类型
object
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.status.accessModes
- 描述
- 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
- 类型
array
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.status.accessModes[]
- 类型
string
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.status.allocatedResourceStatuses
- 描述
- 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.
- 类型
object
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.status.allocatedResources
- 描述
- 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.
- 类型
object
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.status.capacity
- 描述
- capacity represents the actual resources of the underlying volume.
- 类型
object
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.status.conditions
- 描述
- conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'.
- 类型
array
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.status.conditions[]
- 描述
- PersistentVolumeClaimCondition contains details about state of pvc
- 类型
object- 必填
statustype
.status.inProgressMigrations[].sourcePVCs[].sourcePVC.status.modifyVolumeStatus
- 描述
- ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted.
- 类型
object- 必填
status
.status.inProgressMigrations[].targetMigrationPVCs
- 描述
- A list of PVCs associated with the VirtualMachine to migrate.
- 类型
array
.status.inProgressMigrations[].targetMigrationPVCs[]
- 描述
- VirtualMachineStorageMigrationPlanTargetMigrationPVC defines the PVC to migrate to.
- 类型
object- 必填
destinationPVCvolumeName
.status.inProgressMigrations[].targetMigrationPVCs[].destinationPVC
- 描述
- The destination PVC to migrate to.
- 类型
object
.status.inProgressMigrations[].targetMigrationPVCs[].destinationPVC.accessModes
- 描述
- 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.
- 类型
array
.status.inProgressMigrations[].targetMigrationPVCs[].destinationPVC.accessModes[]
- 描述
- The access mode of the source PVC. If set to Auto, the access mode will be looked up from the storage class storage profile.
- 类型
string
.status.invalidMigrations
- 描述
- Invalid migrations are migrations that are invalid and cannot be started.
- 类型
array
.status.invalidMigrations[]
- 描述
- VirtualMachineStorageMigrationPlanStatusVirtualMachine defines the status of the VirtualMachine to migrate.
- 类型
object- 必填
namesourcePVCstargetMigrationPVCs
.status.invalidMigrations[].sourcePVCs
- 描述
- A list of source PVCs currently used by the VirtualMachine.
- 类型
array
.status.invalidMigrations[].sourcePVCs[]
- 描述
- VirtualMachineStorageMigrationPlanSourcePVC defines the source PVC used by the VirtualMachine.
- 类型
object- 必填
namenamespacesourcePVCvolumeName
.status.invalidMigrations[].sourcePVCs[].sourcePVC
- 描述
- The source PVC.
- 类型
object
.status.invalidMigrations[].sourcePVCs[].sourcePVC.spec
- 描述
- spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- 类型
object
.status.invalidMigrations[].sourcePVCs[].sourcePVC.spec.accessModes
- 描述
- accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
- 类型
array
.status.invalidMigrations[].sourcePVCs[].sourcePVC.spec.accessModes[]
- 类型
string
.status.invalidMigrations[].sourcePVCs[].sourcePVC.spec.dataSource
- 描述
- 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.
- 类型
object- 必填
kindname
.status.invalidMigrations[].sourcePVCs[].sourcePVC.spec.dataSourceRef
- 描述
- 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.
- 类型
object- 必填
kindname
.status.invalidMigrations[].sourcePVCs[].sourcePVC.spec.resources
- 描述
- 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
- 类型
object
.status.invalidMigrations[].sourcePVCs[].sourcePVC.spec.resources.limits
- 描述
- Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
- 类型
object
.status.invalidMigrations[].sourcePVCs[].sourcePVC.spec.resources.requests
- 描述
- 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/
- 类型
object
.status.invalidMigrations[].sourcePVCs[].sourcePVC.spec.selector
- 描述
- selector is a label query over volumes to consider for binding.
- 类型
object
.status.invalidMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions
- 描述
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- 类型
array
.status.invalidMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[]
- 描述
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.status.invalidMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[].values
- 描述
- 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.
- 类型
array
.status.invalidMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[].values[]
- 类型
string
.status.invalidMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchLabels
- 描述
- 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.
- 类型
object
.status.invalidMigrations[].sourcePVCs[].sourcePVC.status
- 描述
- status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- 类型
object
.status.invalidMigrations[].sourcePVCs[].sourcePVC.status.accessModes
- 描述
- 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
- 类型
array
.status.invalidMigrations[].sourcePVCs[].sourcePVC.status.accessModes[]
- 类型
string
.status.invalidMigrations[].sourcePVCs[].sourcePVC.status.allocatedResourceStatuses
- 描述
- 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.
- 类型
object
.status.invalidMigrations[].sourcePVCs[].sourcePVC.status.allocatedResources
- 描述
- 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.
- 类型
object
.status.invalidMigrations[].sourcePVCs[].sourcePVC.status.capacity
- 描述
- capacity represents the actual resources of the underlying volume.
- 类型
object
.status.invalidMigrations[].sourcePVCs[].sourcePVC.status.conditions
- 描述
- conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'.
- 类型
array
.status.invalidMigrations[].sourcePVCs[].sourcePVC.status.conditions[]
- 描述
- PersistentVolumeClaimCondition contains details about state of pvc
- 类型
object- 必填
statustype
.status.invalidMigrations[].sourcePVCs[].sourcePVC.status.modifyVolumeStatus
- 描述
- ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted.
- 类型
object- 必填
status
.status.invalidMigrations[].targetMigrationPVCs
- 描述
- A list of PVCs associated with the VirtualMachine to migrate.
- 类型
array
.status.invalidMigrations[].targetMigrationPVCs[]
- 描述
- VirtualMachineStorageMigrationPlanTargetMigrationPVC defines the PVC to migrate to.
- 类型
object- 必填
destinationPVCvolumeName
.status.invalidMigrations[].targetMigrationPVCs[].destinationPVC
- 描述
- The destination PVC to migrate to.
- 类型
object
.status.invalidMigrations[].targetMigrationPVCs[].destinationPVC.accessModes
- 描述
- 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.
- 类型
array
.status.invalidMigrations[].targetMigrationPVCs[].destinationPVC.accessModes[]
- 描述
- The access mode of the source PVC. If set to Auto, the access mode will be looked up from the storage class storage profile.
- 类型
string
.status.readyMigrations
- 描述
- Ready migrations are migrations that are ready to be started.
- 类型
array
.status.readyMigrations[]
- 描述
- VirtualMachineStorageMigrationPlanStatusVirtualMachine defines the status of the VirtualMachine to migrate.
- 类型
object- 必填
namesourcePVCstargetMigrationPVCs
.status.readyMigrations[].sourcePVCs
- 描述
- A list of source PVCs currently used by the VirtualMachine.
- 类型
array
.status.readyMigrations[].sourcePVCs[]
- 描述
- VirtualMachineStorageMigrationPlanSourcePVC defines the source PVC used by the VirtualMachine.
- 类型
object- 必填
namenamespacesourcePVCvolumeName
.status.readyMigrations[].sourcePVCs[].sourcePVC
- 描述
- The source PVC.
- 类型
object
.status.readyMigrations[].sourcePVCs[].sourcePVC.spec
- 描述
- spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- 类型
object
.status.readyMigrations[].sourcePVCs[].sourcePVC.spec.accessModes
- 描述
- accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
- 类型
array
.status.readyMigrations[].sourcePVCs[].sourcePVC.spec.accessModes[]
- 类型
string
.status.readyMigrations[].sourcePVCs[].sourcePVC.spec.dataSource
- 描述
- 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.
- 类型
object- 必填
kindname
.status.readyMigrations[].sourcePVCs[].sourcePVC.spec.dataSourceRef
- 描述
- 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.
- 类型
object- 必填
kindname
.status.readyMigrations[].sourcePVCs[].sourcePVC.spec.resources
- 描述
- 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
- 类型
object
.status.readyMigrations[].sourcePVCs[].sourcePVC.spec.resources.limits
- 描述
- Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
- 类型
object
.status.readyMigrations[].sourcePVCs[].sourcePVC.spec.resources.requests
- 描述
- 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/
- 类型
object
.status.readyMigrations[].sourcePVCs[].sourcePVC.spec.selector
- 描述
- selector is a label query over volumes to consider for binding.
- 类型
object
.status.readyMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions
- 描述
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- 类型
array
.status.readyMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[]
- 描述
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.status.readyMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[].values
- 描述
- 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.
- 类型
array
.status.readyMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchExpressions[].values[]
- 类型
string
.status.readyMigrations[].sourcePVCs[].sourcePVC.spec.selector.matchLabels
- 描述
- 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.
- 类型
object
.status.readyMigrations[].sourcePVCs[].sourcePVC.status
- 描述
- status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- 类型
object
.status.readyMigrations[].sourcePVCs[].sourcePVC.status.accessModes
- 描述
- 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
- 类型
array
.status.readyMigrations[].sourcePVCs[].sourcePVC.status.accessModes[]
- 类型
string
.status.readyMigrations[].sourcePVCs[].sourcePVC.status.allocatedResourceStatuses
- 描述
- 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.
- 类型
object
.status.readyMigrations[].sourcePVCs[].sourcePVC.status.allocatedResources
- 描述
- 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.
- 类型
object
.status.readyMigrations[].sourcePVCs[].sourcePVC.status.capacity
- 描述
- capacity represents the actual resources of the underlying volume.
- 类型
object
.status.readyMigrations[].sourcePVCs[].sourcePVC.status.conditions
- 描述
- conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'.
- 类型
array
.status.readyMigrations[].sourcePVCs[].sourcePVC.status.conditions[]
- 描述
- PersistentVolumeClaimCondition contains details about state of pvc
- 类型
object- 必填
statustype
.status.readyMigrations[].sourcePVCs[].sourcePVC.status.modifyVolumeStatus
- 描述
- ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted.
- 类型
object- 必填
status
.status.readyMigrations[].targetMigrationPVCs
- 描述
- A list of PVCs associated with the VirtualMachine to migrate.
- 类型
array
.status.readyMigrations[].targetMigrationPVCs[]
- 描述
- VirtualMachineStorageMigrationPlanTargetMigrationPVC defines the PVC to migrate to.
- 类型
object- 必填
destinationPVCvolumeName
.status.readyMigrations[].targetMigrationPVCs[].destinationPVC
- 描述
- The destination PVC to migrate to.
- 类型
object
.status.readyMigrations[].targetMigrationPVCs[].destinationPVC.accessModes
- 描述
- 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.
- 类型
array
.status.readyMigrations[].targetMigrationPVCs[].destinationPVC.accessModes[]
- 描述
- The access mode of the source PVC. If set to Auto, the access mode will be looked up from the storage class storage profile.
- 类型
string
API 端点
可用的 API 端点如下:
/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 方法
DELETE- 描述
- delete collection of VirtualMachineStorageMigrationPlan
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind VirtualMachineStorageMigrationPlan
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new VirtualMachineStorageMigrationPlan
- 查询参数
- 请求体参数
- HTTP 响应
/apis/migrations.kubevirt.io/v1alpha1/namespaces/{namespace}/virtualmachinestoragemigrationplans/{name}
- HTTP 方法
DELETE- 描述
- delete the specified VirtualMachineStorageMigrationPlan
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified VirtualMachineStorageMigrationPlan
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified VirtualMachineStorageMigrationPlan
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified VirtualMachineStorageMigrationPlan
- 查询参数
- 请求体参数
- HTTP 响应
/apis/migrations.kubevirt.io/v1alpha1/namespaces/{namespace}/virtualmachinestoragemigrationplans/{name}/status
- HTTP 方法
GET- 描述
- read status of the specified VirtualMachineStorageMigrationPlan
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update status of the specified VirtualMachineStorageMigrationPlan
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace status of the specified VirtualMachineStorageMigrationPlan
- 查询参数
- 请求体参数
- HTTP 响应