MYHOSPITALNOW.COM

Find Trusted Doctors & Hospitals

Discover healthcare providers, compare hospitals, and explore treatment options worldwide.

Free Treatment Quotes • Doctor Search • Hospital Comparison

Find Healthcare Options

www.myhospitalnow.com

OpenShift Install & Configurations using OKD in (Bare Metal / UPI / AWS)

Here is the latest, step-by-step complete guide to install and configure OKD — the open-source version of OpenShift — along with an introduction to what OKD is.


🧩 What is OKD?

FeatureDescription
NameOKD (Origin Community Distribution of Kubernetes)
Relation to OpenShiftUpstream open-source version of Red Hat OpenShift
Core ComponentsKubernetes + CRI-O + Podman + Operators + OpenShift Console
Latest Version (2026)OKD 4.14 (matching OpenShift 4.14)
Supported OSFedora CoreOS (FCOS), RHEL CoreOS
Deployment ModesIPI (Installer-Provisioned Infrastructure), UPI (User-Provisioned Infra)
LicenseApache 2.0 / Open Source (Free to use)
Ideal ForOpen-source adopters, self-managed clusters, testing advanced OpenShift

✅ OKD Installation Methods (Summary)

MethodPlatformAutomationUse Case
IPIAWS, GCP, Azure, vSphere✅ YesQuick cloud installation with automation
UPIBare metal, custom VMs⚠️ ManualOn-premise or custom infrastructure
CRCLocal VM (dev only)✅ Single-nodeDeveloper test environments

🚀 Step-by-Step Guide: OKD 4.14 Installation (Bare Metal / UPI)

📦 We’ll install OKD 4.14 using the UPI (User-Provisioned Infrastructure) method on bare metal or custom virtual machines.


🛠️ 1. System Prerequisites

RequirementDescription
OSFedora CoreOS (OKD requires FCOS)
MachinesBootstrap, Master(s), Worker(s)
RAM per Master16 GB+
CPU per Master4+ cores
Disk per Node100 GB+ SSD
DNS + DHCPRequired
Internet AccessRequired (or mirror registry for offline)

📥 2. Download OKD Tools

🔗 Download links:

Download:

  • openshift-install binary
  • oc CLI binary
  • Fedora CoreOS ISO and PXE images

🔐 3. Generate Install Config

./openshift-install create install-config --dir=okd-cluster

This prompts:

  • Base domain (e.g., example.com)
  • Cluster name (e.g., okd)
  • Pull secret (use OKD-specific or fake secret for community)
  • Platform (select “none” for bare metal/UPI)
  • SSH key (for connecting to nodes)

This generates: install-config.yaml


🧾 4. Create Ignition Files

./openshift-install create ignition-configs --dir=okd-cluster

This creates:

  • bootstrap.ign
  • master.ign
  • worker.ign

💽 5. Provision Fedora CoreOS Nodes

Use ISO or PXE to boot machines and provide the proper ignition file via kernel arguments:

coreos.inst.install_dev=/dev/sda
coreos.inst.image_url=<FCOS Live ISO URL>
coreos.inst.ignition_url=http://<http_server>/bootstrap.ign
Code language: HTML, XML (xml)

Set up:

  • 1x Bootstrap node (use bootstrap.ign)
  • 3x Master nodes (use master.ign)
  • N x Worker nodes (use worker.ign)

🌐 6. Set Up Networking (DNS, DHCP, Load Balancer)

DNS records (for base domain):

RecordTypeTarget
api.okd.example.comALB for port 6443 (API)
*.apps.okd.example.comALB for ports 80/443 (apps)
api-int.okd.example.comAInternal API
etcd-0.okd.example.comAetcd master 0

Load Balancer Ports:

  • API: 6443
  • Machine Config Server: 22623
  • Ingress (apps): 80, 443

🛑 7. Wait for Bootstrap Completion

Run:

./openshift-install wait-for bootstrap-complete --dir=okd-cluster --log-level=info

When done:

  • Shutdown the bootstrap node

🎯 8. Finish Cluster Installation

Run:

./openshift-install wait-for install-complete --dir=okd-cluster

You’ll get:

  • Web Console URL: https://console-openshift-console.apps.okd.example.com
  • Admin credentials (stored in auth/kubeadmin-password)

🧪 9. Login and Validate

Login via CLI:

oc login -u kubeadmin -p <password> https://api.okd.example.com:6443
Code language: HTML, XML (xml)

Access Web UI and verify that all nodes are healthy, and cluster is Ready.


🧹 Optional: Post-Install Tasks

TaskDescription
Add usersUse HTPasswd or OAuth identity providers
Install OperatorsFrom OperatorHub
Set up storageConfigure RWX or RWO PVCs
Create projects/namespacesFor apps and workloads
Monitor clusterUse built-in Prometheus + Grafana stack

🔄 Alternative: OKD IPI on AWS (Auto Infra)

OKD supports IPI (auto-provision) on AWS:

./openshift-install create cluster --dir=okd-aws
  • Set platform: aws
  • Must configure AWS credentials

📌 Where to Learn More


Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

OpenShift ImageStreams vs Normal Container Images: A Complete Hands-on Tutorial Using HTTPD

1. Introduction OpenShift can deploy applications in two major ways: Both approaches ultimately run containers in Pods, but they behave very differently in terms of tracking, automation,…

Read More

OpenShift Tutorial – Deploy and Access Your First Applications using OpenShift Local

How to install oc? OpenShift: How to Install OpenShift CLI oc How to login? Login to the Openshift using Web Console and CLI using oc Copy the admin…

Read More

OpenShift Lab 14: Setting Up and Using OpenShift Serverless Functions on OpenShift Local

Lab Objective In this lab, you will install and use OpenShift Serverless Functions on OpenShift Local. You will create a simple Node.js serverless function, deploy it to…

Read More

OpenShift Lab 13: Deploy a Java Spring Boot Application with MySQL Using the OpenShift Web Console

Lab Objective In this lab, you will deploy a Java Spring Boot application on OpenShift using the OpenShift web console. You will deploy two components: The Java…

Read More

OpenShift Lab 12: Deploy an Application from an Existing Container Image Using the OpenShift Web Console

Lab Objective In this lab, you will deploy an application on OpenShift from an existing container image. This lab is different from building an application from source…

Read More

OpenShift: How to Install OpenShift CLI oc

Option – 1 – REDHAT Websites URL – https://access.redhat.com/downloads/content/290/ver=4.18/rhel—9/4.18.11/x86_64/product-software Option – 2 – OKD Websites The OKD (Origin Community Distribution of Kubernetes for OpenShift) is the open-source…

Read More
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
0
Would love your thoughts, please comment.x
()
x