Skip to content

Commit

Permalink
Add uninstall caution
Browse files Browse the repository at this point in the history
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
  • Loading branch information
brandond committed Oct 21, 2024
1 parent d391bc9 commit fcccedf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/installation/uninstall.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ title: Uninstalling K3s
---

:::warning
Uninstalling K3s deletes the local cluster data, configuration, and all of the scripts and CLI tools.
It does not remove any data from external datastores, or created by pods using external Kubernetes storage volumes.
Uninstalling K3s may cause data loss!
:::

If you installed K3s using the installation script, a script to uninstall K3s was generated during installation.

Running the uninstall script stops K3s and all running pods, and deletes the local cluster datastore, [Local Storage](../storage.md#setting-up-the-local-storage-provider) Persistent Volume data, node configuration, and all of the scripts and CLI tools.
It does not remove any data from external datastores, or created by pods using external Kubernetes Persistent Volumes.

If you are planning on rejoining a node to an existing cluster after uninstalling and reinstalling, be sure to delete the node from the cluster to ensure that the node password secret is removed. See the [Node Registration](../architecture.md#how-agent-node-registration-works) documentation for more information.

### Uninstalling Servers
Expand Down

0 comments on commit fcccedf

Please sign in to comment.