# 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.

---

LLMS index: [llms.txt](/CAI-Field-Manual-MaaS/llms.txt)

---

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](/CAI-Field-Manual-MaaS/maas/openshift5/).

> [!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](/CAI-Field-Manual-MaaS/maas/rhcl-15/) 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](https://docs.redhat.com/en/documentation/red_hat_openshift_ai_self-managed/3.5/html/govern_llm_access_with_models-as-a-service/index) | [3.4](https://docs.redhat.com/en/documentation/red_hat_openshift_ai_self-managed/3.4/html/govern_llm_access_with_models-as-a-service/index)). It is a companion resource with opinionated Kustomize manifests and automation scripts to accelerate deployment.

> [!NOTE]
> 
<a href="/CAI-Field-Manual-MaaS/visualizers/install-flow.html" target="_blank" rel="noopener">Open the Install &amp; Configuration Visualizer</a>
 (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.

```sh
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

| Phase | Description | Time |
| --- | --- | --- |
| [0. Disconnected Setup](/CAI-Field-Manual-MaaS/maas/disconnected/) _(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](/CAI-Field-Manual-MaaS/maas/installation-guide/prerequisites/) | Operator subscriptions (RHOAI, RHCL, cert-manager, LWS) | 5-10 min |
| [2. Platform Configuration](/CAI-Field-Manual-MaaS/maas/installation-guide/platform-config/) | Kuadrant/Authorino, User Workload Monitoring, GatewayClass, Gateway | 5-10 min |
| [3. MaaS Platform](/CAI-Field-Manual-MaaS/maas/installation-guide/maas-platform/) | PostgreSQL database and secrets | 5 min |
| [4. RHOAI Configuration](/CAI-Field-Manual-MaaS/maas/installation-guide/rhoai-config/) | DataScienceCluster, DSCInitialization, Dashboard settings | 5-10 min |

### Model Deployment & Verification

| Phase | Description | Time |
| --- | --- | --- |
| [5. Model Deployment](/CAI-Field-Manual-MaaS/maas/model-deployment/maas-models/) | Deploy and register LLM models with MaaS | 1-15 min |
| [6. Verification](/CAI-Field-Manual-MaaS/maas/model-deployment/verification/) | End-to-end checks (API keys, inference, rate limiting) | 5 min |

### Observability

| Phase | Description | Time |
| --- | --- | --- |
| [7. Observability](/CAI-Field-Manual-MaaS/maas/observability/) _(optional)_ | COO subscription + Gateway telemetry dashboards | 5 min |

### External Models

| Phase | Description | Time |
| --- | --- | --- |
| [8. External Models](/CAI-Field-Manual-MaaS/maas/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](/CAI-Field-Manual-MaaS/maas/external-oidc/) _(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](/CAI-Field-Manual-MaaS/maas/quick-start/) 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](https://docs.redhat.com/en/documentation/red_hat_openshift_ai_self-managed/3.5/html/govern_llm_access_with_models-as-a-service/index)
* [RHOAI 3.4 MaaS Official Docs](https://docs.redhat.com/en/documentation/red_hat_openshift_ai_self-managed/3.4/html/govern_llm_access_with_models-as-a-service/index)
* [Upstream MaaS Documentation](https://opendatahub-io.github.io/models-as-a-service/latest/)
* [Upstream MaaS Architecture](https://opendatahub-io.github.io/models-as-a-service/latest/concepts/architecture/)

---

Section pages:

- [Automated Setup](/CAI-Field-Manual-MaaS/maas/quick-start/): setup-maas.sh is a single script that handles the entire MaaS lifecycle, from operator installation through model deployment and verification.
- [Phase 0: Disconnected Setup](/CAI-Field-Manual-MaaS/maas/disconnected/): Additional steps to deploy Red Hat OpenShift AI Models as a Service on an air-gapped (disconnected) OpenShift cluster.
- [Installation Guide](/CAI-Field-Manual-MaaS/maas/installation-guide/): Phases 1–4 — prerequisites, platform configuration, MaaS platform infrastructure, and RHOAI configuration.
- [Model Deployment & Verification](/CAI-Field-Manual-MaaS/maas/model-deployment/): Phases 5–6 — deploy MaaS models with governance, then run the end-to-end verification suite.
- [Phase 7: Observability (Optional)](/CAI-Field-Manual-MaaS/maas/observability/): This phase installs the optional observability operators and configuration.
- [Phase 8: External Models (Optional)](/CAI-Field-Manual-MaaS/maas/external-models/): The ExternalModel CRD lets you expose third-party LLM APIs (OpenAI, AWS Bedrock, Google Gemini, Anthropic, Azure OpenAI, etc.) through the MaaS gateway.
- [Phase 9: External OIDC Authentication (Optional)](/CAI-Field-Manual-MaaS/maas/external-oidc/): Integrate MaaS authentication with corporate OIDC identity providers like Keycloak, Okta, or Azure AD so users can access MaaS with their corporate credentials.
- [Upgrade (3.4 → 3.5)](/CAI-Field-Manual-MaaS/maas/upgrade/): Platform upgrade steps and post-upgrade troubleshooting for moving a MaaS install from 3.4 to 3.5.
- [Running MaaS on OpenShift 5](/CAI-Field-Manual-MaaS/maas/openshift5/): Field notes from the first end-to-end MaaS install on OpenShift 5.0 — what carries over unchanged and the seven issues with workarounds.
- [Running MaaS with RHCL 1.5](/CAI-Field-Manual-MaaS/maas/rhcl-15/): 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.
- [Reference](/CAI-Field-Manual-MaaS/maas/reference/): Architecture, request deep dive, API key security, multi-tenancy, CORS, and model swap.
- [Demos](/CAI-Field-Manual-MaaS/maas/demos/): Demo walkthroughs — rate limiting, OIDC, subscription priority — plus the corporate scenario.
- [Cleanup & Teardown](/CAI-Field-Manual-MaaS/maas/cleanup/): Remove Red Hat OpenShift AI Models as a Service and its dependencies from your OpenShift cluster with the cleanup script or manual oc commands.
- [Guide Changelog](/CAI-Field-Manual-MaaS/maas/changelog/): Changes to the Red Hat OpenShift AI Models as a Service companion guide since the project started in June 2026.
- [AI-Assisted Installation and Verification](/CAI-Field-Manual-MaaS/maas/claude-code/): Skill definitions that provide AI-assisted MaaS installation and end-to-end verification with any AI coding tool.
- [MaaS:PAL — Verification for your MaaS](/CAI-Field-Manual-MaaS/maas/maaspal/): 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.
