npx skills add ...
npx skills add posthog/duckgres --skill multitenant-up
npx skills add posthog/duckgres --skill multitenant-up
Build, deploy, and port-forward the multi-tenant control plane on local Kubernetes. Use when you need to test duckgres in multi-tenant mode with per-team worker pools.
Boot up the multi-tenant K8s stack:
Build and deploy:
Kill any stale port-forwards and start fresh ones:
Grab the admin API token:
Extract the TLS cert for Flight SQL clients:
Report to the user:
PGSSLMODE=require PGPASSWORD=postgres psql -h localhost -U postgresGRPC_DEFAULT_SSL_ROOTS_FILE_PATH=/tmp/duckgres-server.crt duckdb then INSTALL duckhog FROM community; LOAD duckhog; ATTACH 'hog:memory?user=postgres&password=postgres&flight_server=grpc+tls://localhost:8815' AS mt;