個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗Our goal is to create a comprehensive platform for Models as a Service with real-time policy management.
MaaS v0.1.0 and later requires Kuadrant 1.4.2+ (ODH) or RHCL 1.3+ (RHOAI).
Why Kuadrant 1.4.2+ is required:
MaaS v0.1.0 requires the authorization header stripping capability added in Authorino v0.23.1 (shipped with Kuadrant 1.4.2) to protect user credentials from potential exfiltration to model backends.
Security Context:
When a user makes an inference request with their OpenShift token or API key, that credential must be validated by Authorino but should NOT be forwarded to model backends (whether internal KServe models or external providers). Kuadrant 1.4.2+ allows Authorino to:
This prevents credential exfiltration where a malicious or compromised model service could capture and misuse user tokens.
Migration Notes:
scripts/deploy.sh) automatically installs Kuadrant 1.4.2 for new deploymentsFor detailed version compatibility, see Version Compatibility.
MaaS requires a PostgreSQL database for API key management. For production ODH/RHOAI deployments, you must create a Secret with the database connection URL before enabling modelsAsService.
See Database Prerequisites for details.
Note: The scripts/deploy.sh script creates a development PostgreSQL instance automatically.
Use the unified deployment script for all deployment scenarios. The script installs prerequisites (policy engine, Gateway, PostgreSQL, Authorino TLS) and deploys maas-controller, which then deploys maas-api automatically via its Tenant reconciler:
# Deploy ODH (default)
./scripts/deploy.sh
# Deploy RHOAI
./scripts/deploy.sh --operator-type rhoai
# Deploy via Kustomize
./scripts/deploy.sh --deployment-mode kustomize
For detailed instructions, see the Installation Guide or the Deployment Options section below.
./scripts/deploy.sh [OPTIONS]
| Flag | Values | Default | Description |
|---|---|---|---|
--deployment-mode | operator, kustomize | operator | Deployment method |
--operator-type | odh, rhoai | odh | Which operator to install |
--enable-tls-backend | flag | enabled | TLS for Authorino ↔ MaaS API |
--disable-tls-backend | flag | false | Disable TLS backend |
--namespace | string | auto | Target namespace |
--verbose | flag | false | Enable debug logging |
--dry-run | flag | false | Show plan without executing |
--help | flag | - | Display full help |
| Flag | Description | Example |
|---|---|---|
--operator-catalog | Custom operator catalog/index image | quay.io/opendatahub/catalog:pr-456 |
--operator-image | Custom operator image (patches CSV) | quay.io/opendatahub/operator:pr-456 |
--channel | Operator channel override | fast-3, stable-3.x |
| Variable | Description | Example |
|---|---|---|
MAAS_API_IMAGE | Custom MaaS API container image (passed to the Tenant reconciler via RELATED_IMAGE_ODH_MAAS_API_IMAGE) | quay.io/user/maas-api:pr-123 |
MAAS_CONTROLLER_IMAGE | Custom MaaS controller container image | quay.io/user/maas-controller:pr-123 |
OPERATOR_CATALOG | Custom operator catalog | quay.io/opendatahub/catalog:pr-456 |
OPERATOR_IMAGE | Custom operator image | quay.io/opendatahub/operator:pr-456 |
OPERATOR_TYPE | Operator type (rhoai/odh) | odh |
LOG_LEVEL | Logging verbosity | DEBUG, INFO, WARN, ERROR |
Note: TLS backend is enabled by default. Use --disable-tls-backend to disable.
Note: The policy engine is auto-determined based on operator type (rhcl for RHOAI, kuadrant for ODH/kustomize) and does not need to be set manually.
# Deploy RHOAI
./scripts/deploy.sh --operator-type rhoai
# Deploy ODH
./scripts/deploy.sh --operator-type odh
# Test MaaS API PR #123
MAAS_API_IMAGE=quay.io/myuser/maas-api:pr-123 \
./scripts/deploy.sh --operator-type odh
# Test ODH operator PR #456 with custom manifests
./scripts/deploy.sh \
--operator-type odh \
--operator-catalog quay.io/opendatahub/opendatahub-operator-catalog:pr-456 \
--operator-image quay.io/opendatahub/opendatahub-operator:pr-456
# Deploy without TLS backend (HTTP for Authorino to maas-api)
./scripts/deploy.sh --disable-tls-backend
Online Documentation: https://opendatahub-io.github.io/models-as-a-service/
We welcome contributions! Please:
This project is licensed under the Apache 2.0 License.
For questions or issues: