Table of Contents |
---|
Prerequisites
Download and Install UTM - https://mac.getutm.app
Setup
Go to https://console.redhat.com/openshift/cluster-list
...
Specify Cluster Details and click Next
Property | Sample Value | Notes |
---|---|---|
Cluster Name | openshift-john | |
Base Domain | jmehan.com | Enter any domain here. It doesn't have to be registered as it will be resolved locally. |
OpenShift version | OpenShift 4.14.xxx | |
CPU architecturex86_64 | ARM64 | Apple M1 uses Arm64 architecture |
I | YES (Check) | |
Hosts' network configuration | Static IP, bridges, and bonds |
...
Specify Static network configurations and click Next
Property | Sample Value | Notes |
---|---|---|
DNS | 192.168.1.52,8.8.8.8 | Valid DNS that can be accessed during the installation process. No space after comma. |
IPv4 | 192.168.1.0 / 24 | |
Default gateway | 192.168.1.1 |
...
Specify Static network configuration and click Next
Property | Value | Notes |
---|---|---|
MAC address | aa:aa:aa:aa:aa:aa | Specify a Mac address that we will assign to our VM |
IP address (IPv4) | 192.168.1.55 |
...
On the Add host popup, select Full image file under Provisioning type and click Generate Discovery ISO.
Download the ISO.
Create the VM
Open UTM and click Create
Click Vitualize
...
Check Use Apple Virtualization, check Enable Rosetta, click browse and select any file and click click Continue.
<< OLD
Select max memory and 10 Cores and click Continue.
...
Verify Settings
Revise Display Settings Settings to use 1024x640.
Revise Networking Settings
...
Under Drives, delete the drive created earlier by right mouse clicking and selecting Delete.
Under Drives, click New and import the discovery iso image that was downloaded earlier and click Save.
Start the VM
Continue Installation
...
Code Block |
---|
api.openshift-john.jmehan.com A 192.168.1.55 *.apps.openshift-john.jmehan.com A 192.168.1.55 |
Installing the Command Line Tool
https://ibm.github.io/AppRuntimesOpenShiftDay2Labs/openshift_login_commandline/
...
Code Block |
---|
tar xvfz sudo mv ./oc /usr/local/bin/. |
Logging In
From the console, click the top right hand corner to Copy login command.
...
Logging in with the oc login will also update your ~/.kube/config file with the kubeconfig details for the cluster.
References
Reference | URL |
---|---|
HOW TO: install Openshift single node on Mac Book (apple silicon) | https://www.youtube.com/watch?v=f_AqfaA-HUA |