# Uninstalling Operator Deployment

**URL:** <https://forum.ansible.com/t/uninstalling-operator-deployment/34944>\
**Category:** AWX Project\
**Tags:** kubernetes, awx\
**Created:** [April 8, 2021, 6:22pm UTC](https://forum.ansible.com/t/uninstalling-operator-deployment/34944 "2021-04-08T18:22:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brandon\_Ellis](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@Brandon\_Ellis](https://forum.ansible.com/u/Brandon_Ellis)\
**Post date:** [April 8, 2021, 6:22pm UTC](https://forum.ansible.com/t/uninstalling-operator-deployment/34944/1 "2021-04-08T18:22:30Z")

</div>

Hi, I’m still a bit new to Kubernetes and the concept of operators. If I want to delete a cluster I made using the AWX Operator, do I just delete the operator deployment (awx-operator), then the actual deployment (awx)? Or is there another step?

---

<div class="post-metadata">

**Author:** ![Brandon\_Ellis](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@Brandon\_Ellis](https://forum.ansible.com/u/Brandon_Ellis)\
**Post date:** [April 8, 2021, 6:27pm UTC](https://forum.ansible.com/t/uninstalling-operator-deployment/34944/2 "2021-04-08T18:27:01Z")

</div>

Looks like deleting the two deployments still left over a lot of services and the postgres pod…

What’s the best way to remove awx from the cluster?

---

<div class="post-metadata">

**Author:** ![howardjones](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/howardjones/32/4169_2.png) [@howardjones](https://forum.ansible.com/u/howardjones)\
**Post date:** [April 8, 2021, 8:19pm UTC](https://forum.ansible.com/t/uninstalling-operator-deployment/34944/3 "2021-04-08T20:19:23Z")

</div>

If you delete the awxs object you created, the operator will delete everything specific to that deployment apart from the postgres PVC:

```
  kubectl delete awxs my\-awx\-name

```

then

```
 kubectl get pvc

```

to see what PVCs you have. The default name is something like postgres-awx-postgres-0

This only works if the operator is still there!
