From ebc07c65059131a9e34ef825f37817f83b8651ab Mon Sep 17 00:00:00 2001 From: Stijn De Haes Date: Mon, 20 Jun 2022 09:08:26 +0200 Subject: [PATCH] Set handle-volume-inuse-error to false If online resizing is supported this should be set to false. Otherwise, the resizer will watch pods and use a lot more memory. --- charts/aws-ebs-csi-driver/templates/controller.yaml | 1 + deploy/kubernetes/base/controller.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/charts/aws-ebs-csi-driver/templates/controller.yaml b/charts/aws-ebs-csi-driver/templates/controller.yaml index 08a17e6f1e..04dbede2b4 100644 --- a/charts/aws-ebs-csi-driver/templates/controller.yaml +++ b/charts/aws-ebs-csi-driver/templates/controller.yaml @@ -224,6 +224,7 @@ spec: args: - --csi-address=$(ADDRESS) - --v={{ .Values.sidecars.resizer.logLevel }} + - --handle-volume-inuse-error=false env: - name: ADDRESS value: /var/lib/csi/sockets/pluginproxy/csi.sock diff --git a/deploy/kubernetes/base/controller.yaml b/deploy/kubernetes/base/controller.yaml index 369f58d80f..f5909c5469 100644 --- a/deploy/kubernetes/base/controller.yaml +++ b/deploy/kubernetes/base/controller.yaml @@ -127,6 +127,7 @@ spec: args: - --csi-address=$(ADDRESS) - --v=2 + - --handle-volume-inuse-error=false env: - name: ADDRESS value: /var/lib/csi/sockets/pluginproxy/csi.sock