From 9c1656b0d8cdbf9842a9c83ba3e00e1dec300c6b Mon Sep 17 00:00:00 2001 From: Sarah Gibson Date: Tue, 27 Feb 2024 13:37:43 +0000 Subject: [PATCH] Update the hub decommission issue template --- .github/ISSUE_TEMPLATE/3_decommission-hub.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/3_decommission-hub.md b/.github/ISSUE_TEMPLATE/3_decommission-hub.md index afd0e2f2ac..6f67073dde 100644 --- a/.github/ISSUE_TEMPLATE/3_decommission-hub.md +++ b/.github/ISSUE_TEMPLATE/3_decommission-hub.md @@ -40,18 +40,19 @@ Usually, it is because it was a hub that we created for a workshop/conference an - [ ] Remove the hub deployment - `helm --namespace HUB_NAME delete HUB_NAME` - `kubectl delete namespace HUB_NAME` + - TIP: Run `deployer use-cluster-credentials ` before running the above commands #### Phase III - Cluster Removal _This phase is only necessary for single hub clusters._ - [ ] Remove the cluster's datasource from the central Grafana with: - - `deployer grafana central-ds remove CLUSTER_NAME` + - `deployer grafana central-ds remove ` - [ ] Run `terraform plan -destroy` and `terraform apply` from the [appropriate workspace](https://infrastructure.2i2c.org/en/latest/topic/terraform.html#workspaces), to destroy the cluster - [ ] Delete the terraform workspace: `terraform workspace delete ` +- [ ] Delete the terraform values file under the `projects` folder associated with the relevant cloud provider (e.g. `terraform/gcp/projects/` for GCP) - [ ] Remove the associated `config/clusters/` directory and all its contents - Remove the cluster from CI: - [ ] [`deploy-hubs.yaml`](https://github.com/2i2c-org/infrastructure/blob/HEAD/.github/workflows/deploy-hubs.yaml) - - [ ] [`validate-clusters.yaml`](https://github.com/2i2c-org/infrastructure/blob/HEAD/.github/workflows/validate-clusters.yaml) -- [ ] Remove the cluster from the list of grafana datasources at https://grafana.pilot.2i2c.cloud/datasources + - [ ] [`deploy-grafana-dashboards.yaml`](https://github.com/2i2c-org/infrastructure/blob/HEAD/.github/workflows/deploy-grafana-dashboards.yaml) - [ ] Remove A record from Namecheap account