New to Searchlight? Please start here.

Uninstall Searchlight

To uninstall Searchlight operator, run the following command:

$ curl -fsSL https://raw.githubusercontent.com/appscode/searchlight/7.0.0/hack/deploy/searchlight.sh \
    | bash -s -- --uninstall [--namespace=NAMESPACE]

+ kubectl delete deployment -l app=searchlight -n kube-system
deployment "searchlight-operator" deleted
+ kubectl delete service -l app=searchlight -n kube-system
service "searchlight-operator" deleted
+ kubectl delete secret -l app=searchlight -n kube-system
secret "searchlight-operator" deleted
+ kubectl delete serviceaccount -l app=searchlight -n kube-system
No resources found
+ kubectl delete clusterrolebindings -l app=searchlight -n kube-system
No resources found
+ kubectl delete clusterrole -l app=searchlight -n kube-system
No resources found

The above command will leave the Searchlight crd objects as-is. If you wish to nuke all Searchlight crd objects, also pass the --purge flag. This will keep a copy of Searchlight crd objects in your current directory.

Take your team where it needs to go.

Create your cluster in minutes. Our team is here to help and would be happy to chat with you.