Skip to content

Commit 335e15b

Browse files
author
Amrita
committed
Adds bootstrap command-
1 parent 0d91891 commit 335e15b

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

modules/installing-ocp-agent.adoc

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,30 @@ agent.iso auth
147147
$ openshift-install agent create image
148148
----
149149
150+
. Optional: To know when the bootstrap node (** Node 0 **) reboots, run the following command:
151+
152+
+
153+
[source,terminal]
154+
----
155+
$ ./openshift-install --dir <manifests_directory> wait-for bootstrap-complete \ <1>
156+
--log-level=info <2>
157+
----
158+
<1> For `<manifests_directory>`, specify the path to the directory that you stored the manifest files in.
159+
<2> To view different installation details, specify `warn`, `debug`, or `error` instead of `info`.
160+
161+
+
162+
.Example output
163+
[source,terminal]
164+
----
165+
INFO Waiting up to 30m0s for the Kubernetes API at https://api.test.example.com:6443...
166+
INFO API v1.25.0 up
167+
INFO Waiting up to 30m0s for bootstrapping to complete...
168+
INFO It is now safe to remove the bootstrap resources
169+
----
170+
+
171+
The command succeeds when the Kubernetes API server signals that it has been
172+
bootstrapped on the control plane machines.
173+
150174
. Boot the `agent.iso` image on the bare metal machines. You can run the image on any Linux distribution.
151175
152176
. To track the progress and verify sucessful installation, run the following command:
@@ -167,3 +191,5 @@ INFO To access the cluster as the system:admin user when using 'oc', run
167191
INFO export KUBECONFIG=/home/core/installer/auth/kubeconfig
168192
INFO Access the OpenShift web-console here: https://console-openshift-console.apps.sno-cluster.test.example.com
169193
----
194+
195+

0 commit comments

Comments
 (0)