Delete Bootstrap Cluster via Backend (CLI)
Uninstall the bootstrap cluster on the bootstrap node. Web delete is not supported.
Prerequisites
- Account with
sudoon the bootstrap node. - Service and management clusters must already be uninstalled (or you accept losing the only unified uninstall path). See Cluster Uninstallation Overview.
Danger:
After bootstrap uninstall:
- The bootstrap management plane cannot be logged in;
- You cannot uninstall service/management clusters via UI or bootstrap
bcanymore;- Remaining clusters require per-node manual cleanup.
Procedure
Reset the bootstrap node:
bashbke reset --all --mountNote:
Without--confirm,--allprompts for confirmation. Usebke reset --all --mount --confirmto skip.(Optional) Remove BKE media and the local binary:
bashrm -rf /bke rm -f /usr/local/bin/bkeNote:
Step 2 only frees disk and removes thebkecommand. It is not required to consider the reset successful. Skip it if you want to keep media for a laterbke init.
What this deletes
| Step / command | Removes |
|---|---|
bke reset (included in --all) | Local Kubernetes/k3s transition containers and dirs |
--all | Container services, NTP, runtime, network, leftovers |
--mount | Extract/mount dirs; with --all, BKE-managed system config / timezone as implemented |
rm -rf /bke (optional) | Install/extract workspace |
rm -f /usr/local/bin/bke (optional) | Local bke binary |
Does not auto-unbind HA VIPs (see FAQ).
Success criteria
Whether step 2 ran does not affect judging that services were reset:
bke reset --all --mountcompleted successfully.- Bootstrap API is unreachable via
kubectl get pod -A, or local k3s/Kubernetes processes and containers are gone. - (If optional step done)
ls /bkefails andwhich bkehas no output.
Follow-up
- Reinstall via Online Bootstrap Installation or Offline Bootstrap Installation.
- Parameters: Command Reference, bkeadm Configuration.
Bug