Class KubernetesVersion
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
Example:
import software.amazon.awscdk.cdk.lambdalayer.kubectl.v34.KubectlV34Layer;
Cluster cluster = Cluster.Builder.create(this, "HelloEKS")
.version(KubernetesVersion.V1_34)
.defaultCapacity(0)
.kubectlLayer(new KubectlV34Layer(this, "kubectl"))
.build();
cluster.addNodegroupCapacity("custom-node-group", NodegroupOptions.builder()
.instanceTypes(List.of(new InstanceType("m5.large")))
.minSize(4)
.diskSize(100)
.build());
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final KubernetesVersionDeprecated.Use newer version of EKSstatic final KubernetesVersionDeprecated.Use newer version of EKSstatic final KubernetesVersionDeprecated.Use newer version of EKSstatic final KubernetesVersionDeprecated.Use newer version of EKSstatic final KubernetesVersionDeprecated.Use newer version of EKSstatic final KubernetesVersionDeprecated.Use newer version of EKSstatic final KubernetesVersionDeprecated.Use newer version of EKSstatic final KubernetesVersionDeprecated.Use newer version of EKSstatic final KubernetesVersionDeprecated.Use newer version of EKSstatic final KubernetesVersionKubernetes version 1.23.static final KubernetesVersionKubernetes version 1.24.static final KubernetesVersionKubernetes version 1.25.static final KubernetesVersionKubernetes version 1.26.static final KubernetesVersionKubernetes version 1.27.static final KubernetesVersionKubernetes version 1.28.static final KubernetesVersionKubernetes version 1.29.static final KubernetesVersionKubernetes version 1.30.static final KubernetesVersionKubernetes version 1.31.static final KubernetesVersionKubernetes version 1.32.static final KubernetesVersionKubernetes version 1.33.static final KubernetesVersionKubernetes version 1.34. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedKubernetesVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedKubernetesVersion(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptioncluster version number.static KubernetesVersionCustom cluster version.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
V1_14
Deprecated.Use newer version of EKS(deprecated) Kubernetes version 1.14. -
V1_15
Deprecated.Use newer version of EKS(deprecated) Kubernetes version 1.15. -
V1_16
Deprecated.Use newer version of EKS(deprecated) Kubernetes version 1.16. -
V1_17
Deprecated.Use newer version of EKS(deprecated) Kubernetes version 1.17. -
V1_18
Deprecated.Use newer version of EKS(deprecated) Kubernetes version 1.18. -
V1_19
Deprecated.Use newer version of EKS(deprecated) Kubernetes version 1.19. -
V1_20
Deprecated.Use newer version of EKS(deprecated) Kubernetes version 1.20. -
V1_21
Deprecated.Use newer version of EKS(deprecated) Kubernetes version 1.21. -
V1_22
Deprecated.Use newer version of EKS(deprecated) Kubernetes version 1.22. -
V1_23
Kubernetes version 1.23.When creating a
Clusterwith this version, you need to also specify thekubectlLayerproperty with aKubectlV23Layerfrom@aws-cdk/lambda-layer-kubectl-v23. -
V1_24
Kubernetes version 1.24.When creating a
Clusterwith this version, you need to also specify thekubectlLayerproperty with aKubectlV24Layerfrom@aws-cdk/lambda-layer-kubectl-v24. -
V1_25
Kubernetes version 1.25.When creating a
Clusterwith this version, you need to also specify thekubectlLayerproperty with aKubectlV25Layerfrom@aws-cdk/lambda-layer-kubectl-v25. -
V1_26
Kubernetes version 1.26.When creating a
Clusterwith this version, you need to also specify thekubectlLayerproperty with aKubectlV26Layerfrom@aws-cdk/lambda-layer-kubectl-v26. -
V1_27
Kubernetes version 1.27.When creating a
Clusterwith this version, you need to also specify thekubectlLayerproperty with aKubectlV27Layerfrom@aws-cdk/lambda-layer-kubectl-v27. -
V1_28
Kubernetes version 1.28.When creating a
Clusterwith this version, you need to also specify thekubectlLayerproperty with aKubectlV28Layerfrom@aws-cdk/lambda-layer-kubectl-v28. -
V1_29
Kubernetes version 1.29.When creating a
Clusterwith this version, you need to also specify thekubectlLayerproperty with aKubectlV29Layerfrom@aws-cdk/lambda-layer-kubectl-v29. -
V1_30
Kubernetes version 1.30.When creating a
Clusterwith this version, you need to also specify thekubectlLayerproperty with aKubectlV30Layerfrom@aws-cdk/lambda-layer-kubectl-v30. -
V1_31
Kubernetes version 1.31.When creating a
Clusterwith this version, you need to also specify thekubectlLayerproperty with aKubectlV31Layerfrom@aws-cdk/lambda-layer-kubectl-v31. -
V1_32
Kubernetes version 1.32.When creating a
Clusterwith this version, you need to also specify thekubectlLayerproperty with aKubectlV32Layerfrom@aws-cdk/lambda-layer-kubectl-v32. -
V1_33
Kubernetes version 1.33.When creating a
Clusterwith this version, you need to also specify thekubectlLayerproperty with aKubectlV33Layerfrom@aws-cdk/lambda-layer-kubectl-v33. -
V1_34
Kubernetes version 1.34.When creating a
Clusterwith this version, you need to also specify thekubectlLayerproperty with aKubectlV34Layerfrom@aws-cdk/lambda-layer-kubectl-v34.
-
-
Constructor Details
-
KubernetesVersion
protected KubernetesVersion(software.amazon.jsii.JsiiObjectRef objRef) -
KubernetesVersion
protected KubernetesVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
of
Custom cluster version.- Parameters:
version- custom version number. This parameter is required.
-
getVersion
cluster version number.
-