--- id: aws-cdk-asset-kubectl-v20 version: "2.1.4" license: Apache-2.0 license_treatment: permissive maintenance: active --- # aws-cdk.asset-kubectl-v20 — A Lambda Layer that contains kubectl v1.20 License: permissive · Maintenance: active · Downloads: 1.3M/mo ## 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 above — 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 pip install aws-cdk-asset-kubectl-v20 uv add aws-cdk-asset-kubectl-v20 poetry add aws-cdk-asset-kubectl-v20 ## Installing 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_current - Install friction: low - Maintenance: active - Downloads: 1.3M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags lambda layer kubectl helm, aws lambda kubernetes tools, kubectl in lambda function, helm command line layer, kubernetes tools aws lambda, lambda layer deployment tools, serverless kubernetes automation, aws-lambda, kubernetes, lambda-layer [View on SkillFed](https://skillfed.io/packages/aws-cdk-asset-kubectl-v20) · [View on PyPI](https://pypi.org/project/aws-cdk-asset-kubectl-v20/)