You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
navigation_title: "Delete an orchestrated deployment"
10
10
applies_to:
11
11
deployment:
12
12
ess:
13
13
ece:
14
+
eck:
14
15
serverless:
15
16
---
16
17
17
-
# Delete an Enterprise or Hosted deployment or a Serverless project
18
+
# Delete an orchestrated deployment
18
19
19
20
This page provides instructions for deleting several types of cloud deployments, and outlines key considerations before proceeding.
20
21
@@ -90,3 +91,33 @@ To restore a terminated deployment,
90
91
Narrow the list by name, ID, or choose from several other filters. To further define the list, use a combination of filters.
91
92
3. In the **Deployment Management** section, select **Restore** and then acknowledge the confirmation message.
92
93
94
+
## {{eck}} [elastic-cloud-kubernetes]
95
+
96
+
To delete a deployment managed by {{eck}}, remove the corresponding {{es}}, {{kib}}, and any other related custom resources from your Kubernetes cluster. This action deletes all associated pods and their persistent data.
97
+
98
+
To delete an {{es}} cluster created with {{eck}}:
99
+
100
+
1. Run the following command to delete the {{es}} custom resource:
This deletes the custom resource and all associated resources, such as {{es}} nodes, services, and persistent data volumes. By default, this also deletes the data stored in those volumes, but you can [configure](/deploy-manage/deploy/cloud-on-k8s/volume-claim-templates.md#k8s_controlling_volume_claim_deletion) the `volumeClaimDeletePolicy` field in the {{es}} resource manifest to retain the volumes if you plan to recreate the cluster later.
112
+
:::
113
+
114
+
115
+
2. If you also deployed {{kib}} or other stack components, delete those resources as well:
116
+
117
+
```shell
118
+
kubectl delete kibana <kibana-resource-name>
119
+
```
120
+
121
+
:::{{tip}}
122
+
To fully uninstall {{eck}} from your cluster including all managed resources and the ECK operator, refer to the [](/deploy-manage/uninstall/uninstall-elastic-cloud-on-kubernetes.md) guide.
0 commit comments