Skip to content

Commit

Permalink
Finetune sidecar retry-interval-start
Browse files Browse the repository at this point in the history
  • Loading branch information
ElijahQuinones committed Dec 10, 2024
1 parent 2bfdb2a commit 407b8ca
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
12 changes: 12 additions & 0 deletions charts/aws-ebs-csi-driver/templates/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,9 @@ spec:
- --kube-api-burst=100
- --worker-threads=100
{{- end }}
{{- if not (regexMatch "(-retry-interval-start)" (join " " .Values.sidecars.provisioner.additionalArgs)) }}
- --retry-interval-start=4s
{{- end }}
{{- if not (regexMatch "(-retry-interval-max)" (join " " .Values.sidecars.provisioner.additionalArgs)) }}
- --retry-interval-max=30m
{{- end }}
Expand Down Expand Up @@ -283,6 +286,9 @@ spec:
- --kube-api-burst=100
- --worker-threads=100
{{- end }}
{{- if not (regexMatch "(-retry-interval-start)" (join " " .Values.sidecars.attacher.additionalArgs)) }}
- --retry-interval-start=500ms
{{- end }}
{{- if not (regexMatch "(-retry-interval-max)" (join " " .Values.sidecars.attacher.additionalArgs)) }}
- --retry-interval-max=5m
{{- end }}
Expand Down Expand Up @@ -329,6 +335,9 @@ spec:
- --kube-api-burst=100
- --worker-threads=100
{{- end }}
{{- if not (regexMatch "(-retry-interval-start)" (join " " .Values.sidecars.snapshotter.additionalArgs)) }}
- --retry-interval-start=4s
{{- end }}
{{- if not (regexMatch "(-retry-interval-max)" (join " " .Values.sidecars.snapshotter.additionalArgs)) }}
- --retry-interval-max=30m
{{- end }}
Expand Down Expand Up @@ -445,6 +454,9 @@ spec:
- --kube-api-burst=100
- --workers=100
{{- end }}
{{- if not (regexMatch "(-retry-interval-start)" (join " " .Values.sidecars.resizer.additionalArgs)) }}
- --retry-interval-start=4s
{{- end }}
{{- if not (regexMatch "(-retry-interval-max)" (join " " .Values.sidecars.resizer.additionalArgs)) }}
- --retry-interval-max=30m
{{- end }}
Expand Down
4 changes: 4 additions & 0 deletions deploy/kubernetes/base/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ spec:
- --kube-api-qps=20
- --kube-api-burst=100
- --worker-threads=100
- --retry-interval-start=4s
- --retry-interval-max=30m
- --feature-gates=VolumeAttributesClass=true
env:
Expand Down Expand Up @@ -176,6 +177,7 @@ spec:
- --kube-api-qps=20
- --kube-api-burst=100
- --worker-threads=100
- --retry-interval-start=500ms
- --retry-interval-max=5m
env:
- name: ADDRESS
Expand Down Expand Up @@ -205,6 +207,7 @@ spec:
- --kube-api-qps=20
- --kube-api-burst=100
- --worker-threads=100
- --retry-interval-start=4s
- --retry-interval-max=30m
env:
- name: ADDRESS
Expand Down Expand Up @@ -235,6 +238,7 @@ spec:
- --kube-api-qps=20
- --kube-api-burst=100
- --workers=100
- --retry-interval-start=4s
- --retry-interval-max=30m
- --feature-gates=VolumeAttributesClass=true
env:
Expand Down

0 comments on commit 407b8ca

Please sign in to comment.