Prerequisites
The following are the prerequisites required to install OCP4 on bare metal
Access confirmation
- Access to https://access.redhat.com/, if not, follow the steps
- Git repo for the installer https://github.com/openshift/installer
- OpenShift playground: https://try.openshift.com
- Access.redhat.com account, to download packages/pull secrets https://cloud.redhat.com/openshift/install
- openshift-install client: https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/openshift-install-linux.tar.gz
- RHCOS download to create machines for your cluster to use during the installation https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/latest/latest/
- Openshift Command Line tools: https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/openshift-client-linux.tar.gz
- Official documentation for installation:
- Access RH employee subscription benefits:
https://mojo.redhat.com/docs/DOC-99172
https://docs.google.com/document/d/15DmYrfspKVwf4z8DzPK7sU-zmRERVWHBN3tghRkrkGU/edit
Bootstrap node Identification
As per [1], the minimum number of nodes needed for an Openshift 4 cluster is 6
- 1 bootstrap node
- 3 master nodes
- 2 worker nodes.
As per [2] the minimum requirements for the bootstrap machine is:
Machine | Operating System | vCPU | RAM | Storage |
Bootstrap | RHCOS | 4 | 16 GB | 120 GB |
- [1] Minimum number of nodes https://docs.openshift.com/container-platform/4.3/installing/installing_bare_metal/installing-bare-metal.html#machine-requirements_installing-bare-metal
- [2] Minimum bootstrap/master/worker node requirements https://docs.openshift.com/container-platform/4.3/installing/installing_bare_metal/installing-bare-metal.html#minimum-resource-requirements_installing-bare-metal
- [3] https://ark.intel.com/content/www/us/en/ark/products/64591/intel-xeon-processor-e5-2640-15m-cache-2-50-ghz-7-20-gt-s-intel-qpi.html
Miscellaneous Prerequisites
- Need internet access from the bootstrap/master/compute nodes so as to:
- Access the Red Hat OpenShift Cluster Manager page to download the installation program and perform subscription management and entitlement. If the cluster has internet access and you do not disable Telemetry, that service automatically entitles your cluster. If the Telemetry service cannot entitle your cluster, you must manually entitle it on the Cluster registration page
- Access quay.io to obtain the packages (images?) that are required to install your cluster.
- Obtain the packages that are required to perform cluster updates.
- 1.1.3.1. Before you install OpenShift Container Platform, you must provision two layer-4 load balancers.
- Minimum of 6 nodes, 1 bootstrap node, 3 master, 2 compute.
- 1.1.3. See this section to see the network ports which are required to be open and accessible from each machine
- Configure DHCP or set static IP addresses on each node. Be sure to configure it so the nodes always get the same IP address if configured via DHCP.