File tree 1 file changed +5
-5
lines changed
packages/@aws-cdk/aws-eks
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -680,20 +680,20 @@ The version of kubectl used must be compatible with the Kubernetes version of th
680
680
cluster. kubectl is supported within one minor version (older or newer) of Kubernetes
681
681
(see [ Kubernetes version skew policy] ( https://kubernetes.io/releases/version-skew-policy/#kubectl ) ).
682
682
Only version 1.20 of kubectl is available in ` aws-cdk-lib ` . If you need a different
683
- version, you will need to use one of the ` @aws-cdk/lambda-layer-kubectlvXY ` packages.
683
+ version, you will need to use one of the ` @aws-cdk/lambda-layer-kubectl-vXY ` packages.
684
684
685
685
``` ts
686
- import { KubectlV22Layer } from ' @aws-cdk/lambda-layer-kubectl-v22 ' ;
686
+ import { KubectlV23Layer } from ' @aws-cdk/lambda-layer-kubectl-v23 ' ;
687
687
688
688
const cluster = new eks .Cluster (this , ' hello-eks' , {
689
- version: eks .KubernetesVersion .V1_22 ,
690
- kubectlLayer: new KubectlV22Layer (this , ' kubectl' ),
689
+ version: eks .KubernetesVersion .V1_23 ,
690
+ kubectlLayer: new KubectlV23Layer (this , ' kubectl' ),
691
691
});
692
692
```
693
693
694
694
You can also specify a custom ` lambda.LayerVersion ` if you wish to use a
695
695
different version of these tools, or a version not available in any of the
696
- ` @aws-cdk/lambda-layer-kubectlvXY ` packages. The handler expects the layer to
696
+ ` @aws-cdk/lambda-layer-kubectl-vXY ` packages. The handler expects the layer to
697
697
include the following two executables:
698
698
699
699
``` text
You can’t perform that action at this time.
0 commit comments