Skip to content

Commit

Permalink
shortlink-common: setting retries policy for nginx-ingress
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Login <batazor111@gmail.com>
  • Loading branch information
batazor committed Dec 31, 2022
1 parent 87dc50b commit 1129c91
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ops/Helm/shortlink-common/templates/_ingress_nginx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ metadata:
{{- include "helpers.labels" . | nindent 4 }}
{{- with .Values.ingress.annotations }}
annotations:
{{/* retry policies */}}
nginx.ingress.kubernetes.io/proxy-next-upstream: "error timeout http_502 http_503 http_504"
nginx.ingress.kubernetes.io/proxy-next-upstream-tries: "3"
nginx.ingress.kubernetes.io/proxy-next-upstream-timeout: "20"

{{- toYaml . | nindent 4 }}
{{- end }}
spec:
Expand Down

0 comments on commit 1129c91

Please sign in to comment.