How to Migrate a Supabase App (Postgres, Auth, Edge Functions) to Kubernetes on Your Own Cloud Account
Blog post from Qovery
Migrating a Supabase application to Kubernetes is presented as a phased process involving separate cutovers for PostgreSQL data, authentication, and Edge Functions, with independent rollback plans rather than a single migration event. PostgreSQL can be moved through dump-and-restore with a planned write freeze or logical replication for near-zero downtime, while managed database services are recommended over running PostgreSQL in Kubernetes; teams must also account for unsupported extensions, storage files, schema customizations, sequences, and replication limitations. Existing Supabase Auth users can generally retain their passwords because bcrypt hashes from the auth schema can be moved to self-hosted GoTrue or imported into several identity providers, although JWT signing keys, RLS claims, OAuth redirects, email configuration, and refresh tokens require careful handling. Edge Functions must be adapted into API routes, Deno containers, or serverless functions, and frontend calls using Supabase functions must change to standard HTTP requests. Keeping PostgREST preserves existing supabase-js database calls, whereas removing it requires an API rewrite. The source contrasts full self-hosting, a managed-services rebuild, and a gradual hybrid approach, noting that self-hosting adds operational responsibility and is usually less economical for small projects but may suit organizations needing cloud-account ownership, private networking, compliance control, or cloud-discount benefits; it also describes Qovery as a platform for deploying and managing the migrated Kubernetes components in a customer-owned cloud account.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Kubernetes | 29 | 243 | 12 | 5 | -95% |
| Secrets Management | 8 | 61 | 14 | 9 | -98% |
| MCP | 7 | 415 | 24 | 14 | -96% |
| Real-time | 5 | 24 | 13 | 11 | -99% |
| Serverless | 5 | 12 | 4 | 2 | -99% |
| Platform Engineering | 4 | 73 | 12 | 4 | -96% |
| Edge Computing | 2 | 3 | 2 | 1 | -97% |
| AI Agents | 1 | 64 | 25 | 14 | -99% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.