File size: 809 Bytes
76d9c4f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
---
title: Remove a cluster
version: EN
---
<img style={{ borderRadius: '0.5rem' }}
src="/images/clusters/remove/1_delete.png"
/>
<Warning>Once you delete a cluster, there is no going back. </Warning>
#### 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”
```
|