multitenant-up

โดย posthog

สร้าง, ปรับใช้, และทำ port-forward สำหรับ multi-tenant control plane บน Kubernetes ในเครื่อง ใช้เมื่อคุณต้องการทดสอบ duckgres ในโหมด multi-tenant แบบต่อทีม…

npx skills add https://github.com/posthog/duckgres --skill multitenant-up

Boot up the multi-tenant K8s stack:

  1. Build and deploy:

    just run-multitenant-local
    
  2. Kill any stale port-forwards and start fresh ones:

    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:

    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

Skills เพิ่มเติมจาก posthog

managing-experiment-lifecycle
posthog
แนะนำการเปลี่ยนสถานะการทดลอง: การเริ่ม, หยุดชั่วคราว, ดำเนินต่อ, สิ้นสุด, จัดส่งรูปแบบ, เก็บถาวร, รีเซ็ต, และทำซ้ำ ครอบคลุมเงื่อนไขเบื้องต้น...
official
configuring-experiment-analytics
posthog
Configures the analytics side of a PostHog experiment — exposure criteria (default `$feature_flag_called` vs custom exposure events), primary and secondary…
official
error-tracking-hono
posthog
การติดตามข้อผิดพลาดของ PostHog สำหรับ Hono
official
error-tracking-react
posthog
PostHog การติดตามข้อผิดพลาดสำหรับ React
official
integration-android
posthog
PostHog integration สำหรับแอปพลิเคชัน Android
official
integration-ruby
posthog
PostHog การผสานรวมสำหรับแอปพลิเคชัน Ruby ใดๆ ที่ใช้ Ruby SDK
official
tuning-incremental-sync-config
posthog
การกำหนดค่าการซิงค์จะอยู่บน ExternalDataSchema และสามารถเปลี่ยนแปลงได้ตลอดเวลาผ่าน external-data-schemas-partial-update การเปลี่ยนแปลงส่วนใหญ่จะไม่ทำลายข้อมูล (มีผลในการซิงค์ครั้งถัดไป) แต่บางอย่าง (การเปลี่ยน sync_type, การเปลี่ยนคีย์หลัก) จำเป็นต้องจัดการอย่างระมัดระวังเพื่อหลีกเลี่ยงการทำให้ข้อมูลที่ซิงค์เสียหาย
official
instrument-integration
posthog
ใช้สกิลนี้เพื่อเพิ่ม PostHog SDK ลงในแอปพลิเคชัน ใช้เมื่อตั้งค่า PostHog เป็นครั้งแรก หรือตรวจสอบ PR ที่ต้องการการเริ่มต้นใช้งาน PostHog ครอบคลุมการติดตั้ง SDK การตั้งค่า provider และการกำหนดค่าพื้นฐาน รองรับเฟรมเวิร์กหรือภาษาใดก็ได้
official