cdk8s
This is the core library of Cloud Development Kit (CDK) for Kubernetes (cdk8s). cdk8s apps synthesize into standard Kubernetes manifests which can be applied to any Kubernetes cluster.
Decision gist · record as of 2026-08-14
Yes, if you are building Kubernetes applications in Python and prefer code-based infrastructure definition. The package is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive license. The main consideration is whether the constructs abstraction and jsii bridge fit your team's workflow.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low install friction with a pure Python wheel.
- Actively maintained with a release 1 day old; repository shows recent activity and is not archived.
License · maintenance · safety
Apache-2.0 (permissive) — Apache License 2.0 is permissive; you can use this package in commercial and proprietary projects without restriction, though you must include a copy of the license.
last release 2026-08-13 (1 days) · last repo commit 2026-08-14 · 87 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 599,636 downloads/mo, #5,826 on PyPI
Alternatives
Verify before relying
pip install cdk8s
from cdk8s import App, Chart
from constructs import Construct
app = App()
Chart(app, "my-chart")
app.synth()- Whether the jsii bridge adds meaningful overhead or complexity for Python users compared to alternatives.
- How well the constructs abstraction maps to real-world Kubernetes patterns beyond basic resource definition.
- Whether cdk8s-cli (the separate command-line tool) is required for practical use or if the core library alone suffices.
What it is and what it does
cdk8s is the core library of the Cloud Development Kit for Kubernetes, a framework that lets you write Kubernetes applications in Python instead of YAML. Rather than hand-editing manifest files, you define Kubernetes resources using object-oriented constructs—reusable, composable building blocks that can represent anything from a single Pod to a complete application stack. The library synthesizes your Python code into standard Kubernetes manifests that can be applied to any cluster.
The package depends on constructs, jsii, and publication. It targets modern Python versions (3.10 through 3.14) and is marked production-stable. It is part of a larger cdk8s ecosystem; this package is the programmatic core used by applications and higher-level tools.
Use it for
- Define multi-environment Kubernetes deployments as Python code with shared logic and parameterization.
- Build reusable Kubernetes component libraries that teams can compose into larger applications.
- Generate Kubernetes manifests programmatically for templated or dynamic workloads.
- Integrate Kubernetes infrastructure definition into Python CI/CD pipelines and automation.
- Leverage IDE autocomplete and type checking when defining Kubernetes resources.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building Kubernetes applications in Python and prefer code-based infrastructure definition.
The package is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive license. The main consideration is whether the constructs abstraction and jsii bridge fit your team's workflow.
Install
cdk8s on PyPI
Before you install
Low install friction with a pure Python wheel. Actively maintained with a release 1 day old; repository shows recent activity and is not archived. Three runtime dependencies are part of the standard ecosystem.
Requires Python 3.10 or later.
License in practice
Apache License 2.0 is permissive; you can use this package in commercial and proprietary projects without restriction, though you must include a copy of the license.
Quickstart
pip install cdk8s
from cdk8s import App, Chart
from constructs import Construct
app = App()
Chart(app, "my-chart")
app.synth()
Verify before relying
- Whether the jsii bridge adds meaningful overhead or complexity for Python users compared to alternatives.
- How well the constructs abstraction maps to real-world Kubernetes patterns beyond basic resource definition.
- Whether cdk8s-cli (the separate command-line tool) is required for practical use or if the core library alone suffices.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesconstructsjsiipublication |
| Maintenance | Actively maintained 1 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 599,636 / month, #5,826 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI ApprovedOperating System :: OS IndependentProgramming Language :: JavaScriptProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Typing :: Typed |
Evidence: cdk8s-2.70.92-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 › “define k8s manifests with python”
- cdk8scdk8s is a framework for defining Kubernetes applications using…
- kubernetes-validateValidates Kubernetes resource definitions against official Kubernetes…
- pulumi-kubernetesPulumi Kubernetes Resource Provider lets you define, deploy, and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Build Tools packages
Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.
Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.
Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.
pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.
Install it if your team needs consistent, automated validation at commit time.
See also aws-cdk.aws-cloudformation · aws-cdk.assets · aws-cdk-lib · kopf · lightkube-models · epik8s-tools · aws-cdk.core · k8 · aws-cdk.aws-sam · cdktf