Appendix — Uninstall K3s¶
Outside the normal implementation path. Use it for a full reset of the management cluster before reinstalling Phase 3.
Goal¶
Remove the K3s (lightweight Kubernetes distribution) server and agents on the 3 nodes in an orderly way.
Stack¶
- K3s — Uninstall scripts in
/usr/local/bin/k3s-uninstall.shandk3s-agent-uninstall.sh. - Ansible —
playbook-k3s-uninstall.yml.
Run¶
Verify¶
ansible -i ansible/inventory.ini incus_cluster -m command -a "systemctl is-active k3s" || true
# inactive / failed en todos
Next¶
Reinstall: Phase 3 — K3s