To remove KUMA, use the Ansible tool and the inventory file that you have prepared.
To remove KUMA:
cd kuma-ansible-installer
sudo ./uninstall.sh <inventory file>
KUMA and all of its data is removed from the server.
The databases that were used by KUMA (for example, the ClickHouse storage database) and the data therein must be deleted separately.
Special considerations for removing a high availability configuration of KUMA
The composition of the removed components depends on the value of the deploy_to_k8s
parameter in the inventory file used to remove KUMA:
true
– the Kubernetes cluster created during the KUMA installation is deleted.false
– all KUMA components except for the Core are deleted from the Kubernetes cluster. The cluster is not deleted.In addition to the KUMA components installed outside the cluster, the following directories and files are deleted on the cluster nodes:
When a cluster is being deleted, error messages may appear, however, it does not interrupt the installer.
To ensure a full reset, a node reboot is recommended.
") and the Delete k0s Directories and files task (if an error message contains the following text: "I/O error: '/var/lib/k0s/kubelet/plugins/kubernetes.io/csi/driver.longhorn.io/
"), we recommend restarting the relevant host and trying to remove KUMA again with the same inventory file.After removing KUMA, restart the hosts on which the KUMA or Kubernetes components were installed.
Page top