GCP Deployment Cleanup
The documentation outlines the cleanup process for a GCP deployment, including instructions for removing infrastructure using Terraform destroy commands and manual deletion steps. The process involves executing specific commands from the logscale-gcp-components directory, removing DNS records, and deleting the GCS bucket named 'logscale-terraform-state' through the console.
It's possible to run an individual kubectl delete on each resource or you can run terraform destroy
You'll need to run the following commands:
shell$
cd logscale-gcp-components/gcp
$terraform destroy
Do you really want to destroy all resources? Terraform will destroy all your managed infrastructure, as shown above. There is no undo. Only 'yes' will be accepted to confirm. Enter a value: yesDelete the DNS records which were created for
$INGRESS_HOSTNAME
Delete the GCS bucket -
logscale-terraform-state
using the console