Skip to main content

multitenant-down

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

Source facts

Repository
PostHog/duckgres
Last source activity
March 23, 2026 at 20:19
Detected SKILL.md language
English
Stars
186
Forks
18

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
multitenant-down
description
Tear down the multi-tenant K8s stack, kill port-forwards, and clean up worker pods. Use when done testing multi-tenant mode.
Tear down the multi-tenant K8s stack: 1. Kill all port-forwards: ```bash pkill -f 'port-forward.*duckgres' 2>/dev/null ``` 2. Delete the duckgres namespace (removes control plane, workers, RBAC, services): ```bash kubectl delete namespace duckgres --ignore-not-found ``` 3. Stop the config store: ```bash docker compose -f k8s/local-config-store.compose.yaml down ``` 4. Clean up the TLS cert: ```bash rm -f /tmp/duckgres-server.crt ``` 5. Report to the user that the stack is torn down.
View on GitHub