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

The v1 release line supports MLflow >=3.10.0,<3.17.0, including MLflow 3.16.

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 1.7.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 1.7.1
File Size Uploaded Provenance
mlflow_kubernetes_plugins-1.7.1.tar.gz 99.3 kB With provenance Details

Built distribution (wheel)

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

Total release size: 172.3 kB

Release files / mlflow_kubernetes_plugins-1.7.1.tar.gz

Download URL mlflow_kubernetes_plugins-1.7.1.tar.gz
Size 99.3 kB
Tags Source
SHA-256 checksum
How to use checksums
728c489c61d0cd5aefd431867a85e09e58c4b663e47f749bcef1bdfdbd8b590a
BLAKE2b-256 checksum
How to use checksums
846b662241d621a82f1a6b7188d1f699681403d5f59a99f7e60cb79d6782f149
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 log

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

Download URL mlflow_kubernetes_plugins-1.7.1-py3-none-any.whl
Size 73.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cc1ef3eafb189f791320141c220ae06819354ae3fe582fbaee930d615dd94137
BLAKE2b-256 checksum
How to use checksums
31f1be7809c3a2dc1e7f94de5aee2e7a2c7b70c941c552e16b05668d84bc55c6
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 log

Security for mlflow-kubernetes-plugins 1.7.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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mlflow_kubernetes_plugins-1.7.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 8, 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.

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