sanghyuk-vessl's picture
Add vessl-docs
76d9c4f verified
metadata
title: Remove a cluster
version: EN

<img style={{ borderRadius: '0.5rem' }} src="/images/clusters/remove/1_delete.png" />

Once you delete a cluster, there is no going back.

Remove cluster from VESSL

Under General, you can remove your clusters from VESSL. Click Delete cluster to proceed. Note that you should first terminate all ongoing workloads.

<img style={{ borderRadius: '0.5rem' }} src="/images/clusters/remove/2_modal.png" />

Remove all dependencies from the cluster

To remove all dependencies including the VESSL cluster agent from the cluster, run the following command.

docker stop vessl-k0s && docker rm vessl-k0s 
docker run -it --rm --privileged --pid=host alpine nsenter -t 1 -m -- sh -c “rm -rfv /var/lib/k0s”