- OpenShift cluster with
oc/kubectlaccess as cluster-admin - MaaS repo cloned (e.g.,
~/istio-gw/prs/4-rconciler-namespace-path/models-as-a-service)
PR #709 - re-validation and updated as of 4/11 12:06AM EST
$ HOST="https://maas.$(kubectl get ingress.config.openshift.io/cluster -o jsonpath='{.spec.domain}')"
TOKEN=$(oc whoami -t)
$ API_KEY=$(curl -sSk -X POST "$HOST/maas-api/v1/api-keys" \
-H "Authorization: Bearer $TOKEN" \
Breakage when deploying MaaS with: ./scripts/deploy.sh --operator-type odh
maas-api pods crash with CrashLoopBackOff because the opendatahub:maas-api service account lacks:
- Permission to read the
maas-db-configsecret inopendatahubnamespace - Permission to list
maasmodelrefsandmaassubscriptionsCRDs
tlsInsecureSkipVerify to ExternalModel spec validation with PR: opendatahub-io/models-as-a-service#646
- Commands to validate:
# Discover gateway
HOST=$(kubectl get maasmodelref facebook-opt-125m-simulated -n llm \
-o jsonpath='{.status.endpoint}' | sed -E 's#(https://[^/]+).*#\1#')
All three models (local + OpenAI + Anthropic) work through the MaaS gateway
using the same sk-oai-* API key minted via the MaaS API.
Demo: External Model Routing with Istio ServiceEntry & DestinationRule
I didn't add the model listing to this validation but you can see an example modifications to MaaS required in egress-ai-gateway-poc/patches/maas-api-external-model-listing.patch. This patch adds ConfigMap-based external model listing to the MaaS API — it reads from an external-model-registry ConfigMap in the MaaS namespace and merges those models into the GET /v1/models response. I have tested that a couple of weeks ago with ghcr.io/nerdalert/maas-api:external-models.
$ ./scripts/validate.sh all
Discovering gateway address...
Found LoadBalancer hostname: http://a38603e70f1d34daa841061646a16427-402819449.us-east-1.elb.amazonaws.com
==========================================
Iteration 1: httpbin.org (no auth)
==========================================
Resources:
- Executed at: 2026-02-24 06:42:10 UTC
- Repo:
~/vanilla/subscription-maas-413/maas-benchmark-vanilla/maas-benchmark - Target host:
maas.apps.rosa.vnthh-zgsnt-wuf.rrcb.p3.openshiftapps.com - Protocol:
https - Model ID detected from MAAS API:
facebook/opt-125m - Model path detected from MAAS API:
/llm/facebook-opt-125m-simulated - k6 version:
k6 v1.5.0 (commit/7961cefa12, go1.25.5, linux/amd64)