---
title: Uninstall Elastic Cloud on Kubernetes
description: This page provides instructions for uninstalling Elastic Cloud on Kubernetes, including removing all Elastic resources and the Elastic Cloud on Kubernetes...
url: https://www.elastic.co/elastic/docs-builder/docs/2437/deploy-manage/uninstall/uninstall-elastic-cloud-on-kubernetes
products:
  - Elastic Cloud on Kubernetes
---

# Uninstall Elastic Cloud on Kubernetes
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:
1. Remove all Elastic resources in all namespaces:
   ```shell
   kubectl get namespaces --no-headers -o custom-columns=:metadata.name \
     | xargs -n1 kubectl delete elastic --all -n
   ```
   This deletes all underlying Elastic Stack resources, including their Pods, Secrets, Services, and so on.
2. Uninstall the operator:
   ```shell
   kubectl delete -f https://download.elastic.co/downloads/eck/3.2.0/operator.yaml
   kubectl delete -f https://download.elastic.co/downloads/eck/3.2.0/crds.yaml
   ```

<warning>
  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.
</warning>