Skip to content

CAI Field Manual for MaaS

Deploy RHOAI 3.4/3.5 Models-as-a-Service on OpenShift 4.19+ — Kustomize manifests with status gates and a single automation script.

Guide to deploy Red Hat OpenShift AI 3.4 / 3.5 Models as a Service on OpenShift.

  • Kustomize manifests with status gates between every phase
  • Single automation script for end-to-end deployment
  • CPU-only simulator model for validation without GPUs

Requires OpenShift 4.19+ with cluster-admin access.

Note

OpenShift 5: MaaS runs on OpenShift 5.0, but two operators need a different catalog and channel than the manifests assume. See Running MaaS on OpenShift 5.

Note

RHCL 1.5: MaaS on RHOAI 3.5.2 was validated with RHCL 1.5.0 and the GA MCP Gateway on the same cluster. See Running MaaS with RHCL 1.5 for the fixes it needs.

Important

This guide is not a replacement for the official Red Hat OpenShift AI Models as a Service documentation (3.5 | 3.4). It is a companion resource with opinionated Kustomize manifests and automation scripts to accelerate deployment.

Note

Open the Install & Configuration Visualizer (opens in new tab) 4 Flows | 9 Phases | Governance Pairing | Tiers & Priority | 30+ Components An animated, click-to-inspect walkthrough of the full install sequence, the most common ordering mistake, and how MaaSModelRef/MaaSAuthPolicy/MaaSSubscription pair up. Handy for explaining the moving parts to a customer before you touch a cluster.

Getting Started

Clone the repository and work from its root directory. All commands and file paths in this guide are relative to the cloned repo.

git clone https://github.com/rh-aiservices-bu/CAI-Field-Manual-MaaS.git
cd CAI-Field-Manual-MaaS

You also need:

  • OpenShift 4.19+ cluster with oc CLI authenticated as cluster-admin
  • envsubst, curl, jq available on PATH

Phases

Each phase has step-by-step instructions, status gates, and troubleshooting.

Disconnected Setup

PhaseDescriptionTime
0. Disconnected Setup (air-gapped only)Mirror MaaS operators and images, ITMS for modelcars, WASM shim patch, GPU driver setup30-60 min

Installation Guide

PhaseDescriptionTime
1. PrerequisitesOperator subscriptions (RHOAI, RHCL, cert-manager, LWS)5-10 min
2. Platform ConfigurationKuadrant/Authorino, User Workload Monitoring, GatewayClass, Gateway5-10 min
3. MaaS PlatformPostgreSQL database and secrets5 min
4. RHOAI ConfigurationDataScienceCluster, DSCInitialization, Dashboard settings5-10 min

Model Deployment & Verification

PhaseDescriptionTime
5. Model DeploymentDeploy and register LLM models with MaaS1-15 min
6. VerificationEnd-to-end checks (API keys, inference, rate limiting)5 min

Observability

PhaseDescriptionTime
7. Observability (optional)COO subscription + Gateway telemetry dashboards5 min

External Models

PhaseDescriptionTime
8. External Models (optional)Expose third-party LLM APIs (OpenAI, Bedrock, Gemini) through the MaaS gateway5-10 min

External OIDC Authentication

PhaseDescriptionTime
9. External OIDC Authentication (optional)Integrate MaaS with Keycloak or other OIDC providers for corporate authentication10-15 min

Automated Setup

For end-to-end deployment using a single script, see the Automated Setup page.

Available Models

ModelGPU RequiredVRAMUse Case
simulatorNoNoneTesting/demo (CPU-only)
granite-tiny-gpuYes~8 GiBSmall GPU (L4, L40)
gemmaYes~12 GiBMid GPU (L4, L40, L40S)
gpt-oss-20bYes~16 GiBLarge model, runs quantized (L4 24 GB, L40S, A100)
qwen3-06bNoNone (~16 GiB RAM)Real CPU inference (no GPU needed)

Documentation

setup-maas.sh is a single script that handles the entire MaaS lifecycle, from operator installation through model deployment and verification.

Additional steps to deploy Red Hat OpenShift AI Models as a Service on an air-gapped (disconnected) OpenShift cluster.

Phases 1–4 — prerequisites, platform configuration, MaaS platform infrastructure, and RHOAI configuration.

The ExternalModel CRD lets you expose third-party LLM APIs (OpenAI, AWS Bedrock, Google Gemini, Anthropic, Azure OpenAI, etc.) through the MaaS gateway.

Platform upgrade steps and post-upgrade troubleshooting for moving a MaaS install from 3.4 to 3.5.

Field notes from the first end-to-end MaaS install on OpenShift 5.0 — what carries over unchanged and the seven issues with workarounds.

Field notes from installing Red Hat OpenShift AI 3.5.2 MaaS on Red Hat Connectivity Link (RHCL) 1.5.0, side by side with the MCP Gateway GA that ships inside RHCL 1.5.

Architecture, request deep dive, API key security, multi-tenancy, CORS, and model swap.

Demo walkthroughs — rate limiting, OIDC, subscription priority — plus the corporate scenario.

Remove Red Hat OpenShift AI Models as a Service and its dependencies from your OpenShift cluster with the cleanup script or manual oc commands.

Changes to the Red Hat OpenShift AI Models as a Service companion guide since the project started in June 2026.