Skip to content

Commit d922100

Browse files
committed
Fix formatting of uninstall.md
1 parent 1341a5f commit d922100

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

docs/setup/uninstall.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@ product_name: stash
1111
menu_name: product_stash_0.6.1
1212
section_menu_id: setup
1313
---
14-
1514
# Uninstall Stash
15+
1616
Please follow the steps below to uninstall Stash:
1717

18-
1. Delete the deployment and service used for Stash operator.
18+
- Delete the deployment and service used for Stash operator.
19+
1920
```console
20-
$ ./hack/deploy/uninstall.sh
21+
$ curl -fsSL https://raw.githubusercontent.com/appscode/stash/0.6.1/hack/deploy/uninstall.sh | bash
22+
2123
+ kubectl delete deployment -l app=stash -n kube-system
2224
deployment "stash-operator" deleted
2325
+ kubectl delete service -l app=stash -n kube-system
@@ -34,22 +36,26 @@ No resources found
3436
initializerconfiguration "stash-initializer" deleted
3537
```
3638

37-
2. Now, wait several seconds for Stash to stop running. To confirm that Stash operator pod(s) have stopped running, run:
39+
- Now, wait several seconds for Stash to stop running. To confirm that Stash operator pod(s) have stopped running, run:
40+
3841
```console
3942
$ kubectl get pods --all-namespaces -l app=stash
4043
```
4144

42-
3. To keep a copy of your existing `Restic` objects, run:
45+
- To keep a copy of your existing `Restic` objects, run:
46+
4347
```console
4448
kubectl get restic.stash.appscode.com --all-namespaces -o yaml > data.yaml
4549
```
4650

47-
4. To delete existing `Restic` objects from all namespaces, run the following command in each namespace one by one.
51+
- To delete existing `Restic` objects from all namespaces, run the following command in each namespace one by one.
52+
4853
```
4954
kubectl delete restic.stash.appscode.com --all --cascade=false
5055
```
5156

52-
5. Delete the old CRD-registration.
57+
- Delete the old CRD-registration.
58+
5359
```console
5460
kubectl delete crd -l app=stash
5561
```

0 commit comments

Comments
 (0)