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 PersistentVolumeClaimhealthStatusVolumeHealthStatushealthStatus contains the latest controller-reported health information for the volume bound to this claim.
healthConditions[]VolumeHealthConditionconditions is the set of adverse conditions reported by the CSI controller plugin. An empty list means no adverse condition. At most 16 conditions may be reported.
messagestringmessage is a human-readable description. Maximum permitted length of a message is 1024 bytes.reasonstring requiredreason is a brief CamelCase machine-parseable reason. Together with status it forms the unique identity of a condition entry. Maximum permitted length of a reason is 256 bytes.statusstring requiredstatus is the machine-parseable health category. Possible values: - "Inaccessible": the volume cannot be accessed. - "DataLoss": data loss has been detected on the volume. - "Degraded": the volume is functioning with reduced capability.lastTransitionTimeTimelastTransitionTime is when the current set of conditions first appeared.modifyVolumeStatusModifyVolumeStatusModifyVolumeStatus 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.