From 8f599c2c4c86739f8130cfe075acade600d36ba8 Mon Sep 17 00:00:00 2001 From: Miguel Caballer Fernandez Date: Mon, 11 Sep 2023 16:57:09 +0200 Subject: [PATCH 1/3] set timeouts --- IM/templates/im_lb_config.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/IM/templates/im_lb_config.yaml b/IM/templates/im_lb_config.yaml index 45e7229..57158c6 100644 --- a/IM/templates/im_lb_config.yaml +++ b/IM/templates/im_lb_config.yaml @@ -7,6 +7,9 @@ metadata: name: haproxy-load-balancer data: stats-auth: "admin:admin" + timeout-client: "1800s" + timeout-connect: "1800s" + timeout-server: "1800s" haproxy.tmpl: | {{`{{- $cfg := .Cfg -}} {{- $global := $cfg.Global }} @@ -82,4 +85,4 @@ data: {{- end }} {{- end }}{{/* range Endpoints */}}`}} -{{ end }} \ No newline at end of file +{{ end }} From 622307b73eae17104f0c638c10ef2f93709f8322 Mon Sep 17 00:00:00 2001 From: Miguel Caballer Fernandez Date: Mon, 11 Sep 2023 16:59:59 +0200 Subject: [PATCH 2/3] fix indent --- IM/templates/im_lb_config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IM/templates/im_lb_config.yaml b/IM/templates/im_lb_config.yaml index 57158c6..c0e06f9 100644 --- a/IM/templates/im_lb_config.yaml +++ b/IM/templates/im_lb_config.yaml @@ -8,8 +8,8 @@ metadata: data: stats-auth: "admin:admin" timeout-client: "1800s" - timeout-connect: "1800s" - timeout-server: "1800s" + timeout-connect: "1800s" + timeout-server: "1800s" haproxy.tmpl: | {{`{{- $cfg := .Cfg -}} {{- $global := $cfg.Global }} From 1d2edc3f8815c02391869e10131d3c5491d27bf3 Mon Sep 17 00:00:00 2001 From: Miguel Caballer Date: Wed, 13 Sep 2023 13:07:52 +0200 Subject: [PATCH 3/3] Add ingress headers --- IM/templates/im_dashboard_ingress.yaml | 2 ++ IM/templates/im_ingress.yaml | 2 ++ IM/templates/im_web_ingress.yaml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/IM/templates/im_dashboard_ingress.yaml b/IM/templates/im_dashboard_ingress.yaml index f1abb7e..eba4c69 100644 --- a/IM/templates/im_dashboard_ingress.yaml +++ b/IM/templates/im_dashboard_ingress.yaml @@ -10,6 +10,8 @@ metadata: name: im-dashboard annotations: kubernetes.io/ingress.class: nginx + nginx.ingress.kubernetes.io/client-body-buffer-size: 64k + nginx.ingress.kubernetes.io/proxy-body-size: 20m nginx.ingress.kubernetes.io/proxy-connect-timeout: "1800" nginx.ingress.kubernetes.io/proxy-send-timeout: "1800" nginx.ingress.kubernetes.io/proxy-send-timeout: "1800" diff --git a/IM/templates/im_ingress.yaml b/IM/templates/im_ingress.yaml index 38ada72..3513ccf 100644 --- a/IM/templates/im_ingress.yaml +++ b/IM/templates/im_ingress.yaml @@ -10,6 +10,8 @@ metadata: name: im annotations: kubernetes.io/ingress.class: nginx + nginx.ingress.kubernetes.io/client-body-buffer-size: 64k + nginx.ingress.kubernetes.io/proxy-body-size: 20m nginx.ingress.kubernetes.io/proxy-connect-timeout: "1800" nginx.ingress.kubernetes.io/proxy-send-timeout: "1800" nginx.ingress.kubernetes.io/proxy-send-timeout: "1800" diff --git a/IM/templates/im_web_ingress.yaml b/IM/templates/im_web_ingress.yaml index 7ee0598..7bb4f65 100644 --- a/IM/templates/im_web_ingress.yaml +++ b/IM/templates/im_web_ingress.yaml @@ -10,6 +10,8 @@ metadata: name: im-web annotations: kubernetes.io/ingress.class: nginx + nginx.ingress.kubernetes.io/client-body-buffer-size: 64k + nginx.ingress.kubernetes.io/proxy-body-size: 20m nginx.ingress.kubernetes.io/proxy-connect-timeout: "1800" nginx.ingress.kubernetes.io/proxy-send-timeout: "1800" nginx.ingress.kubernetes.io/proxy-send-timeout: "1800"