-
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.
docs: Add how-to uninstall the snap section (#941)
- Loading branch information
1 parent
91f29ec
commit 6087231
Showing
2 changed files
with
37 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,36 @@ | ||
# How to uninstall the {{product}} snap | ||
|
||
This guide provides step-by-step instructions for removing the {{ product }} | ||
snap from your system. | ||
|
||
|
||
## Removing the k8s snap | ||
|
||
To uninstall the `k8s` snap, run the following command: | ||
|
||
``` | ||
sudo snap remove k8s | ||
``` | ||
|
||
This command uninstalls the snap but may leave some configurations and data | ||
files on the system. | ||
For a complete removal, including all cluster data, use the `--purge` option: | ||
|
||
``` | ||
sudo snap remove k8s --purge | ||
``` | ||
|
||
## Confirm snap removal | ||
|
||
To confirm the snap is successfully removed, check the list of installed | ||
snaps: | ||
|
||
``` | ||
snap list k8s | ||
``` | ||
|
||
This command should produce an output similar to: | ||
|
||
``` | ||
error: no matching snaps installed | ||
``` |