From cf2a4bda026134d13d68870e11bdd82c7ea74841 Mon Sep 17 00:00:00 2001 From: Kathryn Alexander Date: Tue, 10 Sep 2019 15:54:49 -0400 Subject: [PATCH] osdocs-634 and osdocs-639 deleting gcp and azure clusters --- _topic_map.yml | 14 ++++++------- .../uninstalling-cluster-aws.adoc | 2 +- .../uninstalling-cluster-azure.adoc | 2 +- .../uninstalling-cluster-gcp.adoc | 2 +- ...doc => installation-uninstall-clouds.adoc} | 21 +++++++------------ 5 files changed, 18 insertions(+), 23 deletions(-) rename modules/{installation-uninstall-aws.adoc => installation-uninstall-clouds.adoc} (64%) diff --git a/_topic_map.yml b/_topic_map.yml index 52acfc3c86..dda18afb90 100644 --- a/_topic_map.yml +++ b/_topic_map.yml @@ -102,19 +102,19 @@ Topics: File: installing-azure-default # - Name: Installing a cluster on Azure with customizations # File: installing-azure-customizations -# - Name: Uninstalling a cluster on Azure -# File: uninstalling-cluster-azure -#- Name: Installing on GCP -# Dir: installing_gcp -# Topics: + - Name: Uninstalling a cluster on Azure + File: uninstalling-cluster-azure +- Name: Installing on GCP + Dir: installing_gcp + Topics: # - Name: Configuring an GCP account # File: installing-gcp-account # - Name: Installing a cluster quickly on GCP # File: installing-gcp-default # - Name: Installing a cluster on GCP with customizations # File: installing-gcp-customizations -# - Name: Uninstalling a cluster on GCP -# File: uninstalling-cluster-gcp + - Name: Uninstalling a cluster on GCP + File: uninstalling-cluster-gcp #- Name: Installing in a disconnected environment # Dir: installing_disconnected # Topics: diff --git a/installing/installing_aws/uninstalling-cluster-aws.adoc b/installing/installing_aws/uninstalling-cluster-aws.adoc index 4870ca45dc..5e777bc8fb 100644 --- a/installing/installing_aws/uninstalling-cluster-aws.adoc +++ b/installing/installing_aws/uninstalling-cluster-aws.adoc @@ -7,4 +7,4 @@ toc::[] You can remove a cluster that you deployed to Amazon Web Services (AWS). -include::modules/installation-uninstall-aws.adoc[leveloffset=+1] +include::modules/installation-uninstall-clouds.adoc[leveloffset=+1] diff --git a/installing/installing_azure/uninstalling-cluster-azure.adoc b/installing/installing_azure/uninstalling-cluster-azure.adoc index e139fddf7a..8c3b335836 100644 --- a/installing/installing_azure/uninstalling-cluster-azure.adoc +++ b/installing/installing_azure/uninstalling-cluster-azure.adoc @@ -7,4 +7,4 @@ toc::[] You can remove a cluster that you deployed to Microsoft Azure. -//include::modules/installation-uninstall-aws.adoc[leveloffset=+1] +include::modules/installation-uninstall-clouds.adoc[leveloffset=+1] diff --git a/installing/installing_gcp/uninstalling-cluster-gcp.adoc b/installing/installing_gcp/uninstalling-cluster-gcp.adoc index 9a32114cc6..a678bc58b6 100644 --- a/installing/installing_gcp/uninstalling-cluster-gcp.adoc +++ b/installing/installing_gcp/uninstalling-cluster-gcp.adoc @@ -7,4 +7,4 @@ toc::[] You can remove a cluster that you deployed to Google Cloud Platform (GCP). -// include::modules/installation-uninstall-aws.adoc[leveloffset=+1] +include::modules/installation-uninstall-clouds.adoc[leveloffset=+1] diff --git a/modules/installation-uninstall-aws.adoc b/modules/installation-uninstall-clouds.adoc similarity index 64% rename from modules/installation-uninstall-aws.adoc rename to modules/installation-uninstall-clouds.adoc index edf4e86225..b04d35a50a 100644 --- a/modules/installation-uninstall-aws.adoc +++ b/modules/installation-uninstall-clouds.adoc @@ -1,28 +1,23 @@ // Module included in the following assemblies: // // * installing/installing_aws/uninstalling-cluster-aws.adoc +// * installing/installing_azure/uninstalling-cluster-azure.adoc +// * installing/installing_gcp/uninstalling-cluster-gcp.adoc -[id="installation-uninstall-aws_{context}"] -= Removing a cluster from AWS +[id="installation-uninstall-clouds_{context}"] += Removing a cluster that uses installer-provisioned infrastructure -You can remove a cluster that you installed on Amazon Web Services (AWS). +You can remove a cluster that uses installer-provisioned infrastructure from +your cloud. .Prerequisites * Have a copy of the installation program that you used to deploy the cluster. +* Have the files that the installation program generated when you created your +cluster. .Procedure -. Optional: From the computer that you used to install the cluster, run the -following command and record the UUID that it outputs: -+ ----- -$ oc get clusterversion -o jsonpath='{.spec.clusterID}{"\n"}' version ----- -+ -If not all of the cluster resources are removed from AWS, you can use this UUID -to locate them and remove them. - . From the computer that you used to install the cluster, run the following command: + ----