Funnelcake Deployment Workflow
Source of Truth
divine-mobile does not maintain a copy of Funnelcake's deployment or migration procedure.
Read the authoritative documentation in the divine-funnelcake repository before acting:
- Deployment pipeline covers staging delivery and production promotion. CI image-push gating covers opt-in POC images.
- Production deploy runbook covers schema-first ArgoCD sync and post-deploy verification.
- Migrator reference documents supported
funnelcake-migrateinvocations, configuration, and the active migration ledger. - Migration best practices covers multi-replica migrations and per-statement
SETTINGS.
Use these sources if an older doc refers back here for a manual Job template.
Key Current Facts (as of 2026-11-24)
- Production ClickHouse is self-hosted. Production moved from ClickHouse Cloud to a
self-hosted Replicated ClickHouse cluster on Kubernetes on 2026-11-24.
- Production migrations use
funnelcake-migrateover HTTP(S). The ArgoCD sync hook
uses the environment's configured CLICKHOUSE_URL and
FUNNELCAKE_MIGRATIONS_TARGET=replicated.
- Single-statement
RENAME TABLEstill required. Self-hostedReplicateddatabases in
production also reject multi-table renames in a single query (Code 48). Use one
rename per statement and review the non-atomic interval for serving tables.
- Active migration ledger. Check
nostr.funnelcake_schema_migrationsfor migration
progress. The migrator uses the legacy schema_migrations table only for bootstrap.
- Retired paths (do not use):
- Manual
kubectl applyofgolang-migrate/database/entrypoint.shmigration Jobs. - ClickHouse Cloud native-TLS mode (
CLICKHOUSE_URLforcing port 9440). - Manual local
docker buildxbuilds orsededits directly against deployment overlays.