Requirements
The DNS records, certificate, database, object store, identity provider, cluster and sizing a dropshelf instance needs before you install it.
This page lists what a dropshelf instance needs before you install it, for operators planning an install with Helm or on a single host. Each item links to the page that sets it up.
Summary
Every instance needs the following:
| Requirement | Detail | Set up in |
|---|---|---|
| DNS | Two records: the dashboard name and a wildcard for drops | Domains and TLS |
| TLS certificate | One wildcard certificate covering both names | Domains and TLS |
| Database | Postgres 14 or later | Configuration: database |
| Object store | One S3-compatible bucket, Google Cloud Storage bucket or Azure Blob container | Object storage |
| Identity provider | An OIDC client | Identity provider |
| Runtime | Kubernetes 1.29 or later with an ingress controller, or a single host with Docker | Install with Helm, Run on a single host |
DNS
Create two records pointing at whatever fronts dropshelf, usually your ingress controller's load balancer:
drop.example.comfor the dashboard and API.*.drop.example.comfor the drops. Every drop is a subdomain, such aslunch-votes.drop.example.com.
A wildcard matches one DNS label, and a drop's name is always one label.
TLS certificate
One wildcard certificate covers drop.example.com and *.drop.example.com. The chart reads it from
the Secret dropshelf-tls. There are two ways to get it, and you choose one:
- cert-manager with an issuer that solves DNS-01. The chart requests the certificate itself. A wildcard cannot be issued through HTTP-01.
- Your own certificate, from your PKI or your load balancer, in a Secret you create and name in the chart's values.
Domains and TLS covers both.
Database
dropshelf keeps every record except the deployed files in Postgres 14 or later. It has no embedded
database, and a configuration without database.url refuses to start. Create an empty database and a
user that owns it. dropshelf creates its tables on first start.
Object store
An instance uses exactly one object store for the files of every drop:
- An S3 bucket, or MinIO or another S3-compatible store.
- A Google Cloud Storage bucket.
- An Azure Blob container.
dropshelf never creates the bucket or container. Create it yourself and give the instance read and
write access. On S3 the readiness check runs HeadBucket, so the credentials need s3:ListBucket.
Object storage has the permissions for each driver.
A fourth driver, fs, keeps files on the host's disk. It is for one replica on a
single host only.
Identity provider
dropshelf signs people in through OIDC, so you need a client at your identity provider, such as
Auth0, Entra ID or Dex. Register https://drop.example.com/auth/callback as its redirect URI. Note
the issuer URL, the client ID and the client secret. You also need the email address of at least one
person who becomes an admin. Identity provider covers
the setup.
Kubernetes
The Helm chart needs:
- Kubernetes 1.29 or later.
- An ingress controller. The chart adds body-size and timeout annotations for ingress-nginx; with another controller, you size those yourself.
- HTTP/2 at the ingress when you turn on drop data, because each open tab holds one event stream per synced collection.
- cert-manager with a DNS-01 issuer, if you let the chart request the certificate.
The image runs on linux/amd64 and linux/arm64.
Network access
The server pods reach these addresses:
- Your identity provider's issuer, at startup and at every sign-in.
- Postgres and the object store.
claude.aiandchatgpt.comover HTTPS, to read the metadata of the agent clients that sign in through OAuth. The server honoursHTTPS_PROXY. To avoid this traffic, see Configuration: auth.
Sizing
The chart's defaults, per server pod unless the row says otherwise, are these:
| Resource | Default | Value |
|---|---|---|
| Replicas | 2 | replicaCount |
| CPU | 250m requested, no limit | resources |
| Memory | 256Mi requested, 512Mi limit | resources |
| Spool volume | emptyDir at /tmp/dropshelf, 2Gi | volumes.spool.sizeLimit |
| Cache volume | emptyDir at /var/cache/dropshelf, 10Gi | volumes.cache.sizeLimit |
| Ephemeral storage | 12Gi requested, the two volumes together | resources |
The spool holds uploads until they are stored. The cache holds files the pod serves, refilled from
the object store by use. The chart sets cache.maxBytes to 8GB, below the cache volume. Both volumes
are emptied at every startup and hold nothing durable. There is no CPU limit, so deploys are never
throttled.
For the full list, see Helm chart values.
Last updated .