You are looking at the documentation of a prior release. To read the documentation of the latest release, please
visit here.
Please follow the steps below to uninstall Stash:
$ curl -fsSL https://raw.githubusercontent.com/appscode/stash/0.7.0-rc.0/hack/deploy/stash.sh \
| bash -s -- --uninstall [--namespace=NAMESPACE]
+ kubectl delete deployment -l app=stash -n kube-system
deployment "stash-operator" deleted
+ kubectl delete service -l app=stash -n kube-system
service "stash-operator" deleted
+ kubectl delete secret -l app=stash -n kube-system
No resources found
+ kubectl delete serviceaccount -l app=stash -n kube-system
No resources found
+ kubectl delete clusterrolebindings -l app=stash -n kube-system
No resources found
+ kubectl delete clusterrole -l app=stash -n kube-system
No resources found
+ kubectl delete initializerconfiguration -l app=stash
initializerconfiguration "stash-initializer" deleted
$ kubectl get pods --all-namespaces -l app=stash
Restic
objects, run:kubectl get restic.stash.appscode.com --all-namespaces -o yaml > data.yaml
Restic
objects from all namespaces, run the following command in each namespace one by one.kubectl delete restic.stash.appscode.com --all --cascade=false
kubectl delete crd -l app=stash