You are looking at preliminary documentation for a future release. Not what you want? See the current release documentation.
To uninstall the operator:
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.
Uninstall the operator:
kubectl delete -f https://download.elastic.co/downloads/eck/2.4.0/operator.yaml kubectl delete -f https://download.elastic.co/downloads/eck/2.4.0/crds.yaml