Skip to main content

Cockpit MicroShift

cockpit-microshift is a Cockpit plugin for guided single-node MicroShift deployment. It installs onto an existing RHEL host over SSH, or creates a local libvirt guest first and then applies the same in-guest RPM-based MicroShift install model.

License: GPL-3.0MicroShift 4.21Cockpit pluginKVM and libvirtRHEL 9 or 10

Quick Start

sudo dnf install -y rpm-build
cd /path/to/cockpit-microshift
./build-rpm.sh
sudo dnf install -y ./rpmbuild/RPMS/noarch/cockpit-microshift-*.noarch.rpm

Use the RPM path when you want a package-managed local install.

Current Support

AreaCurrent path
MicroShift4.21
Architecturex86_64
Cluster shapesingle-node
Networkingstatic host and guest networking
Existing targetRHEL host over SSH
Local targetlibvirt/KVM guest created on the Cockpit host
Local storagedirectory-backed or logical libvirt pools

Install Model

The final MicroShift installation follows the Red Hat Build of MicroShift host-based RPM model. The create-host path is a convenience layer: it creates a RHEL guest first, waits for SSH, and then runs the same in-guest install flow used by an existing host.

Operator Screens

Cockpit MicroShift installer view
The create flow keeps target selection, repository access, host preparation, artifact review, and deployment status in one workspace.
Cockpit MicroShift host deployment workflow
The workflow stays host-first: validate the target, render artifacts, install MicroShift, then return for inventory, access, and cleanup.

First Workflow

  1. Choose Use an existing RHEL host.
  2. Provide SSH host, SSH user, SSH key path, registry authentication, and the repository access mode.
  3. Review the rendered config.yaml, request summary, and install plan.
  4. Start the deployment and watch status from the same Cockpit page.

Workflow Shape

01

Prepare

Confirm Cockpit, SSH access, registry authentication, repository access, and host networking.

Target model ready
02

Create

Choose an existing host or local libvirt guest, then enter host, network, and MicroShift settings.

Deployment intent captured
03

Review

Inspect rendered config, install plan, request summary, and create-host provisioning artifacts.

Generated artifacts verified
04

Install

Run the RPM-based install, track status, retrieve kubeconfig details, rebuild, or destroy local guests.

Local state tracked

Explore

What The Plugin Covers

  • guided MicroShift deployment onto an existing RHEL host over SSH
  • optional local libvirt guest creation before the in-guest install
  • rendered config.yaml, request summary, install plan, cloud-init inputs, and virt-install plan review
  • deployment status, recent output, kubeconfig retrieval, and local inventory
  • destroy and clean rebuild actions for local create-host deployments