-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
66772d6
commit 32a3edc
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# How to uninstall the {{ product }} snap | ||
|
||
This guide provides step-by-step instructions for removing the {{ product }} | ||
snap from your system. | ||
|
||
--- | ||
|
||
## Steps to Uninstall | ||
|
||
### Remove the snap | ||
|
||
To uninstall the `k8s` snap, run the following command: | ||
|
||
``` | ||
sudo snap remove k8s | ||
``` | ||
|
||
This command uninstalls the snap but may leave some configuration and data | ||
files on the system. | ||
For a complete removal, including all cluster data, use the `--purge` option: | ||
|
||
``` | ||
sudo snap remove k8s --purge | ||
``` | ||
|
||
### Verify removal | ||
|
||
To confirm the snap has been successfully removed, check the list of installed | ||
snaps: | ||
|
||
``` | ||
snap list k8s | ||
``` | ||
|
||
which should produce an output similar to: | ||
|
||
``` | ||
error: no matching snaps installed | ||
``` |