Can I clean up a deploy along with its persistent ...
# 🤖|ask-kapa
@microscopic-river-74022 Can I clean up a deploy along with its persistent volume claims (pvc) ?
Please stand by @fresh-yak-35965 as I search the knowledge base. I normally take about 20 seconds or so. :wave:
---------------------- Yes, you can clean up a deploy using the Garden CLI. However, the documentation does not specify whether this also cleans up associated Persistent Volume Claims (PVCs). Here is the command to clean up a deploy:
Copy code
garden cleanup deploy my-deploy
For more details, please refer to the Garden CLI documentation (). As for cleaning up PVCs, it's important to note that PVCs are Kubernetes resources that exist independently of the pods that use them. Therefore, deleting a pod does not automatically delete its associated PVCs. You would need to manually delete the PVCs if you no longer need them. For more information on PVCs and how they are used in Garden, you can refer to the Garden documentation on PersistentVolumeClaim (). ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
message has been deleted