Skip to content

Commit 8962de2

Browse files
gnufiedk8s-publishing-bot
authored andcommitted
Rename ReizeFailed conditions to ResizeInfeasible
Kubernetes-commit: 49e82fd12012c9e57411ded2f12d3461acf93994
1 parent a48b61c commit 8962de2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

core/v1/types.go

+5-4
Original file line numberDiff line numberDiff line change
@@ -638,18 +638,19 @@ const (
638638
// State set when resize controller starts resizing the volume in control-plane.
639639
PersistentVolumeClaimControllerResizeInProgress ClaimResourceStatus = "ControllerResizeInProgress"
640640

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

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

655656
// +enum

0 commit comments

Comments
 (0)