Uninstall ECK

edit

To uninstall the operator:

  1. Remove all Elastic resources in all namespaces:

    kubectl get namespaces --no-headers -o custom-columns=:metadata.name \
      | xargs -n1 kubectl delete elastic --all -n

    This deletes all underlying Elastic Stack resources, included their Pods, Secrets, Services, and so on.

  2. Uninstall the operator:

    kubectl delete -f https://download.elastic.co/downloads/eck/2.5.0/operator.yaml
    kubectl delete -f https://download.elastic.co/downloads/eck/2.5.0/crds.yaml