Skip to content

Commit 7781385

Browse files
CSI provisioner: Add longer timeout on volumes operations (#99)
# Description Here is the default timeout on volume operation: ``` --timeout duration Timeout for waiting for volume operation (creation, deletion, capacity queries) (default 10s) ``` This is solving an issue when creating a volume from a large snapshot (this operation can take very long time) This prevents provisioner canceling the grpc request context on volume creation. <!-- * Prefix: the title with the component name being changed. Add a short and self describing sentence to ease the review * Please add a few lines providing context and describing the change * Please self comment changes whenever applicable to help with the review process * Please keep the checklist as part of the PR. Tick what applies to this change. --> ## Checklist (For exoscale contributors) * [ ] Changelog updated (under *Unreleased* block) * [ ] Integration tests OK ## Testing <!-- Describe the tests you did --> --------- Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
1 parent 86875eb commit 7781385

File tree

7 files changed

+7
-0
lines changed

7 files changed

+7
-0
lines changed

deployment/0.29.6/controller.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ spec:
6666
args:
6767
- "--v=5"
6868
- "--csi-address=$(CSI_ADDRESS)"
69+
- "--timeout=10h"
6970
- "--leader-election"
7071
- "--leader-election-lease-duration=30s"
7172
- "--leader-election-renew-deadline=20s"

deployment/0.31.0/controller.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ spec:
6666
args:
6767
- "--v=5"
6868
- "--csi-address=$(CSI_ADDRESS)"
69+
- "--timeout=10h"
6970
- "--leader-election"
7071
- "--leader-election-lease-duration=30s"
7172
- "--leader-election-renew-deadline=20s"

deployment/0.31.1/controller.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ spec:
6666
args:
6767
- "--v=5"
6868
- "--csi-address=$(CSI_ADDRESS)"
69+
- "--timeout=10h"
6970
- "--leader-election"
7071
- "--leader-election-lease-duration=30s"
7172
- "--leader-election-renew-deadline=20s"

deployment/0.31.2/controller.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ spec:
6666
args:
6767
- "--v=5"
6868
- "--csi-address=$(CSI_ADDRESS)"
69+
- "--timeout=10h"
6970
- "--leader-election"
7071
- "--leader-election-lease-duration=30s"
7172
- "--leader-election-renew-deadline=20s"

deployment/0.31.3/controller.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ spec:
6666
args:
6767
- "--v=5"
6868
- "--csi-address=$(CSI_ADDRESS)"
69+
- "--timeout=10h"
6970
- "--leader-election"
7071
- "--leader-election-lease-duration=30s"
7172
- "--leader-election-renew-deadline=20s"

deployment/0.31.4/controller.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ spec:
6666
args:
6767
- "--v=5"
6868
- "--csi-address=$(CSI_ADDRESS)"
69+
- "--timeout=10h"
6970
- "--leader-election"
7071
- "--leader-election-lease-duration=30s"
7172
- "--leader-election-renew-deadline=20s"

deployment/latest/controller.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ spec:
6666
args:
6767
- "--v=5"
6868
- "--csi-address=$(CSI_ADDRESS)"
69+
- "--timeout=10h"
6970
- "--leader-election"
7071
- "--leader-election-lease-duration=30s"
7172
- "--leader-election-renew-deadline=20s"

0 commit comments

Comments
 (0)