Skip to main content

MLflow Kubeflow Integration

PyPI version License Join Slack

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

  1. Enable MLflow workspaces on an MLflow server backed by a SQL store.
  2. Install this package into the same environment as the MLflow server.
  3. 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

Development

See CONTRIBUTING.md for development setup, coding style, and testing instructions.

Metadata

Release files for mlflow-kubernetes-plugins 2.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mlflow-kubernetes-plugins 2.1.1
File Size Uploaded Provenance Actions
mlflow_kubernetes_plugins-2.1.1.tar.gz 139.2 kB With provenance Details for mlflow_kubernetes_plugins-2.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mlflow-kubernetes-plugins 2.1.1
File Interpreter ABI Platform Actions
mlflow_kubernetes_plugins-2.1.1-py3-none-any.whl Python 3 none any Details for mlflow_kubernetes_plugins-2.1.1-py3-none-any.whl

Total release size: 217.8 kB

Release files / mlflow_kubernetes_plugins-2.1.1.tar.gz

Download URL mlflow_kubernetes_plugins-2.1.1.tar.gz
Size 139.2 kB
Tags Source
SHA-256 checksum
How to use checksums
974aa3479a60f8d49f70fbad6254aac94bf85dd1c0967c2b98f5f51261e47f78
BLAKE2b-256 checksum
How to use checksums
81b714a71e38805431080671daa7bfa70bb30452bb971fd82281f2b58d4499b3
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 30, 2026.

Transparency log

Release files / mlflow_kubernetes_plugins-2.1.1-py3-none-any.whl

Download URL mlflow_kubernetes_plugins-2.1.1-py3-none-any.whl
Size 78.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7a1442038ee25ddfe9a47fac3fb825c8d6d89e8ae658a2c4b8d8bbecc6cdf879
BLAKE2b-256 checksum
How to use checksums
9bce13ca7e6c593256adf6a4ded06b009c400a478dd7347a9868b4c1d1bfed13
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 30, 2026.

Transparency log

Security for mlflow-kubernetes-plugins 2.1.1

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mlflow_kubernetes_plugins-2.1.1.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 30, 2026.

Transparency log

A 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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page