chore(rhaii): tentative definition of production manifests #10140
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #10140"
general
weight: 0.35
paulovmr
Related issue: RHOAIENG-96162
Description
Adds an initial production-oriented, Kubernetes-only manifest bundle for the RHAII distribution at
manifests/distributions/rhaii.The bundle defines the RHAII dashboard’s Deployment, Service, ServiceAccount, scoped RBAC, NetworkPolicy, and HTTPRoute. It is deliberately namespace-neutral so a future installer or dashboard-operator reconciliation can inject the application namespace.
Key details:
dashboard/ port8443.RuntimeDefaultseccomp, read-only root filesystem, and a projected short-lived service-account token.NAMESPACEandPOD_NAMESPACE.HTTPRoute; its parent Gateway defaults are configurable throughparams.env, and its backend port is derived from the Service port through Kustomize replacements./_mf/modelServing/, allowing the RHAII Core-BFF to serve it from the same origin without a separate UI Deployment or CORS configuration.This PR intentionally does not add dashboard-operator or
odh-gitopsonboarding. The new bundle is raw manifest input for that future integration and is not reconciled automatically today.How Has This Been Tested?
A pair of convenience helpers make independent validation repeatable:
[deploy-rhaii-dashboard](https://gitlab.cee.redhat.com/astonebe/rhoia-onboarding-scripts/-/blob/main/bin/deploy-rhaii-dashboard?ref_type=heads) builds and pushes an image, renders and applies the bundle, waits for rollout, and verifies/healthcheckthrough a temporary Service port-forward.[jenkins-aks-trigger](https://gitlab.cee.redhat.com/astonebe/rhoia-onboarding-scripts/-/blob/main/bin/jenkins-aks-trigger?ref_type=heads) can provision an AKS cluster and its normal RHAII/RHOAI platform setup before deployment.Example deployment using a personal Quay namespace:
To provision AKS, configure
kubectl, and then build/deploy in one operation:The deployment helper always renders and applies the HTTPRoute. Gateway admission inspection is optional because a Gateway/controller may not yet exist:
If deploying via Jenkins with
--cluster-only- will need to install the GatewayAPI CRDs when the cluster is first built:For a render and Kubernetes API validation without making cluster changes:
Additionally, the following repository-local validations were run:
The rendered bundle was manually deployed to an AKS cluster in
redhat-ods-applications. Therhaii-dashboardDeployment reached Ready status and its/healthcheckendpoint was verified through a local Service port-forward.Gateway API CRDs were installed during validation, but no Gateway/controller was present. This is expected: an
HTTPRoutemay be created before its parent Gateway is available.Current/expected state for successful validation:
<img width="1750" height="457" alt="image" src="https://github.com/user-attachments/assets/64da481b-ab7f-44b6-9c62-bfa15c06803c" />
Test Impact
No unit or Cypress tests were added because this change introduces container build configuration and Kubernetes manifests only; it does not change application behavior covered by the existing frontend test suites.
The manifest rendering, namespace validation, and manual cluster deployment checks above cover the applicable behavior.
Request review criteria:
Self checklist (all need to be checked):
If you have UI changes:
After the PR is posted & before it merges:
mainThe final checkbox should remain unchecked until the PR-built image has been deployed and tested on the cluster.
[RHOAIENG-96162]: https://redhat.atlassian.net/browse/RHOAIENG-96162?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
Summary by CodeRabbit
New Features
Added a dashboard for the RHAII distribution, accessible through an HTTP route.
Enabled the dashboard to serve the Model Serving interface over port 8443.
Reliability and Security
Added health checks and multiple dashboard instances to support availability.
Restricted network access to the dashboard and applied secure container settings.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->