# 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.

- Skill: `tomevault-io/multitenant-down` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/multitenant-down`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/multitenant-down/raw
- Safety review: pending (external: skill-scanner PASS, skillspector CAUTION)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/multitenant-down

---


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.

---
> Source: [PostHog/duckgres](https://github.com/PostHog/duckgres) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-07-05 -->

