4.10.5. Creating the installation files for GCP
To install OpenShift Container Platform on Google Cloud Platform (GCP) using user-provisioned infrastructure, you must generate the files that the installation program needs to deploy your cluster and modify them so that the cluster creates only the machines that it will use. You generate and customize the
install-config.yaml file, Kubernetes manifests, and Ignition config files.
18.104.22.168. Manually creating the installation configuration file
For installations of OpenShift Container Platform that use user-provisioned infrastructure, you manually generate your installation configuration file.
- Obtain the OpenShift Container Platform installation program and the access token for your cluster.
Create an installation directory to store your required installation assets in:
$ mkdir <installation_directory>重要
You must create a directory. Some installation assets, like bootstrap X.509 certificates have short expiration intervals, so you must not reuse an installation directory. If you want to reuse individual files from another cluster installation, you can copy them into your directory. However, the file names for the installation assets might change between releases. Use caution when copying installation files from an earlier OpenShift Container Platform version.
Customize the following
install-config.yamlfile template and save it in the
You must name this configuration file
Back up the
install-config.yamlfile so that you can use it to install multiple clusters.重要
install-config.yamlfile is consumed during the next step of the installation process. You must back it up now.