Skip to content

Commit

Permalink
Merge pull request #53030 from openshift-cherrypick-robot/cherry-pick…
Browse files Browse the repository at this point in the history
…-52973-to-enterprise-4.12

[enterprise-4.12]  Agent-10: Adds openshift-install agent wait-for bootstrap-complete  subcommand
  • Loading branch information
bergerhoffer committed Nov 21, 2022
2 parents 5301fe8 + 1705def commit 2ebfe1e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions modules/installing-ocp-agent.adoc
Expand Up @@ -147,6 +147,30 @@ agent.iso auth
$ openshift-install agent create image
----
. Optional: To know when the bootstrap node (** Node 0 **) reboots, run the following command:
+
[source,terminal]
----
$ ./openshift-install --dir <manifests_directory> wait-for bootstrap-complete \ <1>
--log-level=info <2>
----
<1> For `<manifests_directory>`, specify the path to the directory that you stored the manifest files in.
<2> To view different installation details, specify `warn`, `debug`, or `error` instead of `info`.
+
.Example output
[source,terminal]
----
INFO Waiting up to 30m0s for the Kubernetes API at https://api.test.example.com:6443...
INFO API v1.25.0 up
INFO Waiting up to 30m0s for bootstrapping to complete...
INFO It is now safe to remove the bootstrap resources
----
+
The command succeeds when the Kubernetes API server signals that it has been
bootstrapped on the control plane machines.
. Boot the `agent.iso` image on the bare metal machines. You can run the image on any Linux distribution.
. To track the progress and verify sucessful installation, run the following command:
Expand All @@ -167,3 +191,5 @@ INFO To access the cluster as the system:admin user when using 'oc', run
INFO export KUBECONFIG=/home/core/installer/auth/kubeconfig
INFO Access the OpenShift web-console here: https://console-openshift-console.apps.sno-cluster.test.example.com
----

0 comments on commit 2ebfe1e

Please sign in to comment.