Skip to content

Commit

Permalink
fix: increase resizer timeout from 10s
Browse files Browse the repository at this point in the history
Signed-off-by: Jakob Möller <jmoller@redhat.com>
  • Loading branch information
jakobmoellerdev committed Apr 26, 2024
1 parent 5b4b591 commit 855844a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/topolvm/templates/controller/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ spec:
- --leader-election-namespace={{ .Release.Namespace }}
{{ end }}
- --http-endpoint=:9810
- --timeout=300s
ports:
- containerPort: 9810
name: csi-resizer
Expand Down
1 change: 1 addition & 0 deletions internal/driver/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,7 @@ func (s controllerServerNoLocked) ControllerExpandVolume(ctx context.Context, re
}

if requestCapacityBytes <= currentSize.Value() {
logger.Info("ControllerExpandVolume is waiting for node expansion to complete")
// "NodeExpansionRequired" is still true because it is unknown
// whether node expansion is completed or not.
return &csi.ControllerExpandVolumeResponse{
Expand Down

0 comments on commit 855844a

Please sign in to comment.