Uninstall Swift

Please follow the steps below to uninstall Swift:

  • Delete the various objects created for Swift operator.

    $ curl -fsSL https://raw.githubusercontent.com/appscode/swift/v0.12.1/hack/deploy/swift.sh \
    | bash -s -- --uninstall [--namespace=NAMESPACE]
    
    + kubectl delete deployment -l app=swift -n kube-system
    deployment "swift" deleted
    + kubectl delete service -l app=swift -n kube-system
    service "swift" deleted
    + kubectl delete serviceaccount -l app=swift -n kube-system
    No resources found
    + kubectl delete clusterrolebindings -l app=swift -n kube-system
    No resources found
    + kubectl delete clusterrole -l app=swift -n kube-system
    No resources found
    
  • Now, wait several seconds for Swift to stop running. To confirm that Swift operator pod(s) have stopped running, run:

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