aws-cdk.aws-eks-v2-alpha 2.184.1a0__tar.gz → 2.186.0a0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of aws-cdk.aws-eks-v2-alpha might be problematic. Click here for more details.

Files changed (18) hide show
  1. {aws_cdk_aws_eks_v2_alpha-2.184.1a0/src/aws_cdk.aws_eks_v2_alpha.egg-info → aws_cdk_aws_eks_v2_alpha-2.186.0a0}/PKG-INFO +18 -2
  2. {aws_cdk_aws_eks_v2_alpha-2.184.1a0 → aws_cdk_aws_eks_v2_alpha-2.186.0a0}/README.md +16 -0
  3. {aws_cdk_aws_eks_v2_alpha-2.184.1a0 → aws_cdk_aws_eks_v2_alpha-2.186.0a0}/setup.py +3 -3
  4. {aws_cdk_aws_eks_v2_alpha-2.184.1a0 → aws_cdk_aws_eks_v2_alpha-2.186.0a0}/src/aws_cdk/aws_eks_v2_alpha/__init__.py +19 -3
  5. {aws_cdk_aws_eks_v2_alpha-2.184.1a0 → aws_cdk_aws_eks_v2_alpha-2.186.0a0}/src/aws_cdk/aws_eks_v2_alpha/_jsii/__init__.py +2 -2
  6. aws_cdk_aws_eks_v2_alpha-2.186.0a0/src/aws_cdk/aws_eks_v2_alpha/_jsii/aws-eks-v2-alpha@2.186.0-alpha.0.jsii.tgz +0 -0
  7. {aws_cdk_aws_eks_v2_alpha-2.184.1a0 → aws_cdk_aws_eks_v2_alpha-2.186.0a0/src/aws_cdk.aws_eks_v2_alpha.egg-info}/PKG-INFO +18 -2
  8. {aws_cdk_aws_eks_v2_alpha-2.184.1a0 → aws_cdk_aws_eks_v2_alpha-2.186.0a0}/src/aws_cdk.aws_eks_v2_alpha.egg-info/SOURCES.txt +1 -1
  9. {aws_cdk_aws_eks_v2_alpha-2.184.1a0 → aws_cdk_aws_eks_v2_alpha-2.186.0a0}/src/aws_cdk.aws_eks_v2_alpha.egg-info/requires.txt +1 -1
  10. aws_cdk_aws_eks_v2_alpha-2.184.1a0/src/aws_cdk/aws_eks_v2_alpha/_jsii/aws-eks-v2-alpha@2.184.1-alpha.0.jsii.tgz +0 -0
  11. {aws_cdk_aws_eks_v2_alpha-2.184.1a0 → aws_cdk_aws_eks_v2_alpha-2.186.0a0}/LICENSE +0 -0
  12. {aws_cdk_aws_eks_v2_alpha-2.184.1a0 → aws_cdk_aws_eks_v2_alpha-2.186.0a0}/MANIFEST.in +0 -0
  13. {aws_cdk_aws_eks_v2_alpha-2.184.1a0 → aws_cdk_aws_eks_v2_alpha-2.186.0a0}/NOTICE +0 -0
  14. {aws_cdk_aws_eks_v2_alpha-2.184.1a0 → aws_cdk_aws_eks_v2_alpha-2.186.0a0}/pyproject.toml +0 -0
  15. {aws_cdk_aws_eks_v2_alpha-2.184.1a0 → aws_cdk_aws_eks_v2_alpha-2.186.0a0}/setup.cfg +0 -0
  16. {aws_cdk_aws_eks_v2_alpha-2.184.1a0 → aws_cdk_aws_eks_v2_alpha-2.186.0a0}/src/aws_cdk/aws_eks_v2_alpha/py.typed +0 -0
  17. {aws_cdk_aws_eks_v2_alpha-2.184.1a0 → aws_cdk_aws_eks_v2_alpha-2.186.0a0}/src/aws_cdk.aws_eks_v2_alpha.egg-info/dependency_links.txt +0 -0
  18. {aws_cdk_aws_eks_v2_alpha-2.184.1a0 → aws_cdk_aws_eks_v2_alpha-2.186.0a0}/src/aws_cdk.aws_eks_v2_alpha.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-cdk.aws-eks-v2-alpha
3
- Version: 2.184.1a0
3
+ Version: 2.186.0a0
4
4
  Summary: The CDK Construct Library for AWS::EKS
5
5
  Home-page: https://github.com/aws/aws-cdk
6
6
  Author: Amazon Web Services
@@ -22,7 +22,7 @@ Requires-Python: ~=3.9
22
22
  Description-Content-Type: text/markdown
23
23
  License-File: LICENSE
24
24
  License-File: NOTICE
25
- Requires-Dist: aws-cdk-lib<3.0.0,>=2.184.1
25
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.186.0
26
26
  Requires-Dist: constructs<11.0.0,>=10.0.0
27
27
  Requires-Dist: jsii<2.0.0,>=1.109.0
28
28
  Requires-Dist: publication>=0.0.3
@@ -178,6 +178,22 @@ cluster = eks.Cluster(self, "EksAutoCluster",
178
178
 
179
179
  For more information, see [Create a Node Pool for EKS Auto Mode](https://docs.aws.amazon.com/eks/latest/userguide/create-node-pool.html).
180
180
 
181
+ ### Disabling Default Node Pools
182
+
183
+ You can disable the default node pools entirely by setting an empty array for `nodePools`. This is useful when you want to use Auto Mode features but manage your compute resources separately:
184
+
185
+ ```python
186
+ cluster = eks.Cluster(self, "EksAutoCluster",
187
+ version=eks.KubernetesVersion.V1_32,
188
+ default_capacity_type=eks.DefaultCapacityType.AUTOMODE,
189
+ compute=eks.ComputeConfig(
190
+ node_pools=[]
191
+ )
192
+ )
193
+ ```
194
+
195
+ When node pools are disabled this way, no IAM role will be created for the node pools, preventing deployment failures that would otherwise occur when a role is created without any node pools.
196
+
181
197
  ### Node Groups as the default capacity type
182
198
 
183
199
  If you prefer to manage your own node groups instead of using Auto Mode, you can use the traditional node group approach by specifying `defaultCapacityType` as `NODEGROUP`:
@@ -148,6 +148,22 @@ cluster = eks.Cluster(self, "EksAutoCluster",
148
148
 
149
149
  For more information, see [Create a Node Pool for EKS Auto Mode](https://docs.aws.amazon.com/eks/latest/userguide/create-node-pool.html).
150
150
 
151
+ ### Disabling Default Node Pools
152
+
153
+ You can disable the default node pools entirely by setting an empty array for `nodePools`. This is useful when you want to use Auto Mode features but manage your compute resources separately:
154
+
155
+ ```python
156
+ cluster = eks.Cluster(self, "EksAutoCluster",
157
+ version=eks.KubernetesVersion.V1_32,
158
+ default_capacity_type=eks.DefaultCapacityType.AUTOMODE,
159
+ compute=eks.ComputeConfig(
160
+ node_pools=[]
161
+ )
162
+ )
163
+ ```
164
+
165
+ When node pools are disabled this way, no IAM role will be created for the node pools, preventing deployment failures that would otherwise occur when a role is created without any node pools.
166
+
151
167
  ### Node Groups as the default capacity type
152
168
 
153
169
  If you prefer to manage your own node groups instead of using Auto Mode, you can use the traditional node group approach by specifying `defaultCapacityType` as `NODEGROUP`:
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "aws-cdk.aws-eks-v2-alpha",
8
- "version": "2.184.1.a0",
8
+ "version": "2.186.0.a0",
9
9
  "description": "The CDK Construct Library for AWS::EKS",
10
10
  "license": "Apache-2.0",
11
11
  "url": "https://github.com/aws/aws-cdk",
@@ -26,7 +26,7 @@ kwargs = json.loads(
26
26
  ],
27
27
  "package_data": {
28
28
  "aws_cdk.aws_eks_v2_alpha._jsii": [
29
- "aws-eks-v2-alpha@2.184.1-alpha.0.jsii.tgz"
29
+ "aws-eks-v2-alpha@2.186.0-alpha.0.jsii.tgz"
30
30
  ],
31
31
  "aws_cdk.aws_eks_v2_alpha": [
32
32
  "py.typed"
@@ -34,7 +34,7 @@ kwargs = json.loads(
34
34
  },
35
35
  "python_requires": "~=3.9",
36
36
  "install_requires": [
37
- "aws-cdk-lib>=2.184.1, <3.0.0",
37
+ "aws-cdk-lib>=2.186.0, <3.0.0",
38
38
  "constructs>=10.0.0, <11.0.0",
39
39
  "jsii>=1.109.0, <2.0.0",
40
40
  "publication>=0.0.3",
@@ -149,6 +149,22 @@ cluster = eks.Cluster(self, "EksAutoCluster",
149
149
 
150
150
  For more information, see [Create a Node Pool for EKS Auto Mode](https://docs.aws.amazon.com/eks/latest/userguide/create-node-pool.html).
151
151
 
152
+ ### Disabling Default Node Pools
153
+
154
+ You can disable the default node pools entirely by setting an empty array for `nodePools`. This is useful when you want to use Auto Mode features but manage your compute resources separately:
155
+
156
+ ```python
157
+ cluster = eks.Cluster(self, "EksAutoCluster",
158
+ version=eks.KubernetesVersion.V1_32,
159
+ default_capacity_type=eks.DefaultCapacityType.AUTOMODE,
160
+ compute=eks.ComputeConfig(
161
+ node_pools=[]
162
+ )
163
+ )
164
+ ```
165
+
166
+ When node pools are disabled this way, no IAM role will be created for the node pools, preventing deployment failures that would otherwise occur when a role is created without any node pools.
167
+
152
168
  ### Node Groups as the default capacity type
153
169
 
154
170
  If you prefer to manage your own node groups instead of using Auto Mode, you can use the traditional node group approach by specifying `defaultCapacityType` as `NODEGROUP`:
@@ -4582,7 +4598,7 @@ class ClusterProps(ClusterCommonOptions):
4582
4598
  :param compute: (experimental) Configuration for compute settings in Auto Mode. When enabled, EKS will automatically manage compute resources. Default: - Auto Mode compute disabled
4583
4599
  :param default_capacity: (experimental) Number of instances to allocate as an initial capacity for this cluster. Instance type can be configured through ``defaultCapacityInstanceType``, which defaults to ``m5.large``. Use ``cluster.addAutoScalingGroupCapacity`` to add additional customized capacity. Set this to ``0`` is you wish to avoid the initial capacity allocation. Default: 2
4584
4600
  :param default_capacity_instance: (experimental) The instance type to use for the default capacity. This will only be taken into account if ``defaultCapacity`` is > 0. Default: m5.large
4585
- :param default_capacity_type: (experimental) The default capacity type for the cluster. Default: NODEGROUP
4601
+ :param default_capacity_type: (experimental) The default capacity type for the cluster. Default: AUTOMODE
4586
4602
  :param output_config_command: (experimental) Determines whether a CloudFormation output with the ``aws eks update-kubeconfig`` command will be synthesized. This command will include the cluster name and, if applicable, the ARN of the masters IAM role. Default: true
4587
4603
 
4588
4604
  :stability: experimental
@@ -4954,7 +4970,7 @@ class ClusterProps(ClusterCommonOptions):
4954
4970
  def default_capacity_type(self) -> typing.Optional["DefaultCapacityType"]:
4955
4971
  '''(experimental) The default capacity type for the cluster.
4956
4972
 
4957
- :default: NODEGROUP
4973
+ :default: AUTOMODE
4958
4974
 
4959
4975
  :stability: experimental
4960
4976
  '''
@@ -12390,7 +12406,7 @@ class Cluster(
12390
12406
  :param compute: (experimental) Configuration for compute settings in Auto Mode. When enabled, EKS will automatically manage compute resources. Default: - Auto Mode compute disabled
12391
12407
  :param default_capacity: (experimental) Number of instances to allocate as an initial capacity for this cluster. Instance type can be configured through ``defaultCapacityInstanceType``, which defaults to ``m5.large``. Use ``cluster.addAutoScalingGroupCapacity`` to add additional customized capacity. Set this to ``0`` is you wish to avoid the initial capacity allocation. Default: 2
12392
12408
  :param default_capacity_instance: (experimental) The instance type to use for the default capacity. This will only be taken into account if ``defaultCapacity`` is > 0. Default: m5.large
12393
- :param default_capacity_type: (experimental) The default capacity type for the cluster. Default: NODEGROUP
12409
+ :param default_capacity_type: (experimental) The default capacity type for the cluster. Default: AUTOMODE
12394
12410
  :param output_config_command: (experimental) Determines whether a CloudFormation output with the ``aws eks update-kubeconfig`` command will be synthesized. This command will include the cluster name and, if applicable, the ARN of the masters IAM role. Default: true
12395
12411
  :param version: (experimental) The Kubernetes version to run in the cluster.
12396
12412
  :param alb_controller: (experimental) Install the AWS Load Balancer Controller onto the cluster. Default: - The controller is not installed.
@@ -33,9 +33,9 @@ import constructs._jsii
33
33
 
34
34
  __jsii_assembly__ = jsii.JSIIAssembly.load(
35
35
  "@aws-cdk/aws-eks-v2-alpha",
36
- "2.184.1-alpha.0",
36
+ "2.186.0-alpha.0",
37
37
  __name__[0:-6],
38
- "aws-eks-v2-alpha@2.184.1-alpha.0.jsii.tgz",
38
+ "aws-eks-v2-alpha@2.186.0-alpha.0.jsii.tgz",
39
39
  )
40
40
 
41
41
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-cdk.aws-eks-v2-alpha
3
- Version: 2.184.1a0
3
+ Version: 2.186.0a0
4
4
  Summary: The CDK Construct Library for AWS::EKS
5
5
  Home-page: https://github.com/aws/aws-cdk
6
6
  Author: Amazon Web Services
@@ -22,7 +22,7 @@ Requires-Python: ~=3.9
22
22
  Description-Content-Type: text/markdown
23
23
  License-File: LICENSE
24
24
  License-File: NOTICE
25
- Requires-Dist: aws-cdk-lib<3.0.0,>=2.184.1
25
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.186.0
26
26
  Requires-Dist: constructs<11.0.0,>=10.0.0
27
27
  Requires-Dist: jsii<2.0.0,>=1.109.0
28
28
  Requires-Dist: publication>=0.0.3
@@ -178,6 +178,22 @@ cluster = eks.Cluster(self, "EksAutoCluster",
178
178
 
179
179
  For more information, see [Create a Node Pool for EKS Auto Mode](https://docs.aws.amazon.com/eks/latest/userguide/create-node-pool.html).
180
180
 
181
+ ### Disabling Default Node Pools
182
+
183
+ You can disable the default node pools entirely by setting an empty array for `nodePools`. This is useful when you want to use Auto Mode features but manage your compute resources separately:
184
+
185
+ ```python
186
+ cluster = eks.Cluster(self, "EksAutoCluster",
187
+ version=eks.KubernetesVersion.V1_32,
188
+ default_capacity_type=eks.DefaultCapacityType.AUTOMODE,
189
+ compute=eks.ComputeConfig(
190
+ node_pools=[]
191
+ )
192
+ )
193
+ ```
194
+
195
+ When node pools are disabled this way, no IAM role will be created for the node pools, preventing deployment failures that would otherwise occur when a role is created without any node pools.
196
+
181
197
  ### Node Groups as the default capacity type
182
198
 
183
199
  If you prefer to manage your own node groups instead of using Auto Mode, you can use the traditional node group approach by specifying `defaultCapacityType` as `NODEGROUP`:
@@ -12,4 +12,4 @@ src/aws_cdk.aws_eks_v2_alpha.egg-info/top_level.txt
12
12
  src/aws_cdk/aws_eks_v2_alpha/__init__.py
13
13
  src/aws_cdk/aws_eks_v2_alpha/py.typed
14
14
  src/aws_cdk/aws_eks_v2_alpha/_jsii/__init__.py
15
- src/aws_cdk/aws_eks_v2_alpha/_jsii/aws-eks-v2-alpha@2.184.1-alpha.0.jsii.tgz
15
+ src/aws_cdk/aws_eks_v2_alpha/_jsii/aws-eks-v2-alpha@2.186.0-alpha.0.jsii.tgz
@@ -1,4 +1,4 @@
1
- aws-cdk-lib<3.0.0,>=2.184.1
1
+ aws-cdk-lib<3.0.0,>=2.186.0
2
2
  constructs<11.0.0,>=10.0.0
3
3
  jsii<2.0.0,>=1.109.0
4
4
  publication>=0.0.3