PersistentVolumeClaimStatus
io.k8s.api.core.v1.PersistentVolumeClaimStatus
source ↗
PersistentVolumeClaimStatus is the current status of a persistent volume claim.
accessModes[]stringaccessModes contains the actual access modes the volume backing the PVC has.More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1allocatedResourceStatusesmap[string]stringallocatedResourceStatuses 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"
- ControllerResizeInProgress:
- ControllerResizeFailed:
- NodeResizePending:
- NodeResizeInProgress:
- NodeResizeFailed:
- 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"
allocatedResourcesmap[string]QuantityallocatedResources 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"
capacitymap[string]Quantitycapacity represents the actual resources of the underlying volume.conditions[]PersistentVolumeClaimConditionconditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'.
lastProbeTimeTimelastProbeTime is the time we probed the condition.lastTransitionTimeTimelastTransitionTime is the time the condition transitioned from one status to another.messagestringmessage is the human-readable message indicating details about last transition.reasonstringreason is a unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports "Resizing" that means the underlying persistent volume is being resized.statusstring requiredStatus is the status of the condition. Can be True, False, Unknown.More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=state%20of%20pvc-,conditions.status,-(string)%2C%20requiredtypestring requiredType is the type of the condition.More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=set%20to%20%27ResizeStarted%27.-,PersistentVolumeClaimCondition,-contains%20details%20aboutcurrentVolumeAttributesClassNamestringcurrentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaimmodifyVolumeStatusModifyVolumeStatusModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted.
statusstring requiredstatus is the status of the ControllerModifyVolume operation. It can be in any of following states:- Pending
- InProgress
- Infeasible
targetVolumeAttributesClassNamestringtargetVolumeAttributesClassName is the name of the VolumeAttributesClass the PVC currently being reconciledphasestringphase represents the current phase of PersistentVolumeClaim.