OpenShift Lightspeed can investigate alerts without automatically applying fixes
A Red Hat walkthrough for OpenShift 5 shows how to let Lightspeed 2 diagnose a failed image pull while keeping cluster changes behind manual approval.
Red Hat’s Nov. 23 walkthrough shows how platform teams can evaluate alert-driven troubleshooting in OpenShift Lightspeed 2 without letting the agent apply a fix on its own. The feature is a Technology Preview on OpenShift 5.0 or later. Red Hat does not recommend it for production and does not cover it under production service-level agreements.
Choosing what starts and what stops
Two settings have different jobs. The alerts adapter determines which alerts can start an investigation, using Alertmanager receiver names, not severity labels. The example watches the receiver named Critical; on a cluster with custom routing, that name is not a substitute for checking where the alerts actually go. By default, no alerts trigger automatic investigations.
The approval policy determines what happens after a matching alert creates an AgenticRun. Without a policy, every stage waits for manual approval. In the walkthrough, analysis, verification and escalation can run automatically, but execution pauses for a human decision. Approval applies to the entire stage, not to individual commands. The agent investigates with cluster-wide read access, while remediation runs in a temporary sandbox with permissions scoped to the task. The walkthrough gives the controller broad privileges for the lab; those controller privileges are separate from the permissions a sandbox receives.
What the test demonstrates
Red Hat uses a Deployment with a misspelled container image. After the image-pull alert fires, the agent inspects the pods and events, diagnoses the image reference, and proposes correcting it. The console lets the reviewer inspect the proposed changes and scoped permissions before approving execution. In the example, the agent then updates the Deployment and verifies that the replacement pod becomes ready.
For a nonproduction evaluation, start with a failure your team already understands. Compare the diagnosis against cluster evidence, read the whole remediation plan before approving it, and check the rollout independently rather than relying on the agent’s summary. The walkthrough notes that the alert may take longer to clear than the rollout takes to finish. Those are two separate checks, and the gap is worth accounting for when judging the result.
sources
- Red Hat Developer: Configure Red Hat OpenShift Lightspeed autonomous agentsdevelopers.redhat.com
comments · 0