Skip to content

Uninstall MemVerge.ai and K3s

Uninstall MemVerge.ai

To completely remove MemVerge.ai from your systems, run the following on the control/management node:

helm uninstall --namespace cattle-system mmai

Uninstall K3s

To completely remove K3s from your system, run the following commands on the worker nodes

/usr/local/bin/k3s-agent-uninstall.sh

Remove remaining files and directories:

rm -rf /etc/rancher/k3s
rm -rf /var/lib/rancher/k3s
rm -rf /usr/local/bin/k3s
rm -rf /usr/local/bin/kubectl
rm -rf /usr/local/bin/crictl
rm -rf /usr/local/bin/ctr

To uninstall K3s on the management node(s), run the following:

/usr/local/bin/k3s-uninstall.sh

Remove remaining files and directories:

rm -rf /etc/rancher/k3s
rm -rf /var/lib/rancher/k3s
rm -rf /usr/local/bin/k3s
rm -rf /usr/local/bin/kubectl
rm -rf /usr/local/bin/crictl
rm -rf /usr/local/bin/ctr