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

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.0
File Size Uploaded Provenance
mlflow_kubernetes_plugins-2.1.0.tar.gz 104.7 kB With provenance Details

Built distribution (wheel)

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

Total release size: 176.6 kB

Release files / mlflow_kubernetes_plugins-2.1.0.tar.gz

Download URL mlflow_kubernetes_plugins-2.1.0.tar.gz
Size 104.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5f212b85e6b2976a9f46ec530aa46bac4bd00f86c1c11fa5fd6f11a151256651
BLAKE2b-256 checksum
How to use checksums
fec41067905c0929ffecf3e71e27ba251be15cf5aa54674cb10ceec1c8b4d160
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 16, 2026.

Transparency log

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

Download URL mlflow_kubernetes_plugins-2.1.0-py3-none-any.whl
Size 71.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b64f921fba823e2b86c5240279cfba15cc9bb6da540725f3dd07690561c8967b
BLAKE2b-256 checksum
How to use checksums
e58d11a452a207863c020b2a043548171ec963ec418d98e336d13e266c6a7737
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 16, 2026.

Transparency log

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

Select from 2 files

Attestation for mlflow_kubernetes_plugins-2.1.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 16, 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