From 8c5a0d1b5cfd923fe8345d75855df7ee62acc722 Mon Sep 17 00:00:00 2001 From: Drew Sirenko <68304519+AndrewSirenko@users.noreply.github.com> Date: Mon, 10 Jun 2024 18:35:25 +0000 Subject: [PATCH] Increase default provisioner, resizer, snapshotter retry-interval-max --- charts/aws-ebs-csi-driver/templates/controller.yaml | 12 ++++++++++++ deploy/kubernetes/base/controller.yaml | 4 ++++ 2 files changed, 16 insertions(+) diff --git a/charts/aws-ebs-csi-driver/templates/controller.yaml b/charts/aws-ebs-csi-driver/templates/controller.yaml index 89468b1ca..6b393f401 100644 --- a/charts/aws-ebs-csi-driver/templates/controller.yaml +++ b/charts/aws-ebs-csi-driver/templates/controller.yaml @@ -227,6 +227,9 @@ spec: - --kube-api-burst=100 - --worker-threads=100 {{- end }} + {{- if not (regexMatch "(-retry-interval-max)" (join " " .Values.sidecars.provisioner.additionalArgs)) }} + - --retry-interval-max=30m + {{- end }} {{- range .Values.sidecars.provisioner.additionalArgs }} - {{ . }} {{- end }} @@ -280,6 +283,9 @@ spec: - --kube-api-burst=100 - --worker-threads=100 {{- end }} + {{- if not (regexMatch "(-retry-interval-max)" (join " " .Values.sidecars.attacher.additionalArgs)) }} + - --retry-interval-max=5m + {{- end }} {{- range .Values.sidecars.attacher.additionalArgs }} - {{ . }} {{- end }} @@ -322,6 +328,9 @@ spec: - --kube-api-burst=100 - --worker-threads=100 {{- end }} + {{- if not (regexMatch "(-retry-interval-max)" (join " " .Values.sidecars.snapshotter.additionalArgs)) }} + - --retry-interval-max=30m + {{- end }} {{- range .Values.sidecars.snapshotter.additionalArgs }} - {{ . }} {{- end }} @@ -435,6 +444,9 @@ spec: - --kube-api-burst=100 - --workers=100 {{- end }} + {{- if not (regexMatch "(-retry-interval-max)" (join " " .Values.sidecars.resizer.additionalArgs)) }} + - --retry-interval-max=30m + {{- end }} {{- range .Values.sidecars.resizer.additionalArgs }} - {{ . }} {{- end }} diff --git a/deploy/kubernetes/base/controller.yaml b/deploy/kubernetes/base/controller.yaml index e75066be8..6bc0bbfba 100644 --- a/deploy/kubernetes/base/controller.yaml +++ b/deploy/kubernetes/base/controller.yaml @@ -142,6 +142,7 @@ spec: - --kube-api-qps=20 - --kube-api-burst=100 - --worker-threads=100 + - --retry-interval-max=30m env: - name: ADDRESS value: /var/lib/csi/sockets/pluginproxy/csi.sock @@ -168,6 +169,7 @@ spec: - --kube-api-qps=20 - --kube-api-burst=100 - --worker-threads=100 + - --retry-interval-max=5m env: - name: ADDRESS value: /var/lib/csi/sockets/pluginproxy/csi.sock @@ -193,6 +195,7 @@ spec: - --kube-api-qps=20 - --kube-api-burst=100 - --worker-threads=100 + - --retry-interval-max=30m env: - name: ADDRESS value: /var/lib/csi/sockets/pluginproxy/csi.sock @@ -220,6 +223,7 @@ spec: - --kube-api-qps=20 - --kube-api-burst=100 - --workers=100 + - --retry-interval-max=30m env: - name: ADDRESS value: /var/lib/csi/sockets/pluginproxy/csi.sock