multitenant-down
作者: posthog
拆除多租户K8s栈,终止端口转发,清理工作节点Pod。在完成多租户模式测试后使用。
npx skills add https://github.com/posthog/duckgres --skill multitenant-downTear down the multi-tenant K8s stack:
-
Kill all port-forwards:
pkill -f 'port-forward.*duckgres' 2>/dev/null -
Delete the duckgres namespace (removes control plane, workers, RBAC, services):
kubectl delete namespace duckgres --ignore-not-found -
Stop the config store:
docker compose -f k8s/local-config-store.compose.yaml down -
Clean up the TLS cert:
rm -f /tmp/duckgres-server.crt -
Report to the user that the stack is torn down.