Kamis, 06 April 2023

OPENSHIFT-iso

 

GUIDE: Install OpenShift 4 — The Easy Way — Part 1

https://craig-robinson.medium.com/guide-install-openshift-4-the-easy-way-af3620d4a06f
Accompanying video

This guide will show by example how to install a three-node OCP 4.7 cluster using the assisted installer. All three nodes are assigned both the master and worker roles. This install method removes the need for a local DNS server, load balancer, and dedicated bootstrap node. Instead, we will use public DNS, VRRP, while the installer re-provisions the bootstrap node into our third master node.

Network Layout:

Setup DNS:

Add “A Records” for both api.<clustername>.<domainname> and *.apps.<clustername>.<domainname>

Login to cloud.redhat.com:

If you do not have an account, you can register for a free developer account at https://developers.redhat.com. This will allow you to provision an OCP Cluster for a 60-day trial period.

Create the cluster:

Insert your cluster name, base domain, and select the version of OpenShift. Once complete, click next.

Click “Generate Discovery ISO”.

Paste in your ssh key, then click “Generate Discovery ISO”.

**Follow these instructions for generating an ssh key if needed.**

Download the Discovery ISO.

Upload the ISO to your datastore.

Create the VMs:

Login to your ESXi or vSphere host can create a new VM.

**Select Compatibility “ESXi 6.5 virtual machine”**

Power on the node.

Create the remaining two nodes using the same steps.

Bare Metal Discovery:

Power on all three nodes and open the cluster manager.

Your nodes should begin to appear on the discovery page.

Change the hostname to match the correct VM. Use the IP address shown in the VMWare console and match it to one of the nodes and rename them.

Once the hostnames are correct, click Next.

Networking:

Review & Create

The installation process has averaged around an hour on my system.

The installation process has completed.

Login to the console:

You should get a certificate error.

Click on “Not Secure” to view the certificate.

Click Details and select the inregress-operator, then export it.

Import the certificate into Chrome by going to Settings > Privacy & Security > Security > Manage Certificates > Authorities > Import

Trust this cert, click ok. Reload the console window.

Login using kubeadmin for username and the password provided on the cluster manager page.

You should be greeted by the OpenShift Administrator Dashboard.

Summary:

Good luck!

Tidak ada komentar:

Posting Komentar