Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Planned
Created by Guest
Created on Jan 7, 2021

Allow the Kubernetes Operator to delete a project

Currently it is not possible to delete a project via kubectl command. As the Kubernetes Operator allows one to create a project (configmap) and deploy a replica set, we would expect it to also allow the deletion of a project so that we can fully automate the solution.
  • ADMIN RESPONSE
    Aug 1, 2025
    While deletion of a deployment is possible via Kubernetes, deleting a MongoDB resource doesn’t remove it from the Ops Manager UI. You must remove the resource from Ops Manager manually. To learn more, see Remove a Process from Monitoring ( https://www.mongodb.com/docs/ops-manager/current/tutorial/remove-process-from-monitoring/ ). Deleting a MongoDB resource for which you enabled backup doesn’t delete the resource’s snapshots. You must delete snapshots in Ops Manager ( https://www.mongodb.com/docs/ops-manager/current/tutorial/delete-backup-snapshots/ ). Find out more ( https://www.mongodb.com/docs/kubernetes-operator/master/reference/troubleshooting/#remove-k8s-components ). Work is planned to remove Ops Manager as a prerequisite (though it's use will still be optional and supported) and as part of that we hope to address this deletion aspect.
  • Attach files