Skip to content

Commit

Permalink
feat: add random backoff before operation for controllers with multip…
Browse files Browse the repository at this point in the history
…le replicas
  • Loading branch information
sergeyberezansky committed Apr 16, 2023
1 parent aff62ed commit 0428e79
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ spec:
{{- if .Values.useJsonLogging }}
- "--usejsonlogging"
{{- end }}
{{- if gt (default 0 .Values.controller.maxRandomWaitIntervalSecs) 0 }}
- "--maxRandomWaitIntervalSecs {{ default 0 .Values.controller.maxRandomWaitIntervalSecs }}"
{{- end }}
{{- if ge (int (default 1 .Values.controller.replicas)) 2 }}
- "--maxrandomwaitintervalsecs={{ .Values.controller.maxRandomWaitIntervalSecs | default 0 }}"
{{- end}}
ports:
- containerPort: 9898
name: healthz
Expand Down

0 comments on commit 0428e79

Please sign in to comment.