The installation of OpenShift on Azure can either be done using the IPI Installer or the UPI Installer.
💡 NOTE: For airgap scenarios, you will most likely need to use the UPI installer since the IPI installer cannot guarentee an airgapped install.
For the abbreviated install path, follow the guidance below.
You will need to download the openshift installer to a linux machine. The installer can be found here: OpenShift Installer Download. You will need to unpack the installer: tar xvf openshift-install-linux.tar.gz
and retreive a pull secret from the OpenShift Console.
Next, you will need to create an install-config.yaml
file to be used for your deployment. You can start from our existing file found here or you can build your own from the docs.
Once this file has been created, you can execute the deployment:
#Everything in the /tmp directory will be purged upon reboot.
mkdir /tmp/OCPInstall/QuickCluster
wget -nv https://raw.githubusercontent.com/Azure/maximo/$branchName/src/ocp/install-config.yaml -O /tmp/OCPInstall/QuickCluster/install-config.yaml
#You will need to customize your install-confi.yaml file before installing.
sudo openshift-install create cluster --dir=/tmp/OCPInstall/QuickCluster --log-level=info
After roughly 45 minutes, the cluster will come online and the console will provide details to connect to the cluster.
#Example
INFO Install complete!
INFO To access the cluster as the system:admin user when using 'oc', run 'export KUBECONFIG=/home/myuser/tmp/OCPInstall/QuickCluster/auth/kubeconfig'
INFO Access the OpenShift web-console here: https://console-openshift-console.apps.mycluster.example.com
INFO Login to the console with user: "xxxxxxxx", and password: "xxxxxxxxxxxxxxxxxx"
INFO Time elapsed: 36m22s
At this point, you can login and proceed to installing the Azure Files CSI drivers.