
Red Hat OpenShift requires a subscription. However, there is a 60 day trial version of OpenShift that you can download and install.
This article describes the process to download and install the trial version of Red Hat OpenShift on VMWare Linux CentOS machines. OpenShift can run a various platforms, such as VMWare, Amazon Web Servers (AWS), bare metal, et cetera. This article is only for OpenShift on VMWare machines. This assumes you have created a Linux CentOS machine on VMWare.
- Go to https://www.openshift.com/trial and select try it for 60 days.
- Select Download for x86 architecture.
- Log in with your Red Hat account.
- A file along the lines of openshift-install-linux-<version>.tar.gz will be downloaded to your local PC. Move this file onto the Linux server that will be running OpenShift.
- Use the gunzip command to unzip the gzip compressed tar archive.
gunzip openshift-install-linux-<version>.tar.gz
- Use the tar command to extract the tar archive. This should extract the openshift-install file, which will be used to install OpenShift.
tar -xf openshift-install-linux-<version>.tar
install-config.yaml
Create a directory that will contain the installation files.
mkdir /opt/OpenShift
Create the install.config.yaml file in the installation directory.
cd /opt/OpenShift
touch install-config.yaml
Update install-config.yaml to contain the following, replacing the following with your information:
- baseDomain to your DNS domain name
- metadata name will be the name of your cluster
- vcenter will be the IP address to DNS name of your VMWare vCenter server
- username will be the username that is used to access your VMWare vCenter server
- password will be the password that is used to access your VMWare vCenter server
apiVersion: v1
baseDomain: example.com
compute:
- hyperthreading: Enabled
name: worker
replicas: 0
controlPlane:
hyperthreading: Enabled
name: master
replicas: 3
metadata:
name: test
platform:
vsphere:
vcenter: your.vcenter.server
username: vcenter username
password: vcenter password
datacenter: datacenter
defaultDatastore: datastore
fips: false
pullSecret: '{"auths": ...}'
sshKey: 'ssh-ed25519 AAAA...'
tbd
Did you find this article helpful?
If so, consider buying me a coffee over at