pulumi-kubernetes
A Pulumi package for creating and managing Kubernetes resources.
Decision gist · record as of 2026-08-14
Yes. This package is actively maintained, has no known vulnerabilities, installs cleanly with low friction, and is the standard way to manage Kubernetes resources from Pulumi. Install it if you are already using Pulumi and need to deploy or manage Kubernetes workloads programmatically; it is not a standalone Kubernetes tool and requires Pulumi CLI and a running cluster.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running Kubernetes cluster accessible via kubeconfig, and Pulumi CLI installed and configured.
- Low install friction with a pure-Python wheel distribution.
- Actively maintained with a recent release (38 days ago) and an active repository.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in commercial and proprietary projects with minimal restrictions; you must retain license notices and provide a copy of the license.
last release 2026-07-07 (38 days) · last repo commit 2026-08-13 · 457 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,385,718 downloads/mo, #3,974 on PyPI
Alternatives
Verify before relying
pip install pulumi-kubernetes
import pulumi_kubernetes as k8s
deployment = k8s.apps.v1.Deployment(
"my-app",
spec={
"replicas": 2,
"selector": {"matchLabels": {"app": "nginx"}},
"template": {
"metadata": {"labels": {"app": "nginx"}},
"spec": {"containers": [{"name": "nginx", "image": "nginx"}]}
}
}
)- Whether the package works with Kubernetes versions older than 1.13.0 despite the stated support floor.
- Performance characteristics when managing large numbers of resources or complex API objects.
- Whether alpha and beta Kubernetes APIs are fully stable or carry additional risk in production.
What it is and what it does
Pulumi Kubernetes is a resource provider that bridges Pulumi's infrastructure-as-code framework with Kubernetes, letting you define cluster workloads and resources in Python instead of YAML. It wraps the Kubernetes OpenAPI specification automatically, so the SDK stays synchronized with upstream Kubernetes releases and exposes the full API surface—Deployments, Services, ConfigMaps, Secrets, Jobs, and all other resource types—in a programmatic, type-aware interface.
You use it to deploy manifests from files, install Helm charts, or construct individual Kubernetes resources using the SDK's resource classes. It respects your local kubeconfig, so it works with any running cluster (EKS, AKS, GKE, or self-managed). The package depends on pulumi as its core orchestration engine, plus parver, semver, requests, and typing-extensions for version handling and HTTP operations.
Use it for
- Deploy YAML manifests from files into a running cluster without writing kubectl commands.
- Install and configure Helm charts programmatically with custom values and cluster-specific providers.
- Define Kubernetes Deployments, Services, and ConfigMaps as Python objects with full IDE autocomplete and type checking.
- Manage multi-cluster or multi-environment Kubernetes resources using Pulumi's stack and configuration system.
- Combine Kubernetes resource definitions with other cloud infrastructure (e.g., EKS cluster creation) in a single Pulumi program.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This package is actively maintained, has no known vulnerabilities, installs cleanly with low friction, and is the standard way to manage Kubernetes resources from Pulumi. Install it if you are already using Pulumi and need to deploy or manage Kubernetes workloads programmatically; it is not a standalone Kubernetes tool and requires Pulumi CLI and a running cluster.
Install
pulumi-kubernetes on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained with a recent release (38 days ago) and an active repository. Five runtime dependencies are all well-established packages.
Requires a running Kubernetes cluster accessible via kubeconfig, and Pulumi CLI installed and configured.
License in practice
Apache-2.0 permissive license allows use in commercial and proprietary projects with minimal restrictions; you must retain license notices and provide a copy of the license.
Quickstart
pip install pulumi-kubernetes
import pulumi_kubernetes as k8s
deployment = k8s.apps.v1.Deployment(
"my-app",
spec={
"replicas": 2,
"selector": {"matchLabels": {"app": "nginx"}},
"template": {
"metadata": {"labels": {"app": "nginx"}},
"spec": {"containers": [{"name": "nginx", "image": "nginx"}]}
}
}
)
Verify before relying
- Whether the package works with Kubernetes versions older than 1.13.0 despite the stated support floor.
- Performance characteristics when managing large numbers of resources or complex API objects.
- Whether alpha and beta Kubernetes APIs are fully stable or carry additional risk in production.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesparverpulumirequestssemvertyping-extensions |
| Maintenance | Actively maintained 38 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,385,718 / month, #3,974 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: pulumi_kubernetes-4.33.0-py3-none-any.whl
Tags
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 › “kubernetes infrastructure as code”
- pulumi-kubernetesPulumi Kubernetes Resource Provider lets you define, deploy, and…
- pulumi-eksPulumi component for provisioning and managing AWS EKS Kubernetes…
- cdk8scdk8s is a framework for defining Kubernetes applications using…
Give your agent the search over MCP, or paste the wish link into any chat.
More Distributed Computing packages
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.
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…
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.
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.
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.
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.
See also codeflare-sdk · pulumi · pulumi-eks · pulumi-gcp · pulumi-esc-sdk · pulumi-pulumiservice · pulumi-docker · pulumi-azure-native · pulumi-command · pulumi-azure