Multitenant Down

Tear down the multi-tenant K8s stack, kill port-forwards, and clean up worker pods. Use when done testing multi-tenant mode. Use when this capability is needed.

tomevault-io Updated

File contents

Tear down the multi-tenant K8s stack:

  1. Kill all port-forwards:

    pkill -f 'port-forward.*duckgres' 2>/dev/null
    
  2. Delete the duckgres namespace (removes control plane, workers, RBAC, services):

    kubectl delete namespace duckgres --ignore-not-found
    
  3. Stop the config store:

    docker compose -f k8s/local-config-store.compose.yaml down
    
  4. Clean up the TLS cert:

    rm -f /tmp/duckgres-server.crt
    
  5. Report to the user that the stack is torn down.


Source: PostHog/duckgres — distributed by TomeVault.

tomevault-io/skills-registry/tree/main/posthog--duckgres--duckgres commit e5290ba44f

Frequently asked questions

npx skillmds@latest add tomevault-io/multitenant-down