CAI Field Manual for MaaS
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.
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.
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.
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.
You also need:
- OpenShift 4.19+ cluster with
ocCLI authenticated as cluster-admin envsubst,curl,jqavailable on PATH
Phases
Each phase has step-by-step instructions, status gates, and troubleshooting.
Disconnected Setup
| Phase | Description | Time |
|---|---|---|
| 0. Disconnected Setup (air-gapped only) | Mirror MaaS operators and images, ITMS for modelcars, WASM shim patch, GPU driver setup | 30-60 min |
Installation Guide
| Phase | Description | Time |
|---|---|---|
| 1. Prerequisites | Operator subscriptions (RHOAI, RHCL, cert-manager, LWS) | 5-10 min |
| 2. Platform Configuration | Kuadrant/Authorino, User Workload Monitoring, GatewayClass, Gateway | 5-10 min |
| 3. MaaS Platform | PostgreSQL database and secrets | 5 min |
| 4. RHOAI Configuration | DataScienceCluster, DSCInitialization, Dashboard settings | 5-10 min |
Model Deployment & Verification
| Phase | Description | Time |
|---|---|---|
| 5. Model Deployment | Deploy and register LLM models with MaaS | 1-15 min |
| 6. Verification | End-to-end checks (API keys, inference, rate limiting) | 5 min |
Observability
| Phase | Description | Time |
|---|---|---|
| 7. Observability (optional) | COO subscription + Gateway telemetry dashboards | 5 min |
External Models
| Phase | Description | Time |
|---|---|---|
| 8. External Models (optional) | Expose third-party LLM APIs (OpenAI, Bedrock, Gemini) through the MaaS gateway | 5-10 min |
External OIDC Authentication
| Phase | Description | Time |
|---|---|---|
| 9. External OIDC Authentication (optional) | Integrate MaaS with Keycloak or other OIDC providers for corporate authentication | 10-15 min |
Automated Setup
For end-to-end deployment using a single script, see the Automated Setup page.
Available Models
| Model | GPU Required | VRAM | Use Case |
|---|---|---|---|
simulator | No | None | Testing/demo (CPU-only) |
granite-tiny-gpu | Yes | ~8 GiB | Small GPU (L4, L40) |
gemma | Yes | ~12 GiB | Mid GPU (L4, L40, L40S) |
gpt-oss-20b | Yes | ~16 GiB | Large model, runs quantized (L4 24 GB, L40S, A100) |
qwen3-06b | No | None (~16 GiB RAM) | Real CPU inference (no GPU needed) |
Documentation
- RHOAI 3.5 MaaS Official Docs
- RHOAI 3.4 MaaS Official Docs
- Upstream MaaS Documentation
- Upstream MaaS Architecture
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.
Phases 5–6 — deploy MaaS models with governance, then run the end-to-end verification suite.
This phase installs the optional observability operators and configuration.
The ExternalModel CRD lets you expose third-party LLM APIs (OpenAI, AWS Bedrock, Google Gemini, Anthropic, Azure OpenAI, etc.) through the MaaS gateway.
Integrate MaaS authentication with corporate OIDC identity providers like Keycloak, Okta, or Azure AD so users can access MaaS with their corporate credentials.
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.
Skill definitions that provide AI-assisted MaaS installation and end-to-end verification with any AI coding tool.
MaaS:PAL is a Red Hat AI Community Plugin that tests a Models as a Service setup on a live cluster through its user-facing APIs.