From 72e71b495b986ce3b9c620248ddae115d0b22dfc Mon Sep 17 00:00:00 2001 From: jamiemoller <109265727+jamiemoller@users.noreply.github.com> Date: Mon, 22 Apr 2024 10:47:31 +1000 Subject: [PATCH 1/2] Update values.yaml add template in value to mitigate err413 (Request Entity Too Large) for nginx ingress. resolves issue with whisper and llava file uploads to api Signed-off-by: jamiemoller <109265727+jamiemoller@users.noreply.github.com> --- charts/local-ai/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/local-ai/values.yaml b/charts/local-ai/values.yaml index b1dbbe1..5f4cdd9 100644 --- a/charts/local-ai/values.yaml +++ b/charts/local-ai/values.yaml @@ -106,7 +106,7 @@ ingress: enabled: false className: "" annotations: - {} + # nginx.ingress.kubernetes.io/proxy-body-size: "25m" # This value determines the maxmimum uploadable file size # kubernetes.io/ingress.class: nginx # kubernetes.io/tls-acme: "true" hosts: From a5e1d416b865968675b5c2889ca8ec41536e4875 Mon Sep 17 00:00:00 2001 From: jamiemoller <109265727+jamiemoller@users.noreply.github.com> Date: Mon, 22 Apr 2024 10:48:45 +1000 Subject: [PATCH 2/2] Update values.yaml Signed-off-by: jamiemoller <109265727+jamiemoller@users.noreply.github.com> --- charts/local-ai/values.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/local-ai/values.yaml b/charts/local-ai/values.yaml index 5f4cdd9..e32de48 100644 --- a/charts/local-ai/values.yaml +++ b/charts/local-ai/values.yaml @@ -106,6 +106,7 @@ ingress: enabled: false className: "" annotations: + {} # nginx.ingress.kubernetes.io/proxy-body-size: "25m" # This value determines the maxmimum uploadable file size # kubernetes.io/ingress.class: nginx # kubernetes.io/tls-acme: "true"