openshift

πŸš€ OpenShift Installation: Agent-Based vs UPI β€” What’s the Real Difference?

One of the most common misconceptions among people learning OpenShift is that Agent-Based Installation and User-Provisioned Infrastructure (UPI) are completely different installation methods.

They’re not.

Both methods install the same OpenShift cluster.

The real difference lies in who is responsible for preparing the infrastructure and orchestrating the installation.


Understanding the Two Approaches

Both installation methods follow the same goal:

βœ… Deploy a fully functional OpenShift cluster.

The difference is in the amount of automation involved.

User-Provisioned Infrastructure (UPI)

With UPI, the infrastructure team is responsible for preparing everything before OpenShift installation begins.

This includes:

  • πŸ–₯️ Provisioning servers or virtual machines
  • 🌐 Configuring networking (VLANs, routing, gateways)
  • πŸ“‘ Setting up DNS records
  • βš–οΈ Configuring API and Ingress load balancers
  • πŸ’Ύ Preparing storage infrastructure
  • πŸ” Configuring firewall rules and network access

Only after the infrastructure is fully prepared does the OpenShift installation begin.

UPI Workflow

Prepare Infrastructure
        β”‚
        β–Ό
Configure DNS & Networking
        β”‚
        β–Ό
Configure Load Balancer
        β”‚
        β–Ό
Generate Installation Assets
        β”‚
        β–Ό
Boot Cluster Nodes
        β”‚
        β–Ό
Install OpenShift
        β”‚
        β–Ό
βœ… Cluster Ready

Advantages

  • Full control over infrastructure
  • Ideal for enterprise environments with existing standards
  • Supports advanced networking and security requirements
  • Easy integration with existing datacenter automation

Challenges

  • More manual preparation
  • Greater operational complexity
  • Longer deployment time
  • Requires deeper infrastructure knowledge

Agent-Based Installation

Agent-Based Installation simplifies cluster deployment by automating much of the bootstrap process.

Instead of manually orchestrating every installation step, you:

  1. Generate an Agent ISO.
  2. Boot each server from the ISO.
  3. The agents automatically discover one another.
  4. The installer validates the hosts and forms the cluster.
  5. OpenShift is installed with minimal manual intervention.

Agent-Based Workflow

Generate Agent ISO
        β”‚
        β–Ό
Boot All Servers
        β”‚
        β–Ό
Agents Discover Hosts
        β”‚
        β–Ό
Validate Hardware & Networking
        β”‚
        β–Ό
Automatic Cluster Installation
        β”‚
        β–Ό
βœ… Cluster Ready

Because the discovery process is automated, administrators spend significantly less time coordinating the installation.


What Happens Behind the Scenes?

When a node boots using the Agent ISO:

  1. The host starts the OpenShift Agent.
  2. Hardware information is collected.
  3. Network connectivity is verified.
  4. The node registers with Assisted Service.
  5. All participating hosts discover each other.
  6. Installation begins once the required control plane and worker nodes are available.

This automation reduces many of the manual tasks traditionally associated with cluster deployment.


Architecture Comparison

                 User-Provisioned Infrastructure (UPI)

 Administrator
      β”‚
      β–Ό
Prepare Infrastructure
      β”‚
      β–Ό
Configure DNS / Load Balancer / Network
      β”‚
      β–Ό
Boot Nodes
      β”‚
      β–Ό
OpenShift Installation
      β”‚
      β–Ό
Running Cluster
               Agent-Based Installation

Administrator
      β”‚
      β–Ό
Generate Agent ISO
      β”‚
      β–Ό
Boot Servers
      β”‚
      β–Ό
Automatic Host Discovery
      β”‚
      β–Ό
Cluster Installation
      β”‚
      β–Ό
Running Cluster

Feature Comparison

FeatureUPIAgent-Based
Infrastructure preparationManualMostly automated
Host discoveryManualAutomatic
Installation complexityHigherLower
Deployment speedSlowerFaster
Enterprise customizationExcellentGood
Bare metal deploymentsExcellentExcellent
Edge deploymentsPossibleExcellent
Lab environmentsGoodExcellent

Real-World Analogy

Imagine building a house.

πŸ—οΈ UPI

You purchase the land, arrange utilities, hire contractors, supervise construction, and coordinate every phase yourself.

You have complete control over every detailβ€”but you’re also responsible for every step.

🏑 Agent-Based Installation

You start with a well-designed modular home kit.

The installation team follows an automated, predefined process that assembles the house quickly and consistently.

You still own the houseβ€”but much of the construction effort has been streamlined.


When Should You Choose Each?

Choose UPI when:

  • βœ… Your organization has strict infrastructure standards.
  • βœ… You need advanced networking or custom integrations.
  • βœ… Existing enterprise load balancers and DNS services must be reused.
  • βœ… Maximum flexibility and control are required.

Choose Agent-Based Installation when:

  • βœ… You want faster deployments.
  • βœ… You’re deploying on supported bare-metal hardware.
  • βœ… You’re building edge or remote site clusters.
  • βœ… You want a simpler installation experience with fewer manual steps.
  • βœ… You’re creating lab, development, or production clusters where automation is preferred.

Key Takeaway

Agent-Based Installation and UPI both deploy the same OpenShift platform.

The difference isn’t what gets installedβ€”it’s how the installation is orchestrated.

  • UPI gives administrators complete control by requiring manual infrastructure preparation before installation.
  • Agent-Based Installation automates host discovery and much of the deployment workflow, reducing operational effort and accelerating cluster creation.

As organizations increasingly adopt edge computing and automated infrastructure, Agent-Based Installation has become a popular choice for modern OpenShift deployments, while UPI remains the preferred option for environments that require deep infrastructure customization.


πŸ’‘ Interview Question

What’s the biggest difference between UPI and Agent-Based Installation?

Answer:

User-Provisioned Infrastructure (UPI) requires administrators to manually prepare and manage infrastructure components such as networking, DNS, load balancers, and servers before installing OpenShift.

Agent-Based Installation uses bootable Agent ISOs that automatically discover participating hosts, validate the environment, and coordinate the installation, significantly reducing manual effort while deploying the same OpenShift cluster.

Leave a Reply

Your email address will not be published. Required fields are marked *