Skip to Content
dropshelf

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:

RequirementDetailSet up in
DNSTwo records: the dashboard name and a wildcard for dropsDomains and TLS
TLS certificateOne wildcard certificate covering both namesDomains and TLS
DatabasePostgres 14 or laterConfiguration: database
Object storeOne S3-compatible bucket, Google Cloud Storage bucket or Azure Blob containerObject storage
Identity providerAn OIDC clientIdentity provider
RuntimeKubernetes 1.29 or later with an ingress controller, or a single host with DockerInstall 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.com for the dashboard and API.
  • *.drop.example.com for the drops. Every drop is a subdomain, such as lunch-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.ai and chatgpt.com over HTTPS, to read the metadata of the agent clients that sign in through OAuth. The server honours HTTPS_PROXY. To avoid this traffic, see Configuration: auth.

Sizing

The chart's defaults, per server pod unless the row says otherwise, are these:

ResourceDefaultValue
Replicas2replicaCount
CPU250m requested, no limitresources
Memory256Mi requested, 512Mi limitresources
Spool volumeemptyDir at /tmp/dropshelf, 2Givolumes.spool.sizeLimit
Cache volumeemptyDir at /var/cache/dropshelf, 10Givolumes.cache.sizeLimit
Ephemeral storage12Gi requested, the two volumes togetherresources

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 .

On this page