Installing OpenShift on VMware with Assisted Installer (Fully Automated)
If you’re looking to quickly set up OpenShift in a data center environment using VMware, the Assisted Installer is one of the most convenient options. This guide walks you through the process of installing OpenShift 4.19 (or the latest version) with minimal manual steps — once configured, the installation is mostly automatic.
Prerequisites
-
VMware environment with enough resources (recommended: 16 vCPU, 32 GB RAM, NAT interface for internet access).
-
A Linux machine with SSH key generated.
-
Basic DNS or
/etc/hostsconfiguration access.
Step 1: Access the Assisted Installer
-
Download the ISO from the Assisted Installer portal.
The ISO will be tied to your VM’s public key.
-
In the portal, select:
Step 2: Define Cluster Settings
-
Cluster name:
mycluster -
Base domain:
mycluster.com -
OpenShift version:
4.19(or latest available) -
CPU architecture:
x86_64 -
External platform integration: None
-
Control plane nodes:
1(Single-node OpenShift) -
Hosts’ network configuration:
DHCP (default)
Click Next.
Step 3: Operators Page
-
Leave defaults as-is.
-
Click Next.
Step 4: Host Discovery
-
Select Provisioning Type → Full image file (Download a self-contained ISO).
-
Add your SSH public key:
-
On your Linux machine, run:
-
Copy and paste the output into the Assisted Installer.
-
-
Skip Proxy and Certificates (set to No).
-
Click Generate Discovery ISO → Download the ISO.
-
Create a VM in VMware (16 vCPU, 32 GB RAM, NAT).
-
Boot the VM with the ISO.
Now, sit back and wait. The installation will run automatically and usually takes about 1 hour.
Step 5: Configure DNS or Hosts File
Before accessing the console, configure your DNS (recommended) or update /etc/hosts on your PC.
DNS entries:
/etc/hosts entries (alternative):
Step 6: Access the Web Console
Once installation completes, the console URL will be available:
Web Console:
https://console-openshift-console.apps.assistedcluster.rukndarna.com/
Credentials:
-
Username:
kubeadmin -
Password: <password> (replace with your generated password)
You can also download the kubeconfig file for password-less access.
Step 7: Connect with oc CLI
From your personal machine, you can connect in two ways:
-
Using kubeconfig (no password):
-
Using username/password:
Common Useful Commands
Done :) now we have a single-node OpenShift cluster running on VMware with Assisted Installer — fully automated and ready for exploration.
No comments:
Post a Comment