Skip to content

Commit

Permalink
PRO-48 [SUPPORT] Console nginx timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
ksv510 committed Apr 10, 2024
1 parent d372cc9 commit 95c1ab8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion src/services/k8s/config/ingress/ingress-api-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ export class IngressApiConfig {
'kind': 'Ingress',
'metadata': {
'name': 'bl-api-ingress',
'labels': { ...getIngressLabel() }
'labels': { ...getIngressLabel() },
'annotations': {
'nginx.ingress.kubernetes.io/proxy-body-size': '2000m',
'nginx.ingress.kubernetes.io/proxy-read-timeout': '600',
'nginx.ingress.kubernetes.io/proxy-send-timeout': '600',
'nginx.ingress.kubernetes.io/proxy-connect-timeout': '600'
}
},
'spec': {
'defaultBackend': {
Expand Down
8 changes: 7 additions & 1 deletion src/services/k8s/config/ingress/ingress-console-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ export class IngressConsoleConfig {
'kind': 'Ingress',
'metadata': {
'name': 'bl-console-ingress',
'labels': { ...getIngressLabel() }
'labels': { ...getIngressLabel() },
'annotations': {
'nginx.ingress.kubernetes.io/proxy-body-size': '2000m',
'nginx.ingress.kubernetes.io/proxy-read-timeout': '600',
'nginx.ingress.kubernetes.io/proxy-send-timeout': '600',
'nginx.ingress.kubernetes.io/proxy-connect-timeout': '600'
}
},
'spec': {
'defaultBackend': {
Expand Down

0 comments on commit 95c1ab8

Please sign in to comment.