Default ingress to Traefik; nginx annotations as documented opt-in
ci / docker (push) Failing after 51s
ci / docker (push) Failing after 51s
This commit is contained in:
@@ -120,9 +120,11 @@ For production prefer a values file, or create the Secret yourself and set
|
||||
|
||||
Notes:
|
||||
|
||||
- The default ingress annotations disable nginx's request body limit and
|
||||
request buffering so multi-GB RAW uploads stream through. Adapt for other
|
||||
ingress controllers.
|
||||
- The chart defaults to Traefik, which needs no special config (no body-size
|
||||
limit, streaming by default). For ingress-nginx, set `ingress.className:
|
||||
nginx` and the commented `proxy-body-size`/`proxy-request-buffering`
|
||||
annotations in values.yaml — nginx's 1MiB default otherwise rejects RAW
|
||||
uploads.
|
||||
- Migrations run automatically on startup of either binary (they take a
|
||||
Postgres advisory lock, so concurrent starts are safe).
|
||||
- Scale `worker.replicas` (or `worker.concurrency`) if imports queue up;
|
||||
|
||||
@@ -55,12 +55,14 @@ service:
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
className: nginx
|
||||
className: traefik
|
||||
host: photos.example.com
|
||||
annotations:
|
||||
# Raw uploads are large; disable nginx's body size limit.
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
||||
nginx.ingress.kubernetes.io/proxy-request-buffering: "off"
|
||||
# Traefik needs nothing extra: no default body-size limit, streams uploads.
|
||||
# For ingress-nginx set className: nginx and uncomment (multi-GB raw
|
||||
# uploads hit nginx's 1MiB default limit otherwise):
|
||||
# nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
||||
# nginx.ingress.kubernetes.io/proxy-request-buffering: "off"
|
||||
annotations: {}
|
||||
tls:
|
||||
enabled: true
|
||||
secretName: photos-tls
|
||||
|
||||
Reference in New Issue
Block a user