Phase 4: RHOAI Configuration
Configure the RHOAI operator instances to enable Models-as-a-Service. Because the PostgreSQL database and maas-db-config secret already exist (Phase 3), the maas-api deployment will start healthy immediately.
All file paths and oc apply commands in this guide are relative to the CAI-Field-Manual-MaaS repository root. Make sure you have cloned it and are working from its root directory (see Getting Started).
Prerequisites
- RHOAI operator is installed and CSV is in
Succeededstate - Phase 3 (MaaS platform) is completed — PostgreSQL is running and
maas-db-configsecret exists
Verify the operator is ready before proceeding:
Expected output (version varies):
Apply
On a fresh install, apply in two stages. The OdhDashboardConfig CRD does not exist until the RHOAI operator has reconciled the DataScienceCluster, so applying the full kustomization in one shot will fail the first time.
The RHOAI operator auto-creates a default-dsci and odh-dashboard-config during installation. When you oc apply over these auto-created resources, you will see a warning: “resource is missing the kubectl.kubernetes.io/last-applied-configuration annotation”. This is harmless — the annotation is patched automatically and subsequent applies will be clean.
Wait until the DSCI is created (this step must complete before creating the DSC):
Create the Data Science Cluster:
Enables MaaS via aigateway.modelsAsAService: Managed, the modularized path for RHOAI 3.5+.
The kserve.modelsAsService DSC path is deprecated in RHOAI 3.5 and replaced by aigateway.modelsAsAService. Without aigateway set to Managed, regular (non-admin) users will not see the AI asset endpoints page in the Dashboard. If upgrading from 3.4, see Platform Upgrade (3.4 -> 3.5).
Apply the GPU HardwareProfile so RHOAI properly schedules GPU workloads:
Without this HardwareProfile, GPU model deployments may hang. The node will show nvidia.com/gpu: 0 requested even when the GPU is physically present, because RHOAI needs a HardwareProfile to map GPU resources to workloads.
The DataScienceCluster reconciles multiple components. Wait for KServe and the Model Controller (MaaS) to reach Ready:
With the Data Science Cluster created we can now apply the dashboard configuration:
On subsequent runs (CRDs already exist), oc apply -k manifests/04-rhoai-config/ works in one shot. The kustomization includes the 3.5+ DSC by default - for RHOAI 3.4, apply the individual files as shown above.
Verify
Check MaaS CRDs are installed
The operator installs MaaS CRDs when Models-as-a-Service is set to Managed:
Expected CRDs (RHOAI 3.4):
- externalmodels.maas.opendatahub.io
- maasauthpolicies.maas.opendatahub.io
- maasmodelrefs.maas.opendatahub.io
- maassubscriptions.maas.opendatahub.io
- tenants.maas.opendatahub.io
RHOAI 3.5+ adds three additional CRDs:
- aitenants.maas.opendatahub.io
- configs.maas.opendatahub.io
- maastenantconfigs.maas.opendatahub.io
Check maas-api deployment
Since PostgreSQL and the maas-db-config secret were created in Phase 3, the maas-api deployment should start healthy:
In RHOAI 3.5+, maas-api runs in the redhat-ai-gateway-infra namespace.
The maas-api deployment may take 30-60 seconds to appear after the DSC is applied. If it is not found, wait and retry.
Check Tenant / Config CR
In RHOAI 3.5+, the maas-controller auto-creates a cluster-scoped Config CR (replacing the namespaced Tenant CR from 3.4):
The maas-controller auto-creates a default-tenant CR in the models-as-a-service namespace:
The default-tenant CR may show either Ready=True (reason Reconciled) or Ready=False (reason DeploymentsNotReady) at this stage. Both are normal - if it shows Ready=False, it will become Ready=True after a model is deployed in Phase 5.
MaaS health endpoint
Check OdhDashboardConfig flags
Verify the following flags are set:
modelAsService: true- enables the Models as a Service tabgenAiStudio: true- enables the GenAI Studio tab (requiresogxManaged on 3.5+ orllamastackoperatorManaged on 3.4)observabilityDashboard: true- enables the Observability tab (requires COO + monitoring configured)externalModels: true- enables the External models tab under AI hub > Models > Deployments in the Dashboard, where administrators can view deployed external models, their providers, and connection details
The External models tab is a Technology Preview feature in RHOAI 3.5. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. The external models functionality itself (CRDs, CLI, gateway routing) is fully supported (GA). For CLI-based external model management, see Phase 8: External Models.
The maasAuthPolicies flag was removed from the OdhDashboardConfig CRD in RHOAI 3.5. Do not include it in the manifest - the admission webhook will reject it.
What this creates
| Resource | Purpose |
|---|---|
DSCInitialization/default-dsci | Configures applications namespace, monitoring, and trusted CA bundle |
DataScienceCluster/default-dsc | Enables all RHOAI components including KServe with modelsAsService Managed |
OdhDashboardConfig/odh-dashboard-config | Enables MaaS, GenAI Studio, and Observability UI tabs |
HardwareProfile/gpu | Registers GPU resources with RHOAI for proper GPU scheduling |
Troubleshooting
If components do not become ready:
Appendix
Directory Structure
References
- RHOAI 3.5 MaaS Official Docs
- RHOAI 3.4 MaaS Official Docs
- RHOAI 3.5 Installation Guide
- RHOAI 3.4 Installation Guide
- Upstream MaaS Documentation
Next step
Proceed to Phase 5: Model Deployment.