-
Notifications
You must be signed in to change notification settings - Fork 67
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
Update the hub decommission issue template #3742
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 <cluster_name>` 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 <cluster_name>` | ||
- [ ] 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 <NAME>` | ||
- [ ] 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/<cluster_name>` 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) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We dynamically generate which clusters to validate in a similar way to the deploy-hubs workflow. However, we do hardcode the cluster names in the deploy-grafana-dashboards workflow. |
||
- [ ] Remove A record from Namecheap account |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found this step unnecessary as I think
deployer grafana central-ds remove
already achieves this