How to Uninstall Wallaroo
How to Uninstall Wallaroo
If the install procedure for Wallaroo goes awry, one option is to uninstall the incomplete Wallaroo installation and start again. The following procedure will remove Wallaroo from a Kubernetes cluster.
WARNING
This procedure will delete all Wallaroo data from the Kubernetes environment. Make sure that all data is backed up before proceeding with the uninstall process.-
Remove all Kubernetes namespaces with the
kubectl delete namespaces {list of namespaces}
command except the following :default
,kube*
(any namespaces withkube
before it).For example, in the following environment
wallaroo
,model1
andmodel2
would be deleted with the following:-> kubectl get namespaces NAME STATUS AGE default Active 7d4h kube-node-lease Active 7d4h kube-public Active 7d4h model1 Active 4h23m model2 Active 4h23m wallaroo Active 3d6h kubectl delete namespaces wallaroo model1 model2
-
Use the following bash script or run the commands individually:
#!/bin/bash kubectl delete namespace minio-operator kubectl delete clusterrole/minio-operator-role kubectl delete clusterrole/console-sa-role kubectl delete clusterrolebinding/minio-operator-binding kubectl delete clusterrolebinding/console-sa-binding kubectl delete crd/modelconfigs.wallaroo.ai kubectl delete crd/tenants.minio.min.io
-
Once complete, the
kubectl get namespaces
will return only the default namespaces:❯ kubectl get namespaces NAME STATUS AGE default Active 3h47m kube-node-lease Active 3h47m kube-public Active 3h47m kube-system Active 3h47m
Wallaroo can now be reinstalled into this environment.