Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOC] - How to destroy resources #26

Closed
1 of 3 tasks
trallard opened this issue Jun 7, 2022 · 2 comments · Fixed by #142
Closed
1 of 3 tasks

[DOC] - How to destroy resources #26

trallard opened this issue Jun 7, 2022 · 2 comments · Fixed by #142

Comments

@trallard
Copy link
Member

trallard commented Jun 7, 2022

Must include

  • how to use qhub destroy
  • how to destroy resources manually if terraform fails (GCP, Azure, AWS, DO)
  • Add troubleshooting section on what resources need to be deleted if destroy fails.

Very simplified example:

Just to say this would be very useful, I've needed this. My currently checklist for manual destruction is:

GKE: Delete cluster
GKE: Delete services
GCE: delete all instance groups (shouldn't be necessary if deleted GKE cluster)
GCE: delete all disks (shouldn't be necessary if deleted GKE cluster)
GCS: delete terraform state bucket
IAM: Delete the service account create by qhub
Also I then delete all folders locally created by qhub deploy.

Related QHub issues nebari-dev/nebari#1298 nebari-dev/nebari#606

A good example in other docs - how to write a how to

@trallard trallard added area: documentation 📖 area: developer experience 👩🏻‍💻 impact: high 🟥 This issue affects most of the nebari users needs: PR 📬 This item has been scoped and needs to be worked on labels Jun 7, 2022
@viniciusdc viniciusdc self-assigned this Jun 8, 2022
@viniciusdc viniciusdc added status: in progress 🏗 This task is currently being worked on area: terraform 💾 and removed needs: PR 📬 This item has been scoped and needs to be worked on labels Jun 8, 2022
@trallard trallard added the content: doc/how-to Diatiaxis - how to label Jun 9, 2022
@viniciusdc
Copy link
Contributor

This is still under work, plan to have a PR for this by tomorrow.

@kcpevey kcpevey assigned HarshCasper and unassigned viniciusdc Aug 16, 2022
@kcpevey kcpevey linked a pull request Sep 27, 2022 that will close this issue
@pavithraes pavithraes added this to the 🪴 Nebari rename milestone Oct 4, 2022
@pavithraes pavithraes assigned iameskild and unassigned HarshCasper Oct 10, 2022
@trallard
Copy link
Member Author

For rename:

  • nebari destroy
  • notes on manual destroy for lingering resources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done 💪🏾
Status: Done 💪🏾
Development

Successfully merging a pull request may close this issue.

6 participants