A Lambda Layer that contains kubectl v1.35
Actively maintained. Last release 7 months ago, commits in 24 of the last 26 weeks. A safe choice.
pip install aws-cdk-lambda-layer-kubectl-v35README as published on PyPI with version 2.2.2.
Lambda Layer with KubeCtl v1.35
---This module exports a single class called KubectlV35Layer which is a lambda.LayerVersion that
bundles the kubectl and the
helm command line.
- Helm Version: 4.1.3
- Kubectl Version: 1.35.2
Usage:
# KubectlLayer bundles the 'kubectl' and 'helm' command lines
from aws_cdk.lambda_layer_kubectl_v35 import KubectlV35Layer
import aws_cdk.aws_lambda as lambda_
# fn: lambda.Function
kubectl = KubectlV35Layer(self, "KubectlLayer")
fn.add_layers(kubectl)
kubectl will be installed under /opt/kubectl/kubectl, and helm will be installed under /opt/helm/helm.