Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finetune sidecar retry-interval-start #2221

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
AndrewSirenko marked this conversation as resolved.
Show resolved Hide resolved
- --retry-interval-max=30m
- --feature-gates=VolumeAttributesClass=true
env:
Expand Down
Loading