Cloud Experts Documentation

Using OpenShift Lightspeed with ARO

This content is authored by Red Hat experts, but has not yet been tested on every supported configuration.

This guide walks through setting up OpenShift Lightspeed backed by Azure AI Foundry services for the LLM.

Prerequisites

  • An ARO Cluster is already installed.
  • Permissions to use/register Microsoft Cognitive Services

Command line tools used in this guide:

  • aws cli
  • jq

Set up environment

Create environment variables.

Install the necessary operator, OpenShift Lightspeed Operator from OpenShift console.

Prepare the LLM for serving OpenShift Lightspeed

  1. Create the Azure Cognitive Service.

  2. Create the deployment. In this case we will use the model gpt-4o-mini.

  3. Validate the deployment exists.

  4. Retrieve the endpoint’s url and api-token.

  5. We must use an app registration to get access to the AI service.

  6. Prepare the data, since this must be encoded base 64.

OpenShift LightSpeed Configuration

  1. Create the secret with the credentials and the OLSConfig.

  2. We should wait a couple of minutes until the lightspeed pod server is running.

Test.

To test, try querying the OpenShift Lightspeed in ARO. Using OpenShift Lightspeed

Cleanup

  1. Delete OpenShift configurations

  2. Uninstall the OpenShift Lightspeed Operator from the Operator Hub in the OpenShift console.

  3. Delete the cognitive services account and the service principal

Interested in contributing to these docs?

Collaboration drives progress. Help improve our documentation The Red Hat Way.

Red Hat logo LinkedIn YouTube Facebook Twitter

Products

Tools

Try, buy & sell

Communicate

About Red Hat

We’re the world’s leading provider of enterprise open source solutions—including Linux, cloud, container, and Kubernetes. We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Subscribe to our newsletter, Red Hat Shares

Sign up now
© 2026 Red Hat