github.com/openshift/installer@v1.4.17/docs/user/gcp/install.md (about)

     1  # Cluster Installation
     2  
     3  At this point, you are ready to perform the OpenShift installation.
     4  You have two choices for installing your cluster on GCP, installer-provided infrastructure or user-provided infrastructure.
     5  See below for an example of an installer-provided infrastructure install.
     6  
     7  To see a guided example of a user-provided infrastructure install, please see [Install: User-Provided Infrastructure](install_upi.md)
     8  
     9  ## Example: Installer-Provided Infrastructure
    10  
    11  The steps for performing an IPI-based install are outlined [here][cloud-install]. Following this guide you may begin at
    12  Step 3: Download the Installer.
    13  
    14  ### Create Configuration
    15  
    16  ```console
    17  [~]$ openshift-install create install-config
    18  ? SSH Public Key /home/user_id/.ssh/id_rsa.pub
    19  ? Platform gcp
    20  ? Project ID my_gcp_project
    21  ? Region us-east1
    22  ? Base Domain example.com
    23  ? Cluster Name mycluster
    24  ? Pull Secret [? for help] **********************************************************
    25  ```
    26  
    27  ### Create Cluster
    28  
    29  ```console
    30  [~]$ openshift-install create cluster
    31  
    32  INFO Consuming Install Config from target directory
    33  INFO Creating infrastructure resources...
    34  INFO Waiting up to 30m0s for the Kubernetes API at https://api.mycluster.example.com:6443...
    35  INFO API v1.14.0+37982ca up
    36  INFO Waiting up to 30m0s for bootstrapping to complete...
    37  INFO Destroying the bootstrap resources...
    38  INFO Waiting up to 30m0s for the cluster at https://api.mycluster.example.com:6443 to initialize...
    39  INFO Waiting up to 10m0s for the openshift-console route to be created...
    40  INFO Install complete!
    41  INFO To access the cluster as the system:admin user when using 'oc', run
    42      export KUBECONFIG=/home/user/auth/kubeconfig
    43  INFO Access the OpenShift web-console here: https://console-openshift-console.apps.mycluster.example.com
    44  INFO Login to the console with user: kubeadmin, password: 5char-5char-5char-5char
    45  ```
    46  
    47  ### Running Cluster
    48  
    49  In your GCP project, there will be a new private DNS zone (for internal lookups)
    50  
    51  There will be six running VM instances in the Project.
    52  
    53  The nodes within the Virtual Network utilize the internal DNS and use the Router and External API load balancers. External/Internet
    54  access to the cluster use the Router and External API load balancers. Compute instances are spread equally across all running availability
    55  zones for the region.
    56  
    57  The OpenShift console is available via the kubeadmin login provided by the installer.
    58  
    59  ![OpenShift web console](images/install_console.png)
    60  
    61  [cloud-install]: https://console.redhat.com/openshift/create