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 phase: String? = null, val resizeStatus: String? = null)

PersistentVolumeClaimStatus is the current status of a persistent volume claim.

Constructors

Link copied to clipboard
fun PersistentVolumeClaimStatusPatch(accessModes: List<String>? = null, allocatedResourceStatuses: Map<String, String>? = null, allocatedResources: Map<String, String>? = null, capacity: Map<String, String>? = null, conditions: List<PersistentVolumeClaimConditionPatch>? = 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 'ResizeStarted'.

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.