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

Delete all cortex-created AWS resources when deleting a cluster #1612

Closed
4 tasks
deliahu opened this issue Nov 25, 2020 · 0 comments · Fixed by #2161
Closed
4 tasks

Delete all cortex-created AWS resources when deleting a cluster #1612

deliahu opened this issue Nov 25, 2020 · 0 comments · Fixed by #2161
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@deliahu
Copy link
Member

deliahu commented Nov 25, 2020

Notes

Consider adding a flag which would allow the user to preserve cluster state. If so, add docs describing how to delete the resources later. It could be best if cortex cluster down deleted them even if the cluster was already deleted previously (without deleting the resources).

Depending on the above, update cluster uninstall docs accordingly.

  • log groups (can potentially only be a single one, in which case the delete command will be simpler)
  • rename keep-volumes to keep-aws-resources?
  • make sure that deletes of resources are independent and best effort
  • report errors to sentry at the end of the program's execution
  • make sure that deletes of resources are independent and best effort
    • fully functional cluster
      • delete everything sequentially and log everything
    • partially deleted cluster
      • delete everything that hasn't been deleted for the cluster
    • completely deleted cluster
      • same as for the above (already deleted x,y,z).
@deliahu deliahu added the enhancement New feature or request label Nov 25, 2020
@RobertLucian RobertLucian added this to the v0.33 milestone Apr 2, 2021
@deliahu deliahu removed this from the v0.33 milestone Apr 13, 2021
@RobertLucian RobertLucian self-assigned this Apr 28, 2021
@deliahu deliahu added this to the v0.35 milestone May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants