From 1830c68947eae9fa351d87115ca69516ffd6cddd Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Mon, 9 Sep 2019 08:37:14 +0530 Subject: [PATCH] Increase sidecar timeout from 60s to 150s At present, the request timeout of sidecars are at 60s and this is a request to increase this time out value to 150s or higher. The higher timeout value can help to reduce the load of our backend ceph cluster and also can avoid throttling issues at sidecars to an extend. Signed-off-by: Madhu Rajanna --- .../template/cephfs/csi-cephfsplugin-provisioner-dep.yaml | 3 ++- .../template/cephfs/csi-cephfsplugin-provisioner-sts.yaml | 3 ++- .../ceph/csi/template/rbd/csi-rbdplugin-provisioner-dep.yaml | 5 +++-- .../ceph/csi/template/rbd/csi-rbdplugin-provisioner-sts.yaml | 5 +++-- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/cluster/examples/kubernetes/ceph/csi/template/cephfs/csi-cephfsplugin-provisioner-dep.yaml b/cluster/examples/kubernetes/ceph/csi/template/cephfs/csi-cephfsplugin-provisioner-dep.yaml index d086d1ebe..d1ea129be 100644 --- a/cluster/examples/kubernetes/ceph/csi/template/cephfs/csi-cephfsplugin-provisioner-dep.yaml +++ b/cluster/examples/kubernetes/ceph/csi/template/cephfs/csi-cephfsplugin-provisioner-dep.yaml @@ -22,6 +22,7 @@ spec: - "--v=5" - "--csi-address=$(ADDRESS)" - "--leader-election=true" + - "--timeout=150s" - "--leader-election-type=leases" - "--leader-election-namespace={{ .Namespace }}" env: @@ -36,7 +37,7 @@ spec: args: - "--csi-address=$(ADDRESS)" - "--v=5" - - "--timeout=60s" + - "--timeout=150s" - "--retry-interval-start=500ms" - "--enable-leader-election=true" - "--leader-election-type=leases" diff --git a/cluster/examples/kubernetes/ceph/csi/template/cephfs/csi-cephfsplugin-provisioner-sts.yaml b/cluster/examples/kubernetes/ceph/csi/template/cephfs/csi-cephfsplugin-provisioner-sts.yaml index b9fbc6f07..9f68fc295 100644 --- a/cluster/examples/kubernetes/ceph/csi/template/cephfs/csi-cephfsplugin-provisioner-sts.yaml +++ b/cluster/examples/kubernetes/ceph/csi/template/cephfs/csi-cephfsplugin-provisioner-sts.yaml @@ -21,6 +21,7 @@ spec: image: {{ .AttacherImage }} args: - "--v=5" + - "--timeout=150s" - "--csi-address=$(ADDRESS)" env: - name: ADDRESS @@ -34,7 +35,7 @@ spec: args: - "--csi-address=$(ADDRESS)" - "--v=5" - - "--timeout=60s" + - "--timeout=150s" - "--retry-interval-start=500ms" env: - name: ADDRESS diff --git a/cluster/examples/kubernetes/ceph/csi/template/rbd/csi-rbdplugin-provisioner-dep.yaml b/cluster/examples/kubernetes/ceph/csi/template/rbd/csi-rbdplugin-provisioner-dep.yaml index 61aaa89f3..f84f4e858 100644 --- a/cluster/examples/kubernetes/ceph/csi/template/rbd/csi-rbdplugin-provisioner-dep.yaml +++ b/cluster/examples/kubernetes/ceph/csi/template/rbd/csi-rbdplugin-provisioner-dep.yaml @@ -21,7 +21,7 @@ spec: args: - "--csi-address=$(ADDRESS)" - "--v=5" - - "--timeout=60s" + - "--timeout=150s" - "--retry-interval-start=500ms" - "--enable-leader-election=true" - "--leader-election-type=leases" @@ -37,6 +37,7 @@ spec: image: {{ .AttacherImage }} args: - "--v=5" + - "--timeout=150s" - "--csi-address=$(ADDRESS)" - "--leader-election=true" - "--leader-election-type=leases" @@ -53,7 +54,7 @@ spec: args: - "--csi-address=$(ADDRESS)" - "--v=5" - - "--timeout=60s" + - "--timeout=150s" - "--leader-election=true" - "--leader-election-namespace={{ .Namespace }}" env: diff --git a/cluster/examples/kubernetes/ceph/csi/template/rbd/csi-rbdplugin-provisioner-sts.yaml b/cluster/examples/kubernetes/ceph/csi/template/rbd/csi-rbdplugin-provisioner-sts.yaml index f8a27228a..16e7441f7 100644 --- a/cluster/examples/kubernetes/ceph/csi/template/rbd/csi-rbdplugin-provisioner-sts.yaml +++ b/cluster/examples/kubernetes/ceph/csi/template/rbd/csi-rbdplugin-provisioner-sts.yaml @@ -22,7 +22,7 @@ spec: args: - "--csi-address=$(ADDRESS)" - "--v=5" - - "--timeout=60s" + - "--timeout=150s" - "--retry-interval-start=500ms" env: - name: ADDRESS @@ -35,6 +35,7 @@ spec: image: {{ .AttacherImage }} args: - "--v=5" + - "--timeout=150s" - "--csi-address=$(ADDRESS)" env: - name: ADDRESS @@ -48,7 +49,7 @@ spec: args: - "--csi-address=$(ADDRESS)" - "--v=5" - - "--timeout=60s" + - "--timeout=150s" env: - name: ADDRESS value: unix:///csi/csi-provisioner.sock