The Red Hat OpenShift install-config.yaml file provides configuration options to the installation program and facilitates the creation of its manifest files.
Procedure
- Log in to your Linux host by using a Secure Shell (SSH) client.
- Create a working folder for the installation of Red Hat OpenShift.
- Go to the working folder for the installation of Red Hat OpenShift.
- Create аn install-config.yaml installation file with the following contents.
apiVersion: v1
baseDomain: sfo.rainpole.io
compute:
- hyperthreading: Enabled
name: worker
replicas: 0
controlPlane:
hyperthreading: Enabled
name: control-plane
replicas: 3
metadata:
name: sfo-w01-ocp01
networking:
networkType: NCP
clusterNetwork:
- cidr: 100.100.0.0/16
hostPrefix: 23
serviceNetwork:
- 100.200.0.0/16
machineCIDR: 192.168.23.0/24
platform:
vsphere:
vcenter: sfo-w01-vc01.sfo.rainpole.io
username: administrator@vsphere.local
password: <admin password>
datacenter: sfo-w01-dc01
defaultDatastore: sfo-w01-cl01-ds-vsan01
pullSecret: '<pull secret>'
sshKey: '<ssh public key>'