OpenShift Cluster Install Config Generator

Generate install-config.yaml and agent-config.yaml for a compact, user-provisioned OpenShift cluster.

0. Choose your installation approach

Use this guide to decide the best OpenShift installation path before filling full cluster details.

OpenShift installation flow

Start from which infrastructure you have and how you want to install; then narrow to IPI/UPI, agent-based or assisted, and whether you are disconnected.

Which infra?

Cloud Orchestrated (e.g. ROSA, OSD on AWS/Azure/GCP) or bring-your-own cloud.

On-prem Bare metal or virtualized (VMware, Nutanix, KVM, Hyper-V).

How?

Assisted (e.g. console.redhat.com, no dedicated bootstrap), local/agent-based, full control (UPI), or installer-provisioned (IPI).

Disconnected installs use a mirror registry (no direct internet from the cluster).

UPI

User-provisioned: you provide hardware or VMs (physical or virtual). You manage networking, DNS, load balancers, and node lifecycle.

IPI

Installer-provisioned: installer creates machines on supported cloud or virtualization (with credentials and permissions). Needs access to the virtual environment.

Supporting hosts (typical)

  • Bastion / jump host — Linux VM or bare metal; often same L2/L3 network as cluster nodes.
  • Bootstrap — temporary node for some flows (not required for all assisted/agent paths).

IPI install-config (examples)

  • Environment, control plane and worker counts, cluster and service networks.
  • VMware: vCenter user, datastore, cluster, port group.

Prerequisites planner (before you install)

If you are new to OpenShift, review this checklist before you run the installer. Choose the scenario that best matches your environment.

Production-like environment

1. Installation profile

2. Cluster basics

Sensitive value: you can add or update this later in generated install-config.yaml.

Sensitive value: you can add or update this later in generated install-config.yaml.

Pre-requisites execution planner

Use this page to sketch concrete DNS, VIP, and firewall values for your environment. Examples are dummy values — replace them with your own.

Production: example values

DNS records

NameTypeValuePurpose
api.ocp4.lab.example.com A 192.168.50.5 API VIP (port 6443)
api-int.ocp4.lab.example.com A 192.168.50.5 Internal API / machine config (22623)
*.apps.ocp4.lab.example.com Wildcard 192.168.50.6 Ingress VIP (80/443)
master-0.ocp4.lab.example.com A 192.168.50.10 Control plane node 1
master-1.ocp4.lab.example.com A 192.168.50.11 Control plane node 2
master-2.ocp4.lab.example.com A 192.168.50.12 Control plane node 3
worker-0.ocp4.lab.example.com A 192.168.50.20 Worker node 1
worker-1.ocp4.lab.example.com A 192.168.50.21 Worker node 2

Load balancer backend mapping

LB FQDNVIPPortsBackends (example nodes)
api.ocp4.lab.example.com 192.168.50.5 6443 master-0, master-1, master-2
api-int.ocp4.lab.example.com 192.168.50.5 22623 master-0, master-1, master-2
*.apps.ocp4.lab.example.com 192.168.50.6 80, 443 worker-0, worker-1

Firewall ports (summary)

SourceDestinationPort/ProtocolReason
Admins / automation api.ocp4.lab.example.com 6443/TCP Kubernetes API access
Cluster nodes api-int.ocp4.lab.example.com 22623/TCP Machine config server
Users / browsers *.apps.ocp4.lab.example.com 80,443/TCP App and console ingress

3. Platform configuration

Enter only the fields for your selected platform.

4. Hosts (masters/workers)

For a compact cluster, define three master hosts and zero workers.

Hostname Role IP MAC Primary NIC Bond? Secondary NIC Secondary MAC Static IP? Gateway DNS servers (comma)

Required for agent-based installs. Optional for UPI/IPI.

5. Review and generate

Compact cluster, bare metal / agent-based

6. Generated YAML

install-config.yaml

agent-config.yaml

oc-mirror ImageSetConfiguration (operators)

6. What to do next

After generating YAML:

6. Commands to run

Copy these commands and run them on your jump host / workstation as indicated.

Step 1 of 7