From 518c96d8912d949f1199a4d47003875a15643d62 Mon Sep 17 00:00:00 2001 From: msvinaykumar Date: Sat, 13 Jul 2024 15:34:45 +0530 Subject: [PATCH] increase timeout and avoid 504 gateway timeout issue Signed-off-by: msvinaykumar --- .../BYODB-installation/minikube/kruize-crc-minikube.yaml | 8 +++++++- .../openshift/kruize-crc-openshift.yaml | 8 +++++++- .../minikube/kruize-crc-minikube.yaml | 8 +++++++- .../openshift/kruize-crc-openshift.yaml | 8 +++++++- 4 files changed, 28 insertions(+), 4 deletions(-) diff --git a/manifests/crc/BYODB-installation/minikube/kruize-crc-minikube.yaml b/manifests/crc/BYODB-installation/minikube/kruize-crc-minikube.yaml index 9b4d8c165..f77f44fb3 100644 --- a/manifests/crc/BYODB-installation/minikube/kruize-crc-minikube.yaml +++ b/manifests/crc/BYODB-installation/minikube/kruize-crc-minikube.yaml @@ -170,7 +170,13 @@ data: upstream kruize-api { server kruize:8080; } - + + # Set these timeout settings to a very high value + proxy_connect_timeout 86400s; + proxy_send_timeout 86400s; + proxy_read_timeout 86400s; + send_timeout 86400s; + server { listen 8080; server_name localhost; diff --git a/manifests/crc/BYODB-installation/openshift/kruize-crc-openshift.yaml b/manifests/crc/BYODB-installation/openshift/kruize-crc-openshift.yaml index 34a890a8d..46ca4258b 100644 --- a/manifests/crc/BYODB-installation/openshift/kruize-crc-openshift.yaml +++ b/manifests/crc/BYODB-installation/openshift/kruize-crc-openshift.yaml @@ -177,7 +177,13 @@ data: upstream kruize-api { server kruize:8080; } - + + # Set these timeout settings to a very high value + proxy_connect_timeout 86400s; + proxy_send_timeout 86400s; + proxy_read_timeout 86400s; + send_timeout 86400s; + server { listen 8080; server_name localhost; diff --git a/manifests/crc/default-db-included-installation/minikube/kruize-crc-minikube.yaml b/manifests/crc/default-db-included-installation/minikube/kruize-crc-minikube.yaml index 572edd19c..74dcd1d83 100644 --- a/manifests/crc/default-db-included-installation/minikube/kruize-crc-minikube.yaml +++ b/manifests/crc/default-db-included-installation/minikube/kruize-crc-minikube.yaml @@ -298,7 +298,13 @@ data: upstream kruize-api { server kruize:8080; } - + + # Set these timeout settings to a very high value + proxy_connect_timeout 86400s; + proxy_send_timeout 86400s; + proxy_read_timeout 86400s; + send_timeout 86400s; + server { listen 8080; server_name localhost; diff --git a/manifests/crc/default-db-included-installation/openshift/kruize-crc-openshift.yaml b/manifests/crc/default-db-included-installation/openshift/kruize-crc-openshift.yaml index f97571933..09449b477 100644 --- a/manifests/crc/default-db-included-installation/openshift/kruize-crc-openshift.yaml +++ b/manifests/crc/default-db-included-installation/openshift/kruize-crc-openshift.yaml @@ -394,7 +394,13 @@ data: upstream kruize-api { server kruize:8080; } - + + # Set these timeout settings to a very high value + proxy_connect_timeout 86400s; + proxy_send_timeout 86400s; + proxy_read_timeout 86400s; + send_timeout 86400s; + server { listen 8080; server_name localhost;