You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Prerequisites

Download and Install UTM - https://mac.getutm.app


Setup

Go to https://console.redhat.com/openshift/cluster-list

Select Cluster List and click Create cluster.

Select Datacenter and click Create cluster.

Specify Cluster Details and click Next

Property

Value

Notes
Cluster Nameopen shift-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.16.8
CPU architectureARM64Apple M1 uses Arm64 architecture
IYES (Check) 
Hosts' network configurationStatic IP, bridges, and bonds 


Specify Static network configurations and click Next 

Property

Value

Notes
DNS192.168.1.52,8.8.8.8Valid DNS that can be accessed during the installation process. No space after comma.
IPv4192.168.1.0 / 24
Default gateway192.168.1.1


Specify Static network configuration and click Next

Property

Value

Notes
MAC addressaa:aa:aa:aa:aa:aaSpecify a Mac address that we will assign to our VM
IP address (IPv4)192.168.1.55


Click Next on the Operator's screen


On the Host Discovery screen, click Add Host.

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

Click Linux

Check Use Apple Virtualization, click Browse and select any file and then click Continue.

Select max memory and 10 Cores and click Continue.

Select 120GB storage size and click Continue.

On the Shared Directory screen, click Continue.

On the Summary screen, check Open VM Settings and click Save.

On the VM Settings Page, name your VM. 


Verify Settings

Revise Display Settings to use 1280x800.

Revise Networking Settings

Network ModeBridged
Mac Addressaa:aa:aa:aa:aa:aa
Interfaceen0


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

The Host Discovery should eventually find your VM. Once it does, click Next.

Click on the host (aa:aa:aaaa:aa:aa) and rename the discovered host and click Change.

Review Storage and click Next

Review Networking and click Next.

On the Review and Create screen, click Install Cluster.

After about 50mins or so, the installation will complete.



Login using the link provided below

https://console-openshift-console.apps.openshift-john.jmehan.com

Note the username and password are also made available on this screen.


In the event. that you can't access, you may need to add to your DNS server or to your local /etc/hosts file.

192.168.1.55    api.openshift-john.jmehan.com
192.168.1.55    oauth-openshift.apps.openshift-john.jmehan.com
192.168.1.55    console-openshift-console.apps.openshift-john.jmehan.com
192.168.1.55    grafana-openshift-monitoring.apps.openshift-john.jmehan.com
192.168.1.55    thanos-querier-openshift-monitoring.apps.openshift-john.jmehan.com
192.168.1.55    prometheus-k8s-openshift-monitoring.apps.openshift-john.jmehan.com
192.168.1.55    alertmanager-main-openshift-monitoring.apps.openshift-john.jmehan.com


References

ReferenceURL
HOW TO: install Openshift single node on Mac Book (apple silicon)https://www.youtube.com/watch?v=f_AqfaA-HUA
  • No labels