- Integrates experiment tracking into ODH Dashboard: browse experiments, runs, metrics, and artifacts.
- Small Go BFF covers auth (
/api/v1/user), namespaces (/api/v1/namespaces), static assets, and health. - MLflow domain data is fetched by the frontend through the main dashboard backend proxy to an external MLflow server.
- The UI ships as a Module Federation remote.
- The BFF intentionally avoids implementing the full MLflow REST API.
- Handles identity, namespace listing for dev/standalone flows, asset serving, and
GET /healthcheck. - Experiment and run data: browser → ODH Dashboard Node proxy → external MLflow (auth aligned with the rest of the dashboard).
- Handles identity, namespace listing for dev/standalone flows, asset serving, and
cmd/main.gosupports--mock-k8s-clientand--mock-http-clientfor local iteration.- Federated mode: remote named
mlflowwith./extensions(routes, nav) and./extension-pointsfor the host; theme followsSTYLE_THEME(MUI standalone, PatternFly when federated). PackageMakefileand.env.local.exampledocument ports and flags. - Contract tests exercise the BFF scaffold with mocks; Cypress coverage lives under the main repo’s
**/mlflow/**specs.
| Term | Definition |
|---|---|
| MLflowExperiment | Named collection of runs |
| MLflowRun | Single execution with params, metrics, artifacts |
| Metric | Scalar logged per step |
| Artifact | File or directory logged by a run |
| Tag | Key/value label for filtering |
| Dashboard backend proxy | Main ODH backend forwarding authenticated requests to the external MLflow API |
| Dependency | Type | Details |
|---|---|---|
| External MLflow server | HTTP (via proxy) | Experiments, runs, metrics, artifacts |
packages/model-registry |
Package | Register best run as a versioned model |
| Main ODH Dashboard | Host application | Federated remote mlflow; provides MLflow API proxy |
- Two modes only:
dev-startvsdev-start-federated; no kubeflow target for this package. - BFF vs data plane: Domain MLflow calls bypass the Go BFF; OpenAPI under
api/openapi/covers scaffold endpoints only—upstream MLflow docs define the tracking API. STYLE_THEME: Defaultmui-themeeven in standalone; setpatternfly-themeexplicitly if you need PF outside federated mode.