OpenShift artifacts

Documentation

Architecture

An introduction to the OpenShift Container Platform architecture is available at https://docs.openshift.com/container-platform/4.1/architecture/architecture.html

Installation

OpenShift Container Platform supports two types of installation program:

  • Installer-Provisioned Infrastructure (IPI) where the installation program is responsible for deploying and maintaining the underlying infrastructure, as well as the cluster itself. An example of this is the deployment to Amazon Web Services (AWS).
  • User-Provisioned Infrastructure (UPI) where the user is responsible for setting up and maintaining the underlying infrastructure, and the installation program deploys the cluster on top of this. An example of this style of installation is deployment to bare metal or to VMware vSphere.

As this solution runs on HPE SimpliVity, it follows the methodology for User-Provisioned Infrastructure, and it helps you to deploy the underlying VMs for the cluster itself and for supporting machines.

More information on the general installation process is available at https://docs.openshift.com/container-platform/4.1/architecture/architecture-installation.html

Documentation specific to installation on a vSphere cluster is at https://docs.openshift.com/container-platform/4.1/installing/installing_vsphere/installing-vsphere.html

Release notes

OpenShift Container Platform provides regular updates, so it is important to follow the release details provided and to upgrade regularly. The OpenShift release notes for 4.1 are available at https://docs.openshift.com/container-platform/4.1/release_notes/ocp-4-1-release-notes.html

Red Hat CoreOS

Download the Red Hat CoreOS OVA for OCP 4.1 from https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/4.1/latest/rhcos-4.1.0-x86_64-vmware.ova

This downloaded OVA will be used for the master and worker nodes in the initial cluster deployment. As part of the installation process, templates will be created from the master and worker OVAs.

Clients

The Openshift client software is available at https://mirror.openshift.com/pub/openshift-v4/clients/ocp/.

This solution only supports OCP 4.1. At the time of writing, the current version is OpenShift 4.1.16 and the corresponding software is available at https://mirror.openshift.com/pub/openshift-v4/clients/ocp/4.1.16/.

If you want to use latest version of the OCP 4.1 client software, it is available at https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest-4.1/

The OCP 4.1.16 version of the openshift-install program, used by the playbooks to install the cluster, can be downloaded from https://mirror.openshift.com/pub/openshift-v4/clients/ocp/4.1.16/openshift-client-linux-4.1.16.tar.gz.

Download to the Ansible machine, unpack the file and note down the path for the openshift-install program as you will use this when configuring the solution.

Two client programs are used to interact with a deployed cluster - oc and kubectl. These programs are available in a single file at https://mirror.openshift.com/pub/openshift-v4/clients/ocp/4.1.16/openshift-client-linux-4.1.16.tar.gz

Download to the Ansible machine, unpack the file and note down the path for the ocp and kubectl programs as you will use this when configuring the solution.

Downloading and unpacking

An example of the commands used to download and unpack the required software is shown below (for OCP version 4.1.16):

$ mkdir ~/kits
$ cd ~/kits
$ wget https://mirror.openshift.com/pub/openshift-v4/clients/ocp/4.1.16/openshift-client-linux-4.1.16.tar.gz
$ wget https://mirror.openshift.com/pub/openshift-v4/clients/ocp/4.1.16/openshift-client-linux-4.1.16.tar.gz
$ wget https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/4.1/latest/rhcos-4.1.0-x86_64-vmware.ova
$ tar -xvf openshift-client-linux-4.1.16.tar.gz
$ tar -xvf openshift-install-linux-4.1.16.tar.gz

Pull secret

From the OpenShift Infrastructure Providers page, download your installation pull secret. This pull secret allows you to authenticate with the services that are provided by the included authorities, including Quay.io, which serves the container images for OpenShift Container Platform components. The pull secret will be used in your configuration using the variable vault.pull_secret, in the group_vars/all/vault.yml file.