> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vessl.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove a cluster

<Warning>
  Once you delete a cluster, there is no way to undo this action.
</Warning>

<Frame>
  <img style={{ borderRadius: '0.5rem' }} src="https://mintcdn.com/vesslai/p4Iy0AO-LrmBbPuL/images/clusters/remove/cluster_remove.png?fit=max&auto=format&n=p4Iy0AO-LrmBbPuL&q=85&s=5adefe554f51df85dab5dd2501639117" width="7200" height="3912" data-path="images/clusters/remove/cluster_remove.png" />
</Frame>

## 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.

<div
  style={{
marginBottom: '170px',
position: 'relative',
paddingTop: '300px',
}}
>
  <iframe
    src="https://demo.arcade.software/Sszcf5ok2ydf71xBeJnd?embed&embed_mobile=tab&embed_desktop=inline&show_copy_link=true"
    frameBorder="0"
    loading="lazy"
    webkitAllowFullScreen=""
    mozAllowFullScreen=""
    title="Dashboards"
    style={{
  position: 'absolute',
  top: '0px',
  left: '0px',
  width: '100%',
  height: '450px',
  colorScheme: 'light',
}}
  />
</div>

## Remove all dependencies from the cluster

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

```bash theme={null}
docker stop vessl-k0s && docker rm vessl-k0s
```

```bash theme={null}
docker run -it --rm --privileged --pid=host alpine nsenter -t 1 -m -- sh -c "rm -rfv /var/lib/k0s"
```
