New to Searchlight? Please start here.

Uninstall Searchlight

Please follow the steps below to uninstall Searchlight:

  • Delete the various objects created for Searchlight operator.

    $ curl -fsSL https://raw.githubusercontent.com/appscode/searchlight/5.0.0/hack/deploy/uninstall.sh | bash
    
    + 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
    
  • Now, wait several seconds for Searchlight to stop running. To confirm that Searchlight operator pod(s) have stopped running, run:

    $ kubectl get pods --all-namespaces -l app=searchlight