Skip to main content

Cockpit OpenShift

cockpit-openshift is a Cockpit plugin for guided OpenShift SNO and compact cluster deployment on one KVM/libvirt host. The plugin keeps host inputs, generated installer artifacts, VM plans, deployment status, and post-install inventory in one local operator surface.

License: GPL-3.0OpenShift 4.21.7Cockpit pluginKVM and libvirtRHEL 10

Quick Start

sudo dnf install -y rpm-build
cd /path/to/cockpit-openshift
./build-rpm.sh
sudo dnf install -y ./rpmbuild/RPMS/noarch/cockpit-openshift-0.1.0-1.el10.noarch.rpm

The exact RPM filename depends on the build host distribution suffix.

Current Support

The validated path is intentionally narrow. Use the table to check whether the current workflow matches the host and topology you plan to run.

AreaCurrent path
Architecturex86_64
Networkingstatic node networking
TopologiesSNO with one control-plane node, compact with three control-plane nodes
Storage poolsdirectory-backed and logical libvirt storage pools

DHCP is modeled in the UI, but it is not yet validated. Treat static node networking as the supported path until DHCP is proven end to end.

Install Model

Cockpit OpenShift is installed on the KVM/libvirt host that will run the local OpenShift workflow. The backend owns installer downloads, generated artifacts, libvirt VM creation, status tracking, and cluster inventory under /var/lib/cockpit-openshift/.

The operator provides the pull secret, SSH public key, DNS, VIPs, and node IPs. The UI redacts the pull secret in generated YAML previews.

Operator Screens

Cockpit OpenShift install workflow
The create flow keeps cluster identity, networking, generated YAML, and deployment review in one workspace.
Cockpit OpenShift fleet view
The fleet view keeps cluster inventory, cluster type, version, provider, and action routing visible after deployment.

First Workflow

  1. Choose the single-node topology.
  2. Provide cluster identity, pull secret, SSH key, DNS, API VIP, ingress VIP, and static node networking.
  3. Review generated installer artifacts.
  4. Deploy from the final review step.

Workflow Shape

The workflow keeps host preparation, guided input, artifact review, deployment, and post-install inventory in one local operator surface.

01

Prepare

Confirm Cockpit, libvirt, storage, DNS, pull secret, SSH key, node IPs, and VIPs.

Host and input model ready
02

Create

Choose SNO or compact topology, then enter cluster identity and static networking.

Cluster intent captured
03

Review

Inspect installer YAML, guest plan, discovery plan, and the generated virt-install plan.

Generated artifacts verified
04

Deploy

Launch from Cockpit, track status, return to inventory, reprovision, or destroy.

Cluster state tracked

Explore

What The Plugin Covers

  • guided OpenShift SNO deployment
  • guided OpenShift compact deployment
  • self-contained local backend for installer artifacts, libvirt storage, and domain creation
  • rendered install-config.yaml, agent-config.yaml, guest plan, and virt-install plan review
  • deployment status, recent output, and deployed-cluster inventory
  • reprovision and destroy actions from the UI