Skip to content

Commit 1822242

Browse files
committed
Increase CSI sidecar operation timeout
1. Timeouts increased for staging head and rc overlay only 2. Operation timeouts changed for attacher, provisioner and snapshotter.
1 parent a5c3dc4 commit 1822242

File tree

4 files changed

+37
-0
lines changed

4 files changed

+37
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Increase operation timeout for provisioner sidecar.
2+
- op: add
3+
path: /spec/template/spec/containers/0/args/-
4+
value: "--timeout=250s"
5+
# Increase operation timeout for attacher sidecar.
6+
- op: add
7+
path: /spec/template/spec/containers/1/args/-
8+
value: "--timeout=250s"
9+
# Increase operation timeout for snapshotter sidecar.
10+
- op: add
11+
path: /spec/template/spec/containers/3/args/-
12+
value: "--timeout=300s"

deploy/kubernetes/overlays/prow-gke-release-staging-head/kustomization.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,9 @@ patchesJson6902:
1717
kind: Deployment
1818
name: csi-gce-pd-controller
1919
path: volume-inuse-error-handler.yaml
20+
- target:
21+
group: apps
22+
version: v1
23+
kind: Deployment
24+
name: csi-gce-pd-controller
25+
path: increase-sidecar-operation-timeout.yaml
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Increase operation timeout for provisioner sidecar.
2+
- op: add
3+
path: /spec/template/spec/containers/0/args/-
4+
value: "--timeout=250s"
5+
# Increase operation timeout for attacher sidecar.
6+
- op: add
7+
path: /spec/template/spec/containers/1/args/-
8+
value: "--timeout=250s"
9+
# Increase operation timeout for snapshotter sidecar.
10+
- op: add
11+
path: /spec/template/spec/containers/3/args/-
12+
value: "--timeout=300s"

deploy/kubernetes/overlays/prow-gke-release-staging-rc/kustomization.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,10 @@ resources:
44
- ../stable
55
transformers:
66
- ../../images/prow-gke-release-staging-rc
7+
patchesJson6902:
8+
- path: increase-sidecar-operation-timeout.yaml
9+
target:
10+
group: apps
11+
kind: Deployment
12+
name: csi-gce-pd-controller
13+
version: v1

0 commit comments

Comments
 (0)