Member-only story

Unattended Setup of Single Node OpenShift Cluster

Zhimin Wen
5 min readJul 9, 2023

--

Image by Marc Pascual from Pixabay

Single node OpenShift cluster is ideal for edge computing or POC projects due to the scaled down resource requirement. Additionally, provision a cluster in a fully automated unattended way is the first important step towards a successful POC. In this paper, let’s explore the unattended approach to setup a single node OpenShift cluster.

Bastion Node

I am using KVM to provision VMs for the OCP cluster.

The bastion node to access the cluster is required. I am using a Ubuntu node for the bastion node.

As we have one single node cluster, the LB to route the traffic for the cluster API or the application services is not required.

The DNS to serve the A record and PTR record for the cluster during the bootup and runtime later is still required.

We will setup the DNS server on the bastion node.

Install the dnsmasq package with the apt command, then configure the dnsmasq with the following configuration files under /etc/dnsmasq.d

common.conf

# forward, use original DNS server
server=10.0.xxx.yyy
server=10.0.aaa.bbb

ocp413–1node.conf

address=/ocp413-1node-bastion.ocp413-1node.ibmcloud.io.cpak/192.168.10.209…

--

--

No responses yet