MLflow Kubeflow Integration
This repository provides the integration layer between MLflow and Kubeflow, making MLflow the first-class experiment tracking experience for the Kubeflow platform (KEP-897).
This repository packages two MLflow extensions for Kubernetes-backed deployments:
- a workspace provider that maps MLflow workspaces to Kubernetes namespaces
- an optional authorization plugin that enforces Kubernetes RBAC for MLflow requests
These plugins build on top of MLflow's workspace support. If you are new to MLflow workspaces, start with the official guide: https://mlflow.org/docs/latest/self-hosting/workspaces/getting-started/.
Components
| Entry point | MLflow hook | Purpose |
|---|---|---|
kubernetes |
mlflow.workspace_provider |
Exposes Kubernetes namespaces as MLflow workspaces. |
kubernetes-auth |
mlflow.app |
Wraps the MLflow server with Kubernetes-based authorization checks. |
Install
This release requires MLflow 3.17 (>=3.17.0,<3.18.0).
Install from PyPI:
pip install mlflow-kubernetes-plugins
For local development:
uv sync --extra dev
For Kubernetes deployment, see the
charts/mlflow installation guide.
Quick Start
- Enable MLflow workspaces on an MLflow server backed by a SQL store.
- Install this package into the same environment as the MLflow server.
- Configure the workspace provider and, if needed, the auth plugin.
export MLFLOW_K8S_WORKSPACE_LABEL_SELECTOR="mlflow-enabled=true"
export MLFLOW_K8S_DEFAULT_WORKSPACE="team-a"
mlflow server \
--backend-store-uri postgresql://user:pass@localhost/mlflow \
--default-artifact-root s3://mlflow-artifacts \
--enable-workspaces \
--workspace-store-uri "kubernetes://" \
--app-name kubernetes-auth
Use --app-name kubernetes-auth only when you want request authorization enforced by Kubernetes RBAC.
Documentation
docs/index.md: docs indexdocs/workspace-provider.md: workspace provider behavior, configuration, and startupdocs/authorization-plugin.md: auth modes, headers, and request handlingdocs/kubernetes-rbac.md: RBAC requirements and example manifestsconfig/crd/bases/mlflow.kubeflow.org_mlflowconfigs.yaml: generatedMLflowConfigCRD manifest
Development
See CONTRIBUTING.md for development setup, coding style, and testing instructions.
Metadata
Release files for mlflow-kubernetes-plugins 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mlflow_kubernetes_plugins-2.0.0.tar.gz | 98.6 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mlflow_kubernetes_plugins-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 167.2 kB
Release files / mlflow_kubernetes_plugins-2.0.0.tar.gz
| Download URL | mlflow_kubernetes_plugins-2.0.0.tar.gz |
|---|---|
| Size | 98.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c3f3d26e773c45f5bc856b82b2e8f7e488797af7e7e1c04cae451a484247f8bb
|
|
BLAKE2b-256 checksum How to use checksums |
d464024155fcf13492df48f3eab4b4b54bc97ad250c7583bd76c8182d0b70447
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.
Transparency logRelease files / mlflow_kubernetes_plugins-2.0.0-py3-none-any.whl
| Download URL | mlflow_kubernetes_plugins-2.0.0-py3-none-any.whl |
|---|---|
| Size | 68.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b4bfd201985f90d6dc8f65514a0af678345dcbfa3146f0d64e12eb81d5d17924
|
|
BLAKE2b-256 checksum How to use checksums |
20f14ba6dbbc3a9137b2e9992aed8e624875f6bbf2200e22852a2b5b7e3ae689
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.
Transparency logSecurity for mlflow-kubernetes-plugins 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for mlflow_kubernetes_plugins-2.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.