[x] Manage existing home directory data (migrate data from the hub or delete it)
[ ] Manage existing cloud bucket data (migrate data, or delete it)
[x] Delete the hub's authentication application on GitHub or CILogon (note CILogon removal requires the hub config in place)
[x] 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.
[x] Remove the associated hub entry from the config/clusters/<cluster_name>/cluster.yaml file.
[x] Remove the hub deployment
TIP: Run deployer use-cluster-credentials <cluster_name> before running the commands below
helm --namespace HUB_NAME delete HUB_NAME
kubectl delete namespace HUB_NAME
Phase III - Cluster Removal
This phase is only necessary for single hub clusters.
[x] Remove the cluster's datasource from the central Grafana with:
deployer grafana central-ds remove <cluster_name>
[x] Run terraform plan -destroy and terraform apply from the appropriate workspace, to destroy the cluster
[x] Delete the terraform workspace: terraform workspace delete <NAME>
[x] Delete the terraform values file under the projects folder associated with the relevant cloud provider (e.g. terraform/gcp/projects/ for GCP)
[x] Remove the associated config/clusters/<cluster_name> directory and all its contents
Summary
Info
Task List
Phase I
Phase II - Hub Removal
(These steps are described in more detail in the docs at https://infrastructure.2i2c.org/hub-deployment-guide/hubs/delete-hub/)
config/clusters/<cluster_name>/<hub_name>.values.yaml
files. A complete list of relevant files can be found under the appropriate entry in the associatedcluster.yaml
file.config/clusters/<cluster_name>/cluster.yaml
file.deployer use-cluster-credentials <cluster_name>
before running the commands belowhelm --namespace HUB_NAME delete HUB_NAME
kubectl delete namespace HUB_NAME
Phase III - Cluster Removal
This phase is only necessary for single hub clusters.
deployer grafana central-ds remove <cluster_name>
terraform plan -destroy
andterraform apply
from the appropriate workspace, to destroy the clusterterraform workspace delete <NAME>
projects
folder associated with the relevant cloud provider (e.g.terraform/gcp/projects/
for GCP)config/clusters/<cluster_name>
directory and all its contentsdeploy-hubs.yaml
deploy-grafana-dashboards.yaml
Definition of Done
A non-specific, pre-defined list of tasks that should be considered before marking the task complete.