Skip to main content

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.

معلومات المصدر

المستودع
PostHog/duckgres
آخر نشاط في المصدر
٤ أغسطس ٢٠٢٦ في ١٤:٠٣
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
١٨٥
التفرعات
١٩

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
name
multitenant-up
description
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: 1. Build and deploy: ```bash just run-multitenant-local ``` 2. Kill any stale port-forwards and start fresh ones: ```bash pkill -f 'port-forward.*duckgres' 2>/dev/null; sleep 1 kubectl -n duckgres port-forward svc/duckgres 5432:5432 &>/dev/null & kubectl -n duckgres port-forward deployment/duckgres-control-plane 8080:8080 &>/dev/null & ``` 3. Grab the admin API token: ```bash kubectl -n duckgres logs deployment/duckgres-control-plane | grep 'admin API token' ``` 4. Report to the user: - Admin dashboard: http://localhost:8080 (show the token) - PG: `PGSSLMODE=require PGPASSWORD=postgres psql -h localhost -U postgres` - Default credentials: postgres / postgres
عرض على GitHub