From dcd458be33fd6177bc89fba67f7c5b78f8ef1c7d Mon Sep 17 00:00:00 2001 From: Tiago Castro Date: Thu, 28 Nov 2024 22:21:38 +0000 Subject: [PATCH] fix(csi-resizer): lower memory usage on large clusters If CSI driver being used supports online expansion, it might be desirable to set handle-volume-inuse-error to false - to save costs associated with watching all pods in the cluster. Signed-off-by: Tiago Castro --- chart/templates/mayastor/csi/csi-controller-deployment.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/chart/templates/mayastor/csi/csi-controller-deployment.yaml b/chart/templates/mayastor/csi/csi-controller-deployment.yaml index b04be3079..11e7cac62 100644 --- a/chart/templates/mayastor/csi/csi-controller-deployment.yaml +++ b/chart/templates/mayastor/csi/csi-controller-deployment.yaml @@ -96,6 +96,7 @@ spec: args: - "--v=2" - "--csi-address=$(ADDRESS)" + - "--handle-volume-inuse-error=false" env: - name: ADDRESS value: /var/lib/csi/sockets/pluginproxy/csi.sock