Skip to content

Commit

Permalink
Rename ReizeFailed conditions to ResizeInfeasible
Browse files Browse the repository at this point in the history
Kubernetes-commit: 49e82fd12012c9e57411ded2f12d3461acf93994
  • Loading branch information
gnufied authored and k8s-publishing-bot committed Jul 10, 2024
1 parent a48b61c commit 8962de2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions core/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -638,18 +638,19 @@ const (
// State set when resize controller starts resizing the volume in control-plane.
PersistentVolumeClaimControllerResizeInProgress ClaimResourceStatus = "ControllerResizeInProgress"

// State set when resize has failed in resize controller with a terminal error.
// State set when resize has failed in resize controller with a terminal unrecoverable error.
// Transient errors such as timeout should not set this status and should leave allocatedResourceStatus
// unmodified, so as resize controller can resume the volume expansion.
PersistentVolumeClaimControllerResizeFailed ClaimResourceStatus = "ControllerResizeFailed"
PersistentVolumeClaimControllerResizeInfeasible ClaimResourceStatus = "ControllerResizeInfeasible"

// State set when resize controller has finished resizing the volume but further resizing of volume
// is needed on the node.
PersistentVolumeClaimNodeResizePending ClaimResourceStatus = "NodeResizePending"
// State set when kubelet starts resizing the volume.
PersistentVolumeClaimNodeResizeInProgress ClaimResourceStatus = "NodeResizeInProgress"
// State set when resizing has failed in kubelet with a terminal error. Transient errors don't set NodeResizeFailed
PersistentVolumeClaimNodeResizeFailed ClaimResourceStatus = "NodeResizeFailed"
// State set when resizing has failed in kubelet with a terminal unrecoverable error. Transient errors
// shouldn't set this status
PersistentVolumeClaimNodeResizeInfeasible ClaimResourceStatus = "NodeResizeInfeasible"
)

// +enum
Expand Down

0 comments on commit 8962de2

Please sign in to comment.