fix(docker/helm): Make webserver query timeout adjustable (#15007)
* Allow timeout override, but keep default if unset * Add template placeholder values for timeout change * Bump chart version * linting * remove whitespace
This commit is contained in:
parent
9282c58654
commit
6edf3404a7
|
|
@ -27,7 +27,7 @@ else
|
||||||
--workers 1 \
|
--workers 1 \
|
||||||
--worker-class gthread \
|
--worker-class gthread \
|
||||||
--threads 20 \
|
--threads 20 \
|
||||||
--timeout 60 \
|
--timeout ${GUNICORN_TIMEOUT:-60} \
|
||||||
--limit-request-line 0 \
|
--limit-request-line 0 \
|
||||||
--limit-request-field_size 0 \
|
--limit-request-field_size 0 \
|
||||||
"${FLASK_APP}"
|
"${FLASK_APP}"
|
||||||
|
|
|
||||||
|
|
@ -48,6 +48,8 @@ envFromSecret: '{{ template "superset.fullname" . }}-env'
|
||||||
## Extra environment variables that will be passed into pods
|
## Extra environment variables that will be passed into pods
|
||||||
##
|
##
|
||||||
extraEnv: {}
|
extraEnv: {}
|
||||||
|
# Extend timeout to allow long running queries.
|
||||||
|
# GUNICORN_TIMEOUT: 300
|
||||||
|
|
||||||
## Extra environment variables to pass as secrets
|
## Extra environment variables to pass as secrets
|
||||||
##
|
##
|
||||||
|
|
@ -76,6 +78,9 @@ extraSecrets: {}
|
||||||
# A dictionary of overrides to append at the end of superset_config.py - the name does not matter
|
# A dictionary of overrides to append at the end of superset_config.py - the name does not matter
|
||||||
# WARNING: the order is not guaranteed
|
# WARNING: the order is not guaranteed
|
||||||
configOverrides: {}
|
configOverrides: {}
|
||||||
|
# extend_timeout: |
|
||||||
|
# # Extend timeout to allow long running queries.
|
||||||
|
# SUPERSET_WEBSERVER_TIMEOUT = ...
|
||||||
# enable_oauth: |
|
# enable_oauth: |
|
||||||
# from flask_appbuilder.security.manager import AUTH_DB
|
# from flask_appbuilder.security.manager import AUTH_DB
|
||||||
# AUTH_TYPE = AUTH_OAUTH
|
# AUTH_TYPE = AUTH_OAUTH
|
||||||
|
|
@ -121,6 +126,10 @@ ingress:
|
||||||
annotations: {}
|
annotations: {}
|
||||||
# kubernetes.io/ingress.class: nginx
|
# kubernetes.io/ingress.class: nginx
|
||||||
# kubernetes.io/tls-acme: "true"
|
# kubernetes.io/tls-acme: "true"
|
||||||
|
## Extend timeout to allow long running queries.
|
||||||
|
# nginx.ingress.kubernetes.io/proxy-connect-timeout: "300"
|
||||||
|
# nginx.ingress.kubernetes.io/proxy-read-timeout: "300"
|
||||||
|
# nginx.ingress.kubernetes.io/proxy-send-timeout: "300"
|
||||||
path: /
|
path: /
|
||||||
hosts:
|
hosts:
|
||||||
- chart-example.local
|
- chart-example.local
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue