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

[Decommission Hub] 2023 DRAKKAR Ocean Modelling Workshop hub #2570

Closed
4 of 17 tasks
colliand opened this issue May 22, 2023 · 3 comments
Closed
4 of 17 tasks

[Decommission Hub] 2023 DRAKKAR Ocean Modelling Workshop hub #2570

colliand opened this issue May 22, 2023 · 3 comments
Assignees

Comments

@colliand
Copy link
Contributor

colliand commented May 22, 2023

Summary

The hub located at https://drakkar-demo.meom-ige.2i2c.cloud was deployed for an event earlier this year. The event is over and the hub should be decommissioned.

Info

Task List

Phase I

  • Confirm with Community Representative that the hub is no longer in use and it's safe to decommission
  • Confirm if there is any data to migrate from the hub before decommissioning
    • If yes, confirm where the data should be migrated to
      • Confirm a 2i2c Engineer has access to the destination in order to complete the data migration
    • If no, confirm it is ok to delete all the data stored in the user home directories

Phase II - Hub Removal

(These steps are described in more detail in the docs at https://infrastructure.2i2c.org/en/latest/hub-deployment-guide/hubs/other-hub-ops/delete-hub.html)

  • Manage existing data (migrate data from the hub or delete it)
  • Remove the appropriate config/clusters/<cluster_name>/<hub_name>.values.yaml files. A complete list of relevant files can be found under the appropriate entry in the associated cluster.yaml file.
  • Remove the associated hub entry from the config/clusters/<cluster_name>/cluster.yaml file.
  • Remove the hub deployment
    • helm --namespace HUB_NAME delete HUB_NAME
    • kubectl delete namespace HUB_NAME
  • Delete the hub's authentication application on auth0, GitHub or CILogon

Phase III - Cluster Removal

This phase is only necessary for single hub clusters.

@colliand
Copy link
Contributor Author

Thanks @roxyboy for confirming in #2049 that this hub is ready to be decommissioned. Is there any data on that hub that needs to be downloaded and saved elsewhere? The decommission action will permanently delete any data presently on the hub.

@auraoupa
Copy link

auraoupa commented May 23, 2023 via email

yuvipanda added a commit to yuvipanda/pilot-hubs that referenced this issue May 23, 2023
Once merged:

- [ ] Run terrafrom to cleanup bucket
- [ ] Delete home directory contents

Ref 2i2c-org#2570
@yuvipanda yuvipanda mentioned this issue May 23, 2023
4 tasks
@yuvipanda
Copy link
Member

This has been completed now via #2571

@github-project-automation github-project-automation bot moved this from Needs Shaping / Refinement to Complete in DEPRECATED Engineering and Product Backlog May 23, 2023
@damianavila damianavila assigned yuvipanda and unassigned damianavila Jun 7, 2023
@damianavila damianavila moved this to Todo 👍 in Sprint Board Jun 7, 2023
@damianavila damianavila moved this from Todo 👍 to Done 🎉 in Sprint Board Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

No branches or pull requests

4 participants