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.If Wallaroo was installed via
helm
, start with the following command. Otherwise, proceed to the next step:helm uninstall wallaroo -n {YOUR NAMESPACE HERE}
For example, if Wallaroo was installed in the namespace
wallaroo
, the command would be as follows:helm uninstall wallaroo -n wallaroo
Use the following bash script or run the commands individually. Warning: If the selector is incorrect or missing from the kubectl command, the cluster could be damaged beyond repair.
#!/bin/bash kubectl delete ns wallaroo && kubectl delete clusterroles,clusterrolebindings,storageclass --selector app.kubernetes.io/part-of=wallaroo
Clear any Wallaroo pipelines that were previously deployed and not undeployed via the following command. This will delete any namespaces created during the pipeline deployment process.
kubectl delete ns -l wallaroo-managed=true
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.