Skip to content

Commit 1bebc9a

Browse files
committed
OCPBUGS-44070: adding instruction to get kubeconfig post-install
1 parent 6c2d011 commit 1bebc9a

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

modules/ibi-create-config-iso.adoc

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ $ oc apply -f ibi-managed.yaml
294294

295295
.Verification
296296

297-
* Check the status of the `ImageClusterInstall` in the hub cluster to monitor the progress of the target host installation by running the following command:
297+
. Check the status of the `ImageClusterInstall` in the hub cluster to monitor the progress of the target host installation by running the following command:
298298
+
299299
[source,terminal]
300300
----
@@ -311,4 +311,15 @@ target-0 HostValidationSucceeded ClusterInstallationSucceeded ibi-bmh
311311
[WARNING]
312312
====
313313
If the `ImageClusterInstall` resource is deleted, the IBI Operator reattaches the `BareMetalHost` resource and reboots the machine.
314-
====
314+
====
315+
316+
. When the installation completes, you can retrieve the `kubeconfig` secret to log in to the managed cluster by running the following command:
317+
+
318+
[source,terminal]
319+
----
320+
$ oc extract secret/<cluster_name>-admin-kubeconfig -n <cluster_namespace> --to - > <directory>/<cluster_name>-kubeconfig
321+
----
322+
+
323+
* `<cluster_name>` is the name of the cluster.
324+
* `<cluster_namespace>` is the namespace of the cluster.
325+
* `<directory>` is the directory in which to create the file.

0 commit comments

Comments
 (0)