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 Nov 8, 2024
1 parent 596ace5 commit 42bc755
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 @@ -444,6 +453,9 @@ spec:
- --kube-api-qps=20
- --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
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 @@ -144,6 +144,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 @@ -173,6 +174,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 @@ -202,6 +204,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 @@ -232,6 +235,7 @@ spec:
- --kube-api-qps=20
- --kube-api-burst=100
- --workers=100
- --retry-interval-start=4s
- --retry-interval-max=30m
env:
- name: ADDRESS
Expand Down

0 comments on commit 42bc755

Please sign in to comment.