Single Node OpenShift (SNO) runs the control plane and your workloads on one machine, and the Agent-based Installer gets you there with one ISO. You write two YAML files, build a bootable image, and boot a single VM from it. There’s no bootstrap node, no external load balancer and no provisioning network, because the node bootstraps itself and then becomes the cluster.
We built the whole thing on a Fedora KVM/libvirt host: libvirt’s dnsmasq serves the api, api-int and *.apps records, and HAProxy on the host lets other machines on your LAN reach the console and API. From ISO boot to a green console, the OpenShift SNO install took 55 minutes. Every command and output below comes from OpenShift 5.0.1 deployed on Fedora 45 in November 2026.

Keep that picture in mind as you go. The node never sees your LAN directly, so DNS and HAProxy on the host do all the work of making it reachable, and most of the problems we hit lived on the host rather than in OpenShift.
Size the SNO host
Red Hat’s Installing on a single node guide for 5.0 sets the floor at 4 vCPU, 16 GB of RAM and 120 GB of storage, and it warns in the same table that 4 vCPU leaves very little headroom. The Agent-based Installer guide lists 8 vCPU for a single-node cluster, which is where we’d start. One vCPU there means one physical core, or one thread when SMT is on.
| Resource | 5.0 SNO minimum | ABI recommended | VM sized in this guide |
|---|---|---|---|
| vCPU | 4 | 8 | 12 |
| RAM | 16 GB | 16 GB | 32 GB |
| Disk | 120 GB | 120 GB | 150 GB (qcow2, virtio) |
| KVM host | Fedora 45, 16 vCPU, 64 GB RAM, 250 GB disk, nested virtualization on | ||
The finished cluster explains why we went above the minimum. With nothing installed beyond the defaults, the node already held 103 pods, 89 of them running and the rest completed jobs. At idle it used 1.7 cores and 9.1 GiB of RAM, so a 16 GB VM would have been tight before you deployed a single app. Three things push the numbers up from there:
- Day-one operators such as logging, ODF or GitOps, each with its own pods.
- OpenShift Virtualization, which also needs a second local disk of at least 50 GiB.
- The KVM host itself, which needs RAM left over for its own services.
For a node that only runs the console, monitoring and a few test apps, 8 vCPU and 32 GB is comfortable. Plan for 16 vCPU and 64 GB once ODF, logging or VMs land on it, and treat a 64 GB host as room for one SNO VM, not two.
If you’d rather work from the vendor guide offline, Red Hat publishes the same single node document as a PDF alongside the other 5.0 guides. Grab a copy before you start so the sizing tables and the install-config reference are on hand while the cluster builds.
curl -LO https://docs.redhat.com/en/documentation/openshift_container_platform/5.0/pdf/installing_on_a_single_node/OpenShift_Container_Platform-5.0-Installing_on_a_single_node-en-US.pdf
The PDF tracks the HTML guide, so either one works as the reference for the steps that follow.
Prepare the KVM host
Any Fedora or RHEL box with VT-x or AMD-V works. Ours was a Google Cloud n2-standard-16 with nested virtualization enabled, which Google supports on Intel machine series but not on most AMD or Arm ones, so a cloud host needs that flag at create time. On a VM host you own, turn nesting on first with the steps in enabling nested virtualization on KVM. Then install the virtualization group plus HAProxy and the tools the later steps call.
sudo dnf -y install @virtualization virt-install haproxy tar jq bind-utils
sudo systemctl enable --now libvirtd
Let libvirt check the host before you trust it with a 32 GB guest. It takes a second and catches a missing /dev/kvm long before the installer would. That matters because the agent ISO boots either way, so a host without KVM only shows itself as an install that never ends.
sudo virt-host-validate qemu
Every line that matters reads PASS, including the VMX line that proves nested virtualization reached the host. The two WARN lines (IOMMU and secure guest) only matter for PCI passthrough and confidential VMs, and SNO uses neither.

If the hardware virtualization line fails instead, stop here. The agent ISO will still boot under plain QEMU emulation, but an OpenShift install on TCG never finishes inside the installer’s timeouts, so you’d lose an hour finding that out.
Check the root filesystem too. Our Fedora cloud image left its btrfs root at 10 GB on a 250 GB disk, and the 150 GB qcow2 plus the ISO would have filled it mid-install.
df -h /
sudo growpart /dev/sda 3
sudo btrfs filesystem resize max /
growpart ships in the cloud-utils-growpart package, which Fedora Cloud images already carry. Run it and the resize only when df shows the root far smaller than the disk. On a bare metal install the root is usually sized right already, and the partition number may differ on your layout.
Download openshift-install and oc
The stable-5.0 channel on mirror.openshift.com always points at the newest 5.0.z, and the installer binary is pinned to the release it deploys. That means the version you download is the version you get, so check it now rather than after the install. Fetch both tarballs and the checksum file.
mkdir -p ~/dl && cd ~/dl
# https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable-5.0/release.txt
BASE=https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable-5.0
curl -LO ${BASE}/openshift-install-linux.tar.gz
curl -LO ${BASE}/openshift-client-linux.tar.gz
curl -LO ${BASE}/sha256sum.txt
grep -E "openshift-(install|client)-linux.tar.gz" sha256sum.txt | sha256sum -c
Both archives should verify before you unpack anything. A failed check here usually means a truncated download. Delete both files and fetch them again, because a broken installer binary fails in confusing ways later.
openshift-client-linux.tar.gz: OK
openshift-install-linux.tar.gz: OK
Put the binaries on the PATH and confirm which release the installer is wired to. The client comes from the same tarball, so oc and kubectl match the cluster’s API version.
sudo tar -xzf openshift-install-linux.tar.gz -C /usr/local/bin openshift-install
sudo tar -xzf openshift-client-linux.tar.gz -C /usr/local/bin oc kubectl
openshift-install version
oc version --client
Note the release image digest. It’s what the node pulls during the install, and it’s the same digest the console shows later under Cluster Settings. Compare the two if you ever suspect a mirror served the wrong build, since a digest pins the exact payload where a tag can move.
openshift-install 5.0.1
built from commit 8647f26b2920740cea868af125a419d483a277b0
release image quay.io/openshift-release-dev/ocp-release@sha256:a43b861d912fad275f7c1c76cae38c2b5a33f4f1245807b376fe59707d3ef98a
release architecture amd64
Client Version: 5.0.1
Kustomize Version: v5.8.1
Kubernetes 1.36 sits under this release, and the node reported v1.36.5 once it came up.
Create the libvirt network and DNS records
SNO needs three names: api and api-int pointing at the node, and a wildcard under apps for the router. libvirt’s own dnsmasq can serve all three, so you don’t need a separate DNS server. Our cluster is named sno under the base domain lab.example.com, and the node gets a DHCP reservation for 192.168.130.10 tied to the MAC address you’ll give the VM. Create the network definition.
mkdir -p ~/sno && vim ~/sno/ocp-sno-net.xml
The dns host block covers the API names. The wildcard has to go through a raw dnsmasq option, because libvirt’s DNS schema has no wildcard record type. Without it the console and OAuth routes would never resolve, so the install could finish and still leave you unable to log in.
<network xmlns:dnsmasq='http://libvirt.org/schemas/network/dnsmasq/1.0'>
<name>ocp-sno</name>
<forward mode='nat'/>
<bridge name='virbr-sno' stp='on' delay='0'/>
<domain name='sno.lab.example.com' localOnly='yes'/>
<dns>
<host ip='192.168.130.10'>
<hostname>api.sno.lab.example.com</hostname>
<hostname>api-int.sno.lab.example.com</hostname>
<hostname>sno-master-0.sno.lab.example.com</hostname>
</host>
</dns>
<ip address='192.168.130.1' netmask='255.255.255.0'>
<dhcp>
<range start='192.168.130.100' end='192.168.130.200'/>
<host mac='52:54:00:5a:00:10' name='sno-master-0' ip='192.168.130.10'/>
</dhcp>
</ip>
<dnsmasq:options>
<dnsmasq:option value='address=/apps.sno.lab.example.com/192.168.130.10'/>
</dnsmasq:options>
</network>
Define it, mark it autostart so it survives a host reboot, and start it. Skipping autostart is a common way to find the cluster dead after a host kernel update.
sudo virsh net-define ~/sno/ocp-sno-net.xml
sudo virsh net-autostart ocp-sno
sudo virsh net-start ocp-sno
sudo virsh net-list --all
The new network sits next to libvirt’s default one, active and persistent. If ocp-sno shows inactive, net-start failed, usually because the subnet clashes with another bridge.
Name State Autostart Persistent
--------------------------------------------
default active yes yes
ocp-sno active yes yes
Query dnsmasq directly before any VM exists. A wrong name here makes the installer fail much later with a vaguer error, so this is the cheapest place to catch a typo.
for n in api api-int test.apps console-openshift-console.apps; do echo -n "$n.sno.lab.example.com -> "; dig +short @192.168.130.1 $n.sno.lab.example.com; done
All four answer with the node address, and the made-up test.apps name proves the wildcard works. You’ll see the same loop again in the HAProxy section, next to the listening ports.
api.sno.lab.example.com -> 192.168.130.10
api-int.sno.lab.example.com -> 192.168.130.10
test.apps.sno.lab.example.com -> 192.168.130.10
console-openshift-console.apps.sno.lab.example.com -> 192.168.130.10
The cluster itself only ever asks dnsmasq, because the node gets 192.168.130.1 as its resolver from the same DHCP lease. Your host is the one that still needs pointing at it.
Point the host resolver at dnsmasq
The host needs those names too, because openshift-install agent wait-for and oc run there. Fedora uses systemd-resolved, and the clean way is a routing domain on the virbr-sno link so only *.sno.lab.example.com goes to dnsmasq. libvirt recreates the bridge on every network start, so a network hook has to reapply the setting each time. Create the hook file.
sudo mkdir -p /etc/libvirt/hooks && sudo vim /etc/libvirt/hooks/network
libvirt calls it with the network name and the event. Our script only acts when ocp-sno starts, so other networks on the host are left alone.
#!/bin/bash
# Route *.sno.lab.example.com lookups on the host to the ocp-sno dnsmasq
if [ "$1" = "ocp-sno" ] && [ "$2" = "started" ]; then
resolvectl dns virbr-sno 192.168.130.1
resolvectl domain virbr-sno '~sno.lab.example.com'
fi
Make it executable and restart libvirtd so it picks the hook up. libvirt looks for hook scripts when the daemon starts, so skipping the restart leaves the script unused. Then bounce the network once to fire it and check the link.
sudo chmod +x /etc/libvirt/hooks/network
sudo systemctl restart libvirtd
sudo virsh net-destroy ocp-sno && sudo virsh net-start ocp-sno
resolvectl status virbr-sno
The link now carries the dnsmasq server and the ~sno.lab.example.com routing domain. The tilde marks it as a routing domain only, which keeps it out of search lists.
Link 5 (virbr-sno)
Current Scopes: none
Protocols: -DefaultRoute LLMNR=resolve -mDNS -DNSOverTLS
DNSSEC=no/unsupported
Current DNS Server: 192.168.130.1
DNS Servers: 192.168.130.1
DNS Domain: ~sno.lab.example.com
Default Route: no
“Current Scopes: none” is expected while no VM is plugged into the bridge, since resolved ignores a link without carrier. It switches to DNS as soon as the SNO VM boots, and from then on getent hosts api.sno.lab.example.com on the host returns 192.168.130.10.
Write install-config.yaml and agent-config.yaml
Download your pull secret from console.redhat.com/openshift/install/pull-secret. Our lab injected it as an environment variable called REDHAT_PULL_SECRET from a secrets store, so it never sat in an editor buffer or a screenshot. If you only have the downloaded file, set the variable with REDHAT_PULL_SECRET=$(cat ~/Downloads/pull-secret.txt), which keeps the secret itself out of shell history. Then write it to disk with a tight umask so only your user can read it. An unset variable leaves the file empty and the ISO build fails later, so set it first.
umask 077
printf %s "$REDHAT_PULL_SECRET" > ~/sno/pull-secret.json
ssh-keygen -t ed25519 -N "" -f ~/.ssh/sno_ed25519
mkdir -p ~/sno/cluster && vim ~/sno/install-config.yaml.tpl
The SSH key is for the core user, and it’s the only way into the node if the install stalls. For SNO the important lines in the template are these:
controlPlane.replicas: 1andcompute.replicas: 0, which make it a single node.platform: none, since there’s no cloud or vSphere API to drive.machineNetwork, which has to match the libvirt subnet.
OVNKubernetes is the only supported network type. Leave PULL_SECRET and SSH_KEY as literal placeholders, because the next command fills them in.
apiVersion: v1
baseDomain: lab.example.com
metadata:
name: sno
compute:
- name: worker
replicas: 0
controlPlane:
name: master
replicas: 1
networking:
networkType: OVNKubernetes
clusterNetwork:
- cidr: 10.128.0.0/14
hostPrefix: 23
machineNetwork:
- cidr: 192.168.130.0/24
serviceNetwork:
- 172.30.0.0/16
platform:
none: {}
pullSecret: 'PULL_SECRET'
sshKey: 'SSH_KEY'
Render the real file from the template. jq -c squeezes the pull secret onto one line, which is what the single-quoted YAML value expects, and the secret never shows on your screen.
cd ~/sno
sed -e "s|PULL_SECRET|$(jq -c . pull-secret.json)|" -e "s|SSH_KEY|$(cat ~/.ssh/sno_ed25519.pub)|" install-config.yaml.tpl > cluster/install-config.yaml
chmod 600 cluster/install-config.yaml
The agent config tells the ISO which machine is the rendezvous host and how to recognise it. With DHCP handing out the reserved address, you only need the MAC address and a root disk hint, and you can skip networkConfig entirely. Red Hat’s procedure installs nmstatectl on the host first, but without networkConfig our image built fine without it. Open the file.
vim ~/sno/cluster/agent-config.yaml
metadata.name must match the cluster name in install-config.yaml, and the MAC address must match the one in the DHCP reservation. A mismatch on either leaves the agent waiting for a host that never shows up.
apiVersion: v1beta1
kind: AgentConfig
metadata:
name: sno
rendezvousIP: 192.168.130.10
hosts:
- hostname: sno-master-0
role: master
interfaces:
- name: enp1s0
macAddress: 52:54:00:5a:00:10
rootDeviceHints:
deviceName: /dev/vda
Keep the template and a copy of agent-config.yaml outside the cluster directory. The installer consumes both files and deletes them, so a second ISO build needs fresh copies.
Build the agent ISO
The installer pulls the RHCOS base image out of the release payload, then embeds your configs and an ignition for the agent. Run it from the directory that holds both YAML files.
cd ~/sno/cluster
time openshift-install --dir . agent create image
It finished in just under a minute on our host. The first line confirms the single-replica topology, and the cache path shows the base is a CoreOS 10 image.

The result is an 804 MB agent.x86_64.iso plus an auth/ directory holding the kubeconfig and the kubeadmin password. Back that directory up now. The password is generated here, not on the node, and there’s no other copy.
Boot the SNO VM from the ISO
Copy the ISO into libvirt’s image directory so it gets the right SELinux label, then create the VM with the reserved MAC address. --boot hd,cdrom lets the empty disk fall through to the ISO on first boot, and host-passthrough gives RHCOS 10 the host’s full CPU feature set.
sudo cp ~/sno/cluster/agent.x86_64.iso /var/lib/libvirt/images/sno-agent.iso
sudo virt-install --name sno-master-0 \
--memory 32768 --vcpus 12 --cpu host-passthrough \
--os-variant rhel10.0 \
--disk path=/var/lib/libvirt/images/sno-master-0.qcow2,size=150,bus=virtio,cache=none,io=native \
--cdrom /var/lib/libvirt/images/sno-agent.iso --boot hd,cdrom \
--network network=ocp-sno,mac=52:54:00:5a:00:10,model=virtio \
--graphics vnc,listen=127.0.0.1 --noautoconsole
Follow the progress from the host. The first wait command reads the agent’s REST API on port 8090 and reports each install stage, so you can watch the node write RHCOS to its disk.
cd ~/sno/cluster
openshift-install --dir . agent wait-for bootstrap-complete --log-level=info
Here’s where our run stalled. After “Writing image to disk: 100%” the node rebooted, and the VM stayed shut off. With --noautoconsole, virt-install has already exited by the guest’s first reboot, and libvirt powers the install-time domain off instead of restarting it. The wait command goes quiet, and an SSH attempt to the node fails with “No route to host”. Start the domain by hand and mark it autostart.
sudo virsh start sno-master-0
sudo virsh autostart sno-master-0
The node boots from disk this time and the bootstrap carries on. In our run the VM launched at 16:25 UTC and bootstrap completed at 16:48, about a minute after the manual start.

Now wait for the operators. This second command polls the cluster API rather than the agent, and it gives the cluster 40 minutes to initialise plus 30 more for operators to settle.
openshift-install --dir . agent wait-for install-complete
Ours printed “Install complete!” at 17:20 UTC, 32 minutes after bootstrap. It ends with the console URL and the kubeadmin login, which we’ve redacted.

If either wait sits on the same message for more than 20 minutes, SSH to the node as core with the key from install-config.yaml and read journalctl -u agent. The agent logs name the failing validation, which wait-for often hides.
Expose the API and console with HAProxy
The node lives on a NAT network, so nothing outside the KVM host can reach 192.168.130.10. HAProxy in TCP mode on the host forwards 6443, 443 and 80 to the node without touching TLS, which keeps the cluster’s own certificates intact. Open the config.
sudo vim /etc/haproxy/haproxy.cfg
Replace the contents with three frontend and backend pairs. Every backend carries a -be suffix, and the errors section explains why HAProxy on Fedora 45 insists on it.
global
log 127.0.0.1 local2
maxconn 4000
daemon
defaults
mode tcp
log global
option tcplog
timeout connect 10s
timeout client 1m
timeout server 1m
frontend sno-api
bind *:6443
default_backend sno-api-be
backend sno-api-be
server sno-master-0 192.168.130.10:6443 check
frontend sno-https
bind *:443
default_backend sno-https-be
backend sno-https-be
server sno-master-0 192.168.130.10:443 check
frontend sno-http
bind *:80
default_backend sno-http-be
backend sno-http-be
server sno-master-0 192.168.130.10:80 check
SELinux blocks HAProxy from connecting to 6443 by default, so flip the boolean first. Ports 80 and 443 are already labelled for web servers, which is why only the API backend would fail without it. Then validate the file and start the service.
sudo setsebool -P haproxy_connect_any 1
sudo haproxy -c -f /etc/haproxy/haproxy.cfg
sudo systemctl enable --now haproxy
sudo ss -tlnp | grep haproxy
HAProxy listens on all three ports on every interface, and the dnsmasq loop from earlier still answers for every cluster name.

If firewalld runs on your host, open 80, 443 and 6443/tcp. Then point LAN clients at the KVM host’s address (10.0.1.50 here) for the cluster names, either in your LAN DNS or in each client’s hosts file.
10.0.1.50 api.sno.lab.example.com console-openshift-console.apps.sno.lab.example.com oauth-openshift.apps.sno.lab.example.com
Don’t forget the oauth-openshift name. Without it the console page loads, but the login redirect fails in the browser and you’re left staring at a blank tab. We tested this path from a separate machine, and the API’s /version endpoint answered v1.36.5 through HAProxy.
Log in and check the cluster
Log in with the kubeadmin password from the auth/ directory. The API certificate is signed by the cluster’s own CA, which your workstation doesn’t trust yet, so we passed --insecure-skip-tls-verify for this first login and oc warned about it as expected.
oc login -u kubeadmin -p "$(cat ~/sno/cluster/auth/kubeadmin-password)" https://api.sno.lab.example.com:6443 --insecure-skip-tls-verify=true
oc get clusterversion
oc get nodes -o wide
oc adm top node
The login reported access to 74 projects. One node holds all three roles (control-plane, master and worker) and runs RHCOS 10.2 on kernel 6.12 with CRI-O 1.36. At idle it used 15% of its CPU and 30% of its memory, which is the overhead you pay before any app runs.

Next, check the cluster operators. Every one should read Available=True, Progressing=False and Degraded=False before you hand the cluster to anyone. A degraded operator on SNO has no second replica to fail over to, so treat any False under AVAILABLE as a real fault.
oc get co
All 34 operators reported 5.0.1 and none was progressing or degraded by the time wait-for returned. If one line still shows True under PROGRESSING on your cluster, give it a few minutes before you dig in.

Open https://console-openshift-console.apps.sno.lab.example.com from a LAN machine and log in as kubeadmin. The Nodes page under Compute shows the same single node, with 89 running pods and about a third of its memory in use.

Your cluster’s licence status lives on a page that’s easy to miss. Expand Administration in the left menu and open Cluster Settings.

- 1Cluster Settings
- 2stable-5.0 channel
- 3Self-support, 60 day trial
The page shows the stable-5.0 channel next to the current version, and the SLA reads Self-support, 60 day trial with 59 days remaining. A cluster installed with a free pull secret is an evaluation, so attach a subscription in OpenShift Cluster Manager before the countdown runs out if you’ll keep it. The ClusterOperators tab on the same page lists the 34 operators you checked with oc get co.

The banner across the top is worth acting on too. kubeadmin is a temporary user, so add an identity provider (htpasswd is enough for a lab) and give your own account cluster-admin before you share the cluster. The kubeadmin password grants cluster-admin to anyone who has it, so remove the kubeadmin secret once your own admin login works.
Fix the errors we hit on the Fedora host
Four things broke during our build, and none of them was an OpenShift bug. Each one below has the exact message or symptom, so you can match it against your own logs.
backend ‘sno-api’ has the same name as frontend ‘sno-api’
Older OpenShift HAProxy examples name each frontend and backend pair the same. Fedora 45 ships HAProxy 3.4, and it refuses that config outright.
[ALERT] (4202) : config : Parsing [/etc/haproxy/haproxy.cfg:18]: backend 'sno-api' has the same name as frontend 'sno-api' declared at /etc/haproxy/haproxy.cfg:14. This is no longer supported as of 3.3. Please rename one or the other.
[ALERT] (4202) : config : Error(s) found in configuration file : /etc/haproxy/haproxy.cfg
Renaming every backend with a -be suffix, as in the config above, fixes it. Run haproxy -c after any copy-pasted config, because systemd only tells you the unit failed and never says why. Plenty of older guides still show the shared names, so check any config you copy from them.
resolve call failed: Name ‘api.sno.lab.example.com’ not found
Our first attempt put DNS=192.168.130.1 and Domains=~sno.lab.example.com in a global resolved drop-in. On a cloud host the global scope already holds the provider’s resolver as the current server, so resolved asked it and got NXDOMAIN while dig @192.168.130.1 worked fine. Per-link settings on virbr-sno win over the global list, which is why the guide sets them through the libvirt hook instead.
VM shut off after “Writing image to disk: 100%”
Nothing in the installer output says the VM is off, which makes this one easy to misread as a network fault. The bootstrap wait simply stops printing after the 100% line, and ssh [email protected] answers “No route to host”. Run sudo virsh list --all, and if sno-master-0 shows “shut off”, start it and set autostart as shown in the boot section.
Root filesystem stuck at 10 GB
The Fedora cloud image didn’t grow its btrfs root to the 250 GB disk on first boot. A 150 GB qcow2 is thin, so the VM starts fine and only fails later when the image grows past the free space. The growpart and btrfs filesystem resize pair from the host prep section fixes it, and it’s safe to run on a mounted root.
Choose between SNO, CRC and MicroShift
SNO gives you the full OpenShift platform, with operators, the console and the same upgrade path as a big cluster, at the cost of one fat VM and no control-plane redundancy. If you only need a laptop sandbox, OpenShift Local with CRC is lighter, and for edge devices MicroShift on Fedora drops most of the platform. When you outgrow one node, the same two-file workflow scales to three control planes in our guide to deploying OpenShift on KVM with the Agent-based Installer. The OpenShift books list covers the admin side once your cluster is up.