Production checklist
The checks to make on a dropshelf instance before real users arrive, each with a link to where it is explained.
Go through this list after you install dropshelf with Helm and before members start publishing. Each check links to the page that explains it.
Release and data
- The chart is installed with a fixed
--version, andimage.tagis empty or names a release. See Helm chart values: image. -
migrations.modeis chosen:startupin every pod, orjobbefore each install and upgrade. See Install with Helm. -
storage.driveriss3,gcsorazure. On the chart, thefsdriver loses every file with the pod. See Object storage. - Postgres is backed up on a schedule, and you have restored a backup once. See Back up and restore.
- The bucket has versioning or replication if deleted drops must be recoverable. See Back up and restore.
Network and TLS
- TLS covers
drop.example.comand*.drop.example.com, and both answer over HTTPS. See Domains and TLS. -
server.publicBaseURLstarts withhttps://. See Configuration: server. -
server.trustedProxiesis your ingress controller's pod range, so the logs record client addresses. See Configuration: server. - The ingress accepts bodies larger than
deploy.maxZipBytes, 100 MiB by default. With ingress-nginx,ingress.nginx.proxyBodySizesets it. See Helm chart values: ingress. - The ingress read and send timeouts cover
server.timeouts.upload, 15 minutes by default. With ingress-nginx,ingress.nginxsets them. See Helm chart values: ingress. - The ingress serves HTTP/2 if drop data is on. See Turn on features.
Sign-in and secrets
-
auth.admins.emailslists at least one person. See Identity provider. -
auth.oidc.requireVerifiedEmailstaystrue; the server refuses to start withfalse. See Identity provider. -
auth.oidc.assumeEmailVerifiedistrueonly if your directory controls every address it admits, guests included. See Identity provider. - Each session secret is at least 32 bytes. See Install with Helm.
- You have a schedule for rotating session secrets, including the pod restart that picks up a changed Secret. See Rotate secrets.
Capacity and availability
- At least two replicas run, and
podDisruptionBudget.enabledistrue. The chart renders no budget below two replicas. See Helm chart values: podDisruptionBudget. -
volumes.spool.sizeLimithas room for concurrent uploads, including visitors' files if uploaded assets are on. See Helm chart values: volumes. -
config.cache.maxBytesstays belowvolumes.cache.sizeLimit, and the two move together. See Helm chart values: volumes. -
resources.requests.ephemeral-storageequals the two volume size limits together. See Helm chart values: pods and scheduling. -
terminationGracePeriodSecondsis aboveserver.timeouts.shutdown, 60 seconds against 50 by default. See Helm chart values.
Monitoring
- Prometheus scrapes
/metricson port 9090, through the pod annotations ormetrics.serviceMonitor. See Monitor. - The pods' logs are collected, since each change writes one event line there. See Monitor.
Last updated .