Red Hat OpenShift doesn't stop at the cloud boundary. Telecommunications providers, government agencies, and financial institutions run OpenShift in environments that are intentionally air-gapped — and keeping those clusters healthy has always been the hard part. Pen drive is here to fix that. Disconnected or restricted Kubernetes clusters suffer from a common issue: isolation makes them prone to configuration drift and issue buildup over time. This increases the risk of production incidents during Day-2 operations.

Pen drive is a single-Podman image tool that provides a streamlined toolbox for cluster state analysis. It delivers an offline version of Red Hat Lightspeed advisor, enhanced with over 1,000 proactive recommendations for debugging cluster architecture, scalability, performance, and day-to-day maintenance. Pen drive also includes Cluster Compare capabilities, as part of Red Hat OpenShift, for blueprint-based cluster drift analysis and partner recommendations. Additionally, a lightweight direct state validation mode provides safe analytics in live environments.

In-cluster check capabilities

Let's start with the in-cluster-check capability, the least resource intensive option available. In this mode, the tool executes a targeted set of commands to provide basic cluster health analysis. Co-developed with our partner Nokia, this mode was originally designed for telecommunication clusters, but its low footprint made it a valuable addition for all environments. It checks key operational areas, including hardware and firmware inventory (figure 1), hostgroup consistency, and baseline cluster health (figure 2).

Pen drive hardware inventory.

Red Hat and partner field teams actively contribute to this recommendation set based on a collaborative knowledge model.

Pen drive in-cluster checks examples.

Kube-compare capabilities

Kube-compare run performs cluster drift analysis by comparing actual cluster configurations against a pre-existing cluster blueprint provided by Red Hat or a partner in the Red Hat Design System blueprint (figure 3).

Kube-compare integration in pen drive example.

Full run capabilities

The full run option collects and analyses an optimised must-gather archive, inspecting the last 24 hours of cluster metrics, configurations, logs, and other resources. The option provides the most comprehensive look at the cluster's state and drift, complete with proactive recommendations for problem resolution (figure 4).

Detailed remediations example.

How does it work?

The pen drive tool is designed to run at any location that has connectivity with the actual cluster to be checked using the Podman toolchain. You can download the image directly from the Red Hat Ecosystem Catalog and load it onto a USB-drive, laptop, jump host, Red Hat Advanced Cluster Manager Hub cluster, or a cluster itself.

Once downloaded, the tool supports both interactive and non-interactive commands across the following workflows:

  1. full-run: An optimized workflow that collects lightweight must-gather data while fetching default must-gather pod logs directly from the cluster. It then scans against Red Hat Lightspeed rules, in-cluster rules, and kube-compare (if cluster reference is given).
  2. gather: Collects comprehensive must-gather data from the cluster for offsite or delayed.
  3. scan: Scans Red Hat Lightspeed rules against an existing must-gather archive.
  4. in-cluster-check: A lightweight run that executes direct rule checks on cluster nodes without collecting must-gather data. Preferred for live traffic environments with minimal cluster impact.
  5. kube-compare: Detects configuration drift by comparing the live cluster against a mounted reference directory containing a known baseline configuration.

The analysis generates both a JSON file (suitable for automation and parsing for instance in workflow management tools) and a standalone, user-friendly HTML file that highlights key findings and recommendations derived from these.

Conclusion

Sized at just a few hundred megabytes of data, pen drive is a compact yet powerful addition to any Red Hat OpenShift DevOps engineer's toolkit. Because it operates entirely offline, it is well-suited for even the most restricted and isolated environments. Pen drive, powered by Red Hat Lightspeed, is available to all Red Hat OpenShift subscribers. Download the image today and give it a try!

Produkttest

Red Hat OpenShift Container Platform | Testversion

Eine konsistente Hybrid Cloud-Basis für die Erstellung und Skalierung containerisierter Anwendungen.

Über den Autor

Red Hatter since 2010, Dosek's professional career started with virtualization technologies and transformed via variety of roles at Red Hat through to hybrid cloud. His focus is at improving product experience with assistance of Red Hat Insights.

UI_Icon-Red_Hat-Close-A-Black-RGB

Mehr erfahren

Nach Thema durchsuchen

automation icon

Automatisierung

Das Neueste zum Thema IT-Automatisierung für Technologien, Teams und Umgebungen

AI icon

Künstliche Intelligenz

Erfahren Sie das Neueste von den Plattformen, die es Kunden ermöglichen, KI-Workloads beliebig auszuführen

open hybrid cloud icon

Open Hybrid Cloud

Erfahren Sie, wie wir eine flexiblere Zukunft mit Hybrid Clouds schaffen.

security icon

Sicherheit

Erfahren Sie, wie wir Risiken in verschiedenen Umgebungen und Technologien reduzieren

edge icon

Edge Computing

Erfahren Sie das Neueste von den Plattformen, die die Operations am Edge vereinfachen

Infrastructure icon

Infrastruktur

Erfahren Sie das Neueste von der weltweit führenden Linux-Plattform für Unternehmen

application development icon

Anwendungen

Entdecken Sie unsere Lösungen für komplexe Herausforderungen bei Anwendungen

Virtualization icon

Virtualisierung

Erfahren Sie das Neueste über die Virtualisierung von Workloads in Cloud- oder On-Premise-Umgebungen