-
If you used installer-provisioned infrastructure, change to the directory that contains the installation program and run the following command:
$ ./openshift-install gather bootstrap --dir <installation_directory> (1)
1 installation_directory
is the directory you specified when you ran./openshift-install create cluster
. This directory contains the OpenShift Container Platform definition files that the installation program creates.For installer-provisioned infrastructure, the installation program stores information about the cluster, so you do not specify the hostnames or IP addresses.
-
If you used infrastructure that you provisioned yourself, change to the directory that contains the installation program and run the following command:
$ ./openshift-install gather bootstrap --dir <installation_directory> \ (1) --bootstrap <bootstrap_address> \ (2) --master <master_1_address> \ (3) --master <master_2_address> \ (3) --master <master_3_address> (3)
1 For installation_directory
, specify the same directory you specified when you ran./openshift-install create cluster
. This directory contains the OpenShift Container Platform definition files that the installation program creates.2 <bootstrap_address>
is the fully qualified domain name or IP address of the cluster’s bootstrap machine.3 For each control plane, or master, machine in your cluster, replace <master_*_address>
with its fully qualified domain name or IP address.A default cluster contains three control plane machines. List all of your control plane machines as shown, no matter how many your cluster uses.