How to Uninstall Wallaroo from a Cluster


Table of Contents

Uninstall Wallaroo from a Cluster

The following procedure will removes Wallaroo from a Kubernetes cluster. This procedure functions as the uninstall guide for standard Kubernetes clusters and air-gapped Kubernetes clusters.

  1. 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
    
  2. 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
    
  3. 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
    
  4. 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.