From 118b4b7b1b1c1ab9fb7ff9027513442e16990d01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnar=20P=C3=A1ll?= Date: Fri, 13 Oct 2023 11:46:15 +0000 Subject: [PATCH] Ingress Proxy read timeout set to 600 seconds --- charts/bigdata-proxy/Chart.yaml | 2 +- charts/bigdata-proxy/templates/ingress.yaml | 2 ++ charts/bigdata-proxy/values.yaml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/bigdata-proxy/Chart.yaml b/charts/bigdata-proxy/Chart.yaml index fdce221c..fa08ec72 100644 --- a/charts/bigdata-proxy/Chart.yaml +++ b/charts/bigdata-proxy/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: bigdata-proxy description: A Helm chart for the Spot Big Data Proxy type: application -version: 0.4.1 +version: 0.4.2 appVersion: 0.5.0 home: https://github.com/spotinst/charts icon: https://docs.spot.io/_media/images/spot_mark.png diff --git a/charts/bigdata-proxy/templates/ingress.yaml b/charts/bigdata-proxy/templates/ingress.yaml index 3172748e..bdb39e29 100644 --- a/charts/bigdata-proxy/templates/ingress.yaml +++ b/charts/bigdata-proxy/templates/ingress.yaml @@ -11,6 +11,8 @@ metadata: nginx.ingress.kubernetes.io/auth-tls-verify-client: "on" # Secret containing the trusted ca certificates nginx.ingress.kubernetes.io/auth-tls-secret: {{ printf "%s/%s" .Values.ingress.secretNamespace .Values.ingress.secretName }} + # Override proxy timeout to give time for possible cluster scale up + nginx.ingress.kubernetes.io/proxy-read-timeout: {{ .Values.ingress.readTimeout | quote }} spec: ingressClassName: {{ .Values.ingress.ingressClassName }} rules: diff --git a/charts/bigdata-proxy/values.yaml b/charts/bigdata-proxy/values.yaml index 05b9c073..81325461 100644 --- a/charts/bigdata-proxy/values.yaml +++ b/charts/bigdata-proxy/values.yaml @@ -24,6 +24,7 @@ ingress: create: true prefixPath: "" # Defaults to bigdata-proxy.fullname ingressClassName: spot-bigdata-nginx + readTimeout: 600 host: "" # Overridden at deploy time secretNamespace: "" # Overridden at deploy time secretName: "" # Overridden at deploy time