PersistentVolumeClaimStatusPatch

data class PersistentVolumeClaimStatusPatch(val accessModes: List<String>? = null, val allocatedResourceStatuses: Map<String, String>? = null, val allocatedResources: Map<String, String>? = null, val capacity: Map<String, String>? = null, val conditions: List<PersistentVolumeClaimConditionPatch>? = null, val currentVolumeAttributesClassName: String? = null, val modifyVolumeStatus: ModifyVolumeStatusPatch? = null, val phase: String? = null, val resizeStatus: String? = null)

PersistentVolumeClaimStatus is the current status of a persistent volume claim.

Constructors

Link copied to clipboard
constructor(accessModes: List<String>? = null, allocatedResourceStatuses: Map<String, String>? = null, allocatedResources: Map<String, String>? = null, capacity: Map<String, String>? = null, conditions: List<PersistentVolumeClaimConditionPatch>? = null, currentVolumeAttributesClassName: String? = null, modifyVolumeStatus: ModifyVolumeStatusPatch? = null, phase: String? = null, resizeStatus: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val accessModes: List<String>? = null

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

Link copied to clipboard

allocatedResources tracks the resources allocated to a PVC including its capacity. Key names follow standard Kubernetes label syntax. Valid values are either:

Link copied to clipboard

allocatedResourceStatuses stores status of resource being resized for the given PVC. Key names follow standard Kubernetes label syntax. Valid values are either:

Link copied to clipboard
val capacity: Map<String, String>? = null

capacity represents the actual resources of the underlying volume.

Link copied to clipboard

conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'.

Link copied to clipboard

currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is a beta field and requires enabling VolumeAttributesClass feature (off by default).

Link copied to clipboard

ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is a beta field and requires enabling VolumeAttributesClass feature (off by default).

Link copied to clipboard
val phase: String? = null

phase represents the current phase of PersistentVolumeClaim.

Link copied to clipboard
val resizeStatus: String? = null

resizeStatus stores status of resize operation. ResizeStatus is not set by default but when expansion is complete resizeStatus is set to empty string by resize controller or kubelet. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.