$npx skillfedfor your agent

kfp-kubernetes

Kubernetes platform configuration library and generated protos.

With conditionsPyPI Distributed ComputingReleased Jul 2026265.7K downloads / moApache 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — kfp_kubernetes-2.17.0-py3-none-any.whl
v2.17.0 · released 2026-07-09 · Python >=3.9.0 · 4 runtime deps: protobuf, kfp, requests, urllib3

Yes, if you are authoring Kubeflow Pipelines and need to configure Kubernetes-specific features like storage, secrets, or scheduling. The package is actively maintained, has low install friction, carries a permissive license, and integrates cleanly with the kfp SDK. Install it only if you are already using Kubeflow Pipelines; it is not useful standalone.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires an active Kubeflow Pipelines installation and a Kubernetes cluster to run pipelines; Python >=3.9.0 required.
  • Low install friction with a pure-Python wheel distribution.
  • Active maintenance with recent releases; last commit 2026-08-14 and latest release 2026-07-09.

License · maintenance · safety

Apache 2.0 (permissive) — Apache 2.0 permissive license allows commercial and private use with minimal restrictions, typical for open-source infrastructure tools.

last release 2026-07-09 (36 days) · last repo commit 2026-08-14 · 4,184 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 265,733 downloads/mo, #8,316 on PyPI

Verify before relying

pip install kfp-kubernetes

from kfp import dsl
from kfp import kubernetes

@dsl.component
def my_task():
    print('hello')

@dsl.pipeline
def my_pipeline():
    task = my_task()
    kubernetes.use_secret_as_env(task, secret_name='my-secret', secret_key_to_env={'password': 'SECRET_VAR'})
  • Whether this package works standalone or requires a specific version of kfp to be installed first.
  • Compatibility with different Kubernetes versions or Kubeflow Pipelines versions beyond the runtime dependency on kfp.
  • Performance characteristics when managing large numbers of volumes or secrets across pipeline tasks.
Same gist for agents: .md · .json

What it is and what it does

kfp-kubernetes is an addon library to Kubeflow Pipelines SDK that brings native Kubernetes concepts into pipeline authoring. Instead of writing generic pipeline code, you can directly configure Kubernetes-level details like Secrets, PersistentVolumeClaims, node selectors, tolerations, image pull policies, and pod metadata directly on pipeline tasks. This bridges the gap between high-level pipeline logic and low-level Kubernetes pod configuration.

The library works by providing a set of functions that modify task definitions to inject Kubernetes-specific configuration. You define your pipeline components normally using the kfp SDK, then call functions like `use_secret_as_env`, `mount_pvc`, `add_pod_label`, or `set_timeout` to layer on Kubernetes behavior. This approach keeps pipeline logic separate from infrastructure concerns while giving you full control over how tasks run on the cluster.

Use it for

  • Mount Kubernetes Secrets as environment variables or volumes in pipeline task containers for credential and configuration management.
  • Attach PersistentVolumeClaims to tasks for shared data storage across pipeline stages or ephemeral volumes for temporary task-local storage.
  • Configure pod scheduling constraints using node selectors and tolerations to run tasks on specific cluster nodes or hardware.
  • Set pod metadata like labels and annotations for observability, cost tracking, or integration with external monitoring systems.
  • Control container image pull behavior and set task timeouts using Kubernetes pod spec fields directly from pipeline code.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are authoring Kubeflow Pipelines and need to configure Kubernetes-specific features like storage, secrets, or scheduling.

The package is actively maintained, has low install friction, carries a permissive license, and integrates cleanly with the kfp SDK. Install it only if you are already using Kubeflow Pipelines; it is not useful standalone.

Install

kfp-kubernetes on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Active maintenance with recent releases; last commit 2026-08-14 and latest release 2026-07-09. Requires Python >=3.9.0.

Requires an active Kubeflow Pipelines installation and a Kubernetes cluster to run pipelines; Python >=3.9.0 required.

License in practice

Apache 2.0 permissive license allows commercial and private use with minimal restrictions, typical for open-source infrastructure tools.

Quickstart

pip install kfp-kubernetes

from kfp import dsl
from kfp import kubernetes

@dsl.component
def my_task():
    print('hello')

@dsl.pipeline
def my_pipeline():
    task = my_task()
    kubernetes.use_secret_as_env(task, secret_name='my-secret', secret_key_to_env={'password': 'SECRET_VAR'})

Verify before relying

  • Whether this package works standalone or requires a specific version of kfp to be installed first.
  • Compatibility with different Kubernetes versions or Kubeflow Pipelines versions beyond the runtime dependency on kfp.
  • Performance characteristics when managing large numbers of volumes or secrets across pipeline tasks.

Package facts

LicenseApache 2.0 permissive
Python supportSupports the current Python release >=3.9.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
protobufkfprequestsurllib3
MaintenanceActively maintained 36 days since the last release
Last repo commit
First released
Downloads265,733 / month, #8,316 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: kfp_kubernetes-2.17.0-py3-none-any.whl

Tags

Capabilities
kubeflow pipelines kubernetes integrationkfp kubernetes secrets volumeskubeflow pipeline pod configurationkubernetes persistent volumes kfpkubeflow pipeline node selectorskfp kubernetes manifestskubeflow pipeline storage claims
Topics
kubeflowkubernetes-integrationml-pipelines

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “kubeflow pipelines kubernetes integration”

  • kfp-kubernetesExtends Kubeflow Pipelines SDK with Kubernetes-native features like…
  • kfp-server-apiProvides Python client bindings for the Kubeflow Pipelines API,…
  • kfp-pipeline-specProvides the pipeline specification and protobuf definitions for…

Give your agent the search over MCP, or paste the wish link into any chat.

More Distributed Computing packages

grpcio Worth it
PyPI · Distributed Computing · released Jul 2026

gRPC Python is an HTTP/2-based RPC framework that enables you to define and call remote procedures across network boundaries using protocol buffers for serialization.

Install it if you need RPC communication in a distributed system or are integrating with existing gRPC services.

Apache-2.0compiled wheel · 3.10+
446.4Mdownloads / mo
execnet With conditions
PyPI · Libraries · released Nov 2025

execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.

However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…

MITpure Python · 3.8+aging
172.1Mdownloads / mo
cloudpickle Worth it
PyPI · Scientific/Engineering · released Nov 2025

Cloudpickle extends Python's standard pickle module to serialize lambda functions, interactively-defined functions and classes, and other constructs that the default pickle cannot handle, making it suitable for cluster computing and remote code execution.

Install it if you need to serialize lambda functions, interactively-defined code, or non-standard Python constructs for cluster computing or distributed execution.

BSD-3-Clausepure Python · 3.8+
148.4Mdownloads / mo
smart-open Worth it
PyPI · Distributed Computing · released Jul 2026

Provides a unified, open()-compatible Python API for streaming large files from remote storage (S3, GCS, Azure, HDFS, SFTP, HTTP) and local filesystems, with transparent compression support.

Install it if you work with large files on cloud storage or remote systems and want to avoid writing boilerplate around multiple SDKs.

MITpure Python
72.8Mdownloads / mo
portalocker Worth it
PyPI · Libraries · released Aug 2026

Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.

Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.

BSD-3-Clausepure Python · 3.10+
65.1Mdownloads / mo
ray Worth it
PyPI · Distributed Computing · released Aug 2026

Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.

permissive licensecompiled wheel · 3.10+
63.3Mdownloads / mo

See also kfp · kfp-pipeline-spec · kfp-server-api · google-cloud-pipeline-components · kubeflow · kr8s · kubernetes · pykube-ng · kubernetes-typed · portforward