aws-cdk.asset-kubectl-v20
A Lambda Layer that contains kubectl v1.20
What it is and what it does
This package is a Lambda Layer that bundles kubectl v1.36.3 and Helm v4.2.3 as pre-compiled command-line tools. When added to a Lambda function, it makes these tools available at /opt/kubectl/kubectl and /opt/helm/helm without requiring compilation or installation during deployment. The package depends on jsii, publication, and typeguard and supports Python 3.8 through 3.11.
It's designed for developers who need to interact with Kubernetes clusters from Lambda functions. By packaging the tools as a layer, you avoid the overhead of building and bundling them yourself, making it practical to run kubectl or Helm commands as part of serverless automation workflows.
Use it for:
- Deploy or update Kubernetes resources from Lambda functions triggered by AWS events
- Automate Helm chart deployments as part of infrastructure-as-code pipelines
- Run kubectl commands against Kubernetes clusters from Lambda without manual tool bundling
- Build serverless automation workflows that interact with Kubernetes clusters
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a Lambda Layer containing kubectl v1.36.3 and Helm v4.2.3 command-line tools for use in AWS Lambda functions.
Yes, if you need kubectl or Helm available in Lambda functions and the bundled versions (kubectl v1.36.3, Helm v4.2.3) match your cluster requirements. The package is actively maintained, has no known vulnerabilities, and low install friction. Verify version compatibility with your Kubernetes infrastructure before adopting.
Install
aws-cdk-asset-kubectl-v20 on PyPI
pip
pip install aws-cdk-asset-kubectl-v20uv
uv add aws-cdk-asset-kubectl-v20poetry
poetry add aws-cdk-asset-kubectl-v20Installing aws-cdk.asset-kubectl-v20
Before you install
Low install friction with three lightweight runtime dependencies. Actively maintained with last commit on 2026-08-12 and no known vulnerabilities.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions.
Quickstart
pip install aws-cdk.asset-kubectl-v20
from aws_cdk.asset_kubectl_v20 import KubectlV36Layer
kubectl_layer = KubectlV36Layer(self, 'KubectlLayer')
my_function.add_layers(kubectl_layer)
Requires Python 3.8 or later; the layer is only usable within AWS Lambda execution environments.
Verify before relying
- Whether the bundled kubectl v1.36.3 and Helm v4.2.3 versions are compatible with your target Kubernetes clusters
- Performance and cold-start impact when adding this layer to Lambda functions
- Whether the /opt/kubectl and /opt/helm paths integrate with your Lambda execution environment
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (~=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — jsii, publication, typeguard |
| Maintenance | actively maintained — 553 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,298,499/month — #4,090 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: aws_cdk.asset_kubectl_v20-2.1.4-py3-none-any.whl
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
aws-cdk.lambda-layer-kubectl-v35Provides a Lambda Layer packaging kubectl…
permissive · top 15,000 on PyPI
pyhelm3pyhelm3 is a Python library for…
permissive · top 15,000 on PyPI
aws-cdk.asset-awscli-v1Bundles AWS CLI v1 as a reusable asset for AWS…
permissive · top 5,000 on PyPI
aws-cdk.asset-node-proxy-agent-v6Bundles the NPM proxy-agent package (version…
permissive · top 5,000 on PyPI
aws-cdk.asset-node-proxy-agent-v5Bundles the NPM proxy-agent package as an AWS…
permissive · top 15,000 on PyPI
aws-cdk.aws-lambda-python-alphaProvides AWS CDK constructs for defining,…
permissive · top 5,000 on PyPI
epik8s-toolsAutomates project structure, Helm chart, and…
permissive · top 15,000 on PyPI
aws-cdk.aws-imagebuilderProvides AWS CDK L1 constructs for defining and…
permissive · top 15,000 on PyPI
aws-cdk.aws-samProvides AWS CDK v1 constructs for defining…
permissive · top 15,000 on PyPI
flux-localflux-local provides CLI tools and a Python…
permissive · top 15,000 on PyPI