You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
= Removing a cluster that uses installer-provisioned infrastructure
30
33
31
-
You can remove a cluster that uses installer-provisioned infrastructure from your cloud.
34
+
You can remove a cluster that uses installer-provisioned infrastructure that you provisioned from your cloud platform.
32
35
33
36
ifdef::aws[]
34
37
[NOTE]
@@ -39,7 +42,7 @@ endif::aws[]
39
42
40
43
[NOTE]
41
44
====
42
-
After uninstallation, check your cloud provider for any resources not removed properly, especially with User Provisioned Infrastructure (UPI) clusters. There might be resources that the installer did not create or that the installer is unable to access.
45
+
After uninstallation, check your cloud provider for any resources that were not removed properly, especially with user-provisioned infrastructure clusters. Some resources might exist because either the installation program did not create the resource or could not access the resource.
43
46
ifdef::gcp[]
44
47
For example, some Google Cloud resources require link:https://cloud.google.com/iam/docs/overview#concepts_related_to_access_management[IAM permissions] in shared VPC host projects, or there might be unused link:https://cloud.google.com/sdk/gcloud/reference/compute/health-checks/delete[health checks that must be deleted].
45
48
endif::gcp[]
@@ -50,6 +53,9 @@ endif::gcp[]
50
53
* You have a copy of the installation program that you used to deploy the cluster.
51
54
* You have the files that the installation program generated when you created your
52
55
cluster.
56
+
ifdef::osp[]
57
+
* You installed the `core-installer` tool by entering the `sudo dnf install coreos-installer` command in your CLI.
58
+
endif::osp[]
53
59
ifdef::ibm-cloud,ibm-power-vs[]
54
60
* You have configured the `ccoctl` binary.
55
61
* You have installed the {ibm-cloud-name} CLI and installed or updated the VPC infrastructure service plugin. For more information see "Prerequisites" in the link:https://cloud.ibm.com/docs/vpc?topic=vpc-infrastructure-cli-plugin-vpc-reference&interface=ui#cli-ref-prereqs[{ibm-cloud-name} CLI documentation].
. If the following conditions are met, this step is required:
61
67
** The installer created a resource group as part of the installation process.
62
68
** You or one of your applications created persistent volume claims (PVCs) after the cluster was deployed.
63
-
64
69
+
65
70
In which case, the PVCs are not removed when uninstalling the cluster, which might prevent the resource group from being successfully removed. To prevent a failure:
66
-
71
+
+
67
72
.. Log in to the {ibm-cloud-name} using the CLI.
73
+
+
68
74
.. To list the PVCs, run the following command:
69
75
+
70
76
[source,terminal]
@@ -73,7 +79,7 @@ $ ibmcloud is volumes --resource-group-name <infrastructure_id>
73
79
----
74
80
+
75
81
For more information about listing volumes, see the link:https://cloud.ibm.com/docs/vpc?topic=vpc-infrastructure-cli-plugin-vpc-reference&interface=ui#volume-cli[{ibm-cloud-name} CLI documentation].
You must set the variable name exactly as specified. The installation program expects the variable name to be present to remove the service IDs that were created when the cluster was installed.
108
114
====
109
115
endif::ibm-cloud,ibm-power-vs[]
110
-
. From the directory that contains the installation program on the computer that you used to install the cluster, run the following command:
116
+
117
+
. From the directory that has the installation program on the computer that you used to install the cluster, run the following command:
111
118
+
112
119
[source,terminal]
113
120
----
@@ -121,18 +128,14 @@ ifndef::ibm-power-vs[]
121
128
+
122
129
[NOTE]
123
130
====
124
-
You must specify the directory that contains the cluster definition files for
125
-
your cluster. The installation program requires the `metadata.json` file in this
126
-
directory to delete the cluster.
131
+
You must specify the directory that includes the cluster definition files for your cluster. The installation program requires the `metadata.json` file in this directory to delete the cluster.
127
132
====
128
133
endif::ibm-power-vs[]
129
134
ifdef::ibm-power-vs[]
130
135
+
131
136
[NOTE]
132
137
====
133
-
* You must specify the directory that contains the cluster definition files for
134
-
your cluster. The installation program requires the `metadata.json` file in this
135
-
directory to delete the cluster.
138
+
* You must specify the directory that has the cluster definition files for your cluster. The installation program requires the `metadata.json` file in this directory to delete the cluster.
136
139
137
140
* You might have to run the `openshift-install destroy` command up to three times to ensure a proper cleanup.
138
141
====
@@ -156,9 +159,11 @@ If your cluster uses Technology Preview features that are enabled by the `TechPr
156
159
--
157
160
endif::ibm-cloud,ibm-power-vs[]
158
161
159
-
. Optional: Delete the `<installation_directory>` directory and the
160
-
{product-title} installation program.
162
+
ifdef::osp[]
163
+
. Optional: Use the `coreos-installer` tool to add the `coreos.inst.wipe=yes` flag to the Preboot Execution Environment (PXE) boot configuration. This operation wipes the disk on your system so that if you create a new cluster, you have a clean installation environment. For more detailed instructions, see link:https://access.redhat.com/solutions/7128657[How to wipe OpenStack disks in {product-title} 4 reinstallation] (Knowledgebase article).
164
+
endif::osp[]
161
165
166
+
. Optional: Delete the `<installation_directory>` directory and the {product-title} installation program.
// The above CCO credential removal for {ibm-cloud-title} is only necessary for manual mode. Future releases that support other credential methods will not require this step.
0 commit comments