Skip to content

Cleanup

cub cluster down tears down a cluster's live kind cluster; with --delete-config it also deletes the cluster's ConfigHub spaces — the <name> and <name>-argo-apps spaces and every deployment bound to the cluster's target.

Dev has no delete gates, so it comes down in one command:

cub cluster down --name dev --delete-config

Prod is different: you gated cubbychat-prod's units with --unit-delete-gate critical, so the recursive delete refuses to remove them. That's the gate doing its job. Force past it deliberately, then tear the cluster down:

cub space delete cubbychat-prod --recursive-force
cub cluster down --name prod --delete-config

Finally, remove the shared base, which isn't tied to any cluster:

cub space delete cubbychat-base --recursive