Skip to main content

Seerr on GKE Autopilot

Seerr on GKE Autopilot

Seerr is the 2026 merger of Jellyseerr and Overseerr — an open-source, MIT-licensed request UI that sits in front of a Jellyfin, Plex, or Emby media server. Users browse and request titles; an admin approves the request, and Seerr calls Sonarr's and Radarr's APIs to trigger acquisition. This module deploys Seerr on GKE Autopilot on top of the App_GKE foundation, which provisions and manages the shared Google Cloud and Kubernetes infrastructure.

This guide focuses on the cloud services Seerr uses and how to explore and operate them from the Google Cloud Console and the command line. For the mechanics common to every GKE application — Workload Identity, ingress, autoscaling, CI/CD, Cloud Armor, IAP, Binary Authorization, VPC Service Controls, backups, and the deployment lifecycle — refer to the App_GKE foundation guide rather than repeating them here.


1. Overview

Seerr runs as a single Node.js/Next.js pod. The deployment wires together a small set of Google Cloud services:

CapabilityGoogle Cloud serviceNotes
ComputeGKE AutopilotSingle Node.js process pod, 2 vCPU / 4 GiB by default
DatabaseCloud SQL PostgreSQL 15Holds request/user data; migrations run automatically on every pod boot
Object storageCloud StorageA storage bucket mounted at /app/config via GCS FUSE (or an optional StatefulSet PVC) — holds settings.json, Seerr's own app settings
Cache & queuenoneSeerr has no Redis or queue dependency
SecretsSecret ManagerOnly the generated database password — Seerr's first admin comes from the app's own web setup wizard
IngressCloud Load BalancingExternal LoadBalancer, optional custom domain + managed certificate

Sensible defaults worth knowing up front:

  • Genuinely prebuilt — no custom image. Seerr_Common's scripts/ directory is empty. container_image_source = "prebuilt" deploys ghcr.io/seerr-team/seerr directly.
  • DB_TYPE=postgres is set unconditionally by Seerr_Common — see the Cloud Run guide's §3 for the full explanation; the same trap and the same fix apply here.
  • Port 5055, health path /api/v1/status. Confirmed via local docker run testing and a live deployment (pod reported 3/3 Running, GET /api/v1/status returned real JSON via kubectl exec).
  • A GKE-specific GCS-FUSE permission bug, found and fixed. Seerr's container runs as uid=1000/gid=1000. Cloud Run's own gcsfuse integration auto-applies that UID/GID to the mount; the GKE GCS FUSE CSI driver does not — without an explicit fix, the pod crash-loops on first boot with EACCES: permission denied trying to create /app/config/logs/. Seerr_Common mounts the volume with uid=1000, gid=1000, file-mode=0664, dir-mode=0775 to fix this. See §3.
  • Two distinct pieces of state. PostgreSQL holds request/user data. Seerr's own app settings (connected media servers, discovery sliders, notification agents) live in a plain settings.json file under /app/config — regardless of database backend.
  • DB_PASS, not DB_PASSWORD. Seerr's TypeORM datasource reads a specifically-named DB_PASS environment variable. This module sets db_password_env_var_name = "DB_PASS" to match.

2. Google Cloud Services & How to Explore Them

All commands assume you have run gcloud container clusters get-credentials <cluster> --region <region> --project <project> and that PROJECT, REGION, and NAMESPACE are set.

A. GKE Autopilot — the Seerr workload

  • CLI:
    kubectl get pods,svc -n "$NAMESPACE"
    kubectl logs -n "$NAMESPACE" deploy/<service-name> --tail=100

B. Cloud SQL — request/user data

  • CLI:
    gcloud sql instances list --project "$PROJECT"
    gcloud sql databases list --instance=<instance-name> --project "$PROJECT"

C. Storage — Cloud Storage or a block PVC

  • CLI:
    gcloud storage buckets list --project "$PROJECT" --filter="name~seerr"
    kubectl get pvc -n "$NAMESPACE" # only when stateful_pvc_enabled = true

D. Secret Manager

  • CLI:
    gcloud secrets list --project "$PROJECT" --filter="name~seerr"

E. Networking & ingress

  • CLI:
    kubectl get svc -n "$NAMESPACE" -o wide

F. Cloud Logging & Monitoring

  • CLI:
    kubectl logs -n "$NAMESPACE" deploy/<service-name> --tail=100 -f

3. Seerr Application Behaviour

  • No first-deploy database-schema job. Seerr's dist/index.js calls dbConnection.runMigrations() explicitly on every pod boot, so there is no init job in this module and none is needed. initialization_jobs is empty by default.
  • First-run setup is entirely in the app's own web UI. There is no seeded admin credential of any kind — connect to the service and complete Seerr's setup wizard: media server first, then Sonarr/Radarr.
  • Health path. Startup and liveness probes both target GET /api/v1/status.
  • Inspect job execution (should show nothing, by design):
    kubectl get jobs -n "$NAMESPACE"

⚠ The GCS-FUSE UID/GID bug — the GKE-specific gotcha this module fixes

Seerr's container runs as uid=1000/gid=1000 (the node user — confirmed via docker run ghcr.io/seerr-team/seerr id), and on first boot attempts mkdir '/app/config/logs/'.

  • On Cloud Run, the platform's own gcsfuse integration automatically applies uid:1000/gid:1000 to the mounted volume, so this works with no extra configuration.
  • On GKE, the GCS FUSE CSI driver does not default to a writable UID. A bare gcs_volumes mount is root-owned, and the non-root container crash-loops with EACCES: permission denied.

Seerr_Common fixes this by setting explicit mount_options on the storage volume it declares for /app/config:

mount_options = [
"implicit-dirs", "stat-cache-ttl=60s", "type-cache-ttl=60s",
"uid=1000", "gid=1000", "file-mode=0664", "dir-mode=0775",
]

This is a known bug class in this catalogue — the same shape of failure was previously found and fixed on Paperless, CodeServer, and CloudBeaver's GKE variants (see the repository CLAUDE.md's "GKE gcsfuse UID/GID permission denied" finding). Seerr is the latest confirmed instance, now fixed at the Seerr_Common layer so both Application Modules inherit the fix uniformly.

Diagnostic tell, if you ever see this symptom on a fork of this module:

kubectl describe pod -n "$NAMESPACE" <seerr-pod>
# Look for: EACCES: permission denied, mkdir '/app/config/logs/'

4. Configuration Variables

Variables are grouped exactly as they appear on the deployment platform. Only settings specific to or notable for Seerr are listed; every other input is inherited from App_GKE with its standard behaviour.

Group 3 — Application Identity

VariableDefaultDescription
application_nameseerrBase name for resources.
application_display_nameSeerrHuman-readable name shown in the platform UI.
application_versionlatestPulled directly as the ghcr.io/seerr-team/seerr image tag — no build step involved.

Group 4 — Runtime & Scaling

VariableDefaultDescription
container_port5055Confirmed via local docker run and live deployment; the K8s Service and probes must all agree on this value.
container_image_sourceprebuiltSeerr only supports the official image; Seerr_Common also hardcodes this internally.
min_instance_count / max_instance_count1 / 5See §6 below.

Group 31 — StatefulSet Configuration

VariableDefaultDescription
stateful_pvc_enabledfalsesettings.json is small, whole-file JSON state — safe on a GCS FUSE volume at max_instance_count = 1, so a block PVC is optional here, unlike WAL-mode-SQLite apps in this catalogue.
stateful_pvc_mount_path/app/configMatches the GCS FUSE default mount path.
stateful_pvc_storage_classstandardHDD pd-standardsettings.json has no high-IOPS need.

Group 16 — Database

VariableDefaultDescription
database_typePOSTGRES_15Required — Seerr has no non-Postgres path.
application_database_name / application_database_userseerr / seerrForwarded to Seerr_Common, injected as DB_NAME/DB_USER.
db_password_env_var_nameDB_PASSCritical — Seerr's datasource reads DB_PASS specifically, not the Foundation's default DB_PASSWORD.

Group 11 — Workload Automation

VariableDefaultDescription
initialization_jobs[]Empty and typically stays that way — dbConnection.runMigrations() runs on every pod boot inside the app itself.

Group 14 — Cloud Storage

VariableDefaultDescription
gcs_volumes[]The permission-corrected storage bucket mount at /app/config is added automatically (see §3); use this for additional volumes only.

Group 10 — Observability & Health

VariableDefaultDescription
startup_probe / liveness_probeHTTP /api/v1/status (via Seerr_Common)Unauthenticated 200 JSON status endpoint; the variant's own variables.tf default (HTTP /) is superseded by Seerr_Common's more accurate default.

5. Outputs

OutputDescription
service_name / service_url / service_external_ipKubernetes Service identity and address.
database_instance_name / database_name / database_user / database_password_secretCloud SQL instance and Seerr database identifiers.
storage_bucketsThe storage bucket backing /app/config (unused as a mount if stateful_pvc_enabled = true).
kubernetes_readyWhether the workload reached Ready state.

6. Configuration Pitfalls & Sensible Defaults

Risk: Critical (data loss / outage / security) — High (service degraded) — Medium (cost or partial degradation) — Low (minor).

SettingSensible valueRiskConsequence if wrong
DB_TYPE environment variableLeave Seerr_Common's default (postgres) untouchedCriticalMissing/overridden DB_TYPE silently drops Seerr onto a per-pod SQLite file wiped on every restart.
GCS FUSE mount_options on /app/configLeave Seerr_Common's uid=1000/gid=1000 fix in placeCriticalWithout it, the pod crash-loops with EACCES: permission denied on first boot — a GKE-only failure mode not seen on Cloud Run.
db_password_env_var_nameLeave at DB_PASSCriticalSeerr's TypeORM datasource only reads DB_PASS; the Foundation's default DB_PASSWORD alone is never read.
max_instance_countSet 1 if settings changes must never raceMediumsettings.json is a single mutable file — concurrent writers from multiple pods risk a lost write. The module default is 5, looser than the single-writer-safe value.
stateful_pvc_enabledLeave false unless you have a specific reason for block storageLowsettings.json doesn't need POSIX file locking the way a WAL-mode SQLite app would; GCS FUSE is an appropriate default here, unlike apps that genuinely require a real block device.

For the foundation behaviour referenced throughout — Workload Identity, ingress, autoscaling, CI/CD, Cloud Armor, IAP, Binary Authorization, VPC-SC, backups, and image mirroring — see App_GKE. Seerr-specific application configuration shared with the Cloud Run variant is described in Seerr_Common.