Uninstall Elastic Cloud on Kubernetes
Elastic Cloud on Kubernetes extends Kubernetes orchestration capabilities to allow you to deploy and manage components of the Elastic Stack. Availability This functionality is generally available and ready for production usage. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.
ECK
Generally available
This page provides instructions for uninstalling Elastic Cloud on Kubernetes, including removing all Elastic resources and the Elastic Cloud on Kubernetes operator from your cluster.
To uninstall the operator:
Remove all Elastic resources in all namespaces:
Shell kubectl get namespaces --no-headers -o custom-columns=:metadata.name \ | xargs -n1 kubectl delete elastic --all -nThis deletes all underlying Elastic Stack resources, including their Pods, Secrets, Services, and so on.
Uninstall the operator:
Shell kubectl delete -f https://download.elastic.co/downloads/eck/3.5.0/operator.yaml kubectl delete -f https://download.elastic.co/downloads/eck/3.5.0/crds.yaml
Deleting CRDs will trigger deletion of all custom resources (Elasticsearch, Kibana, APM Server, Beats, Elastic Agent, Elastic Maps Server, and Logstash) in all namespaces of the cluster, regardless of whether they are managed by a single operator or multiple operators.