pulumi-eks 3.9.0a1742626547__py3-none-any.whl → 4.2.0__py3-none-any.whl
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.
- pulumi_eks/__init__.py +1 -0
- pulumi_eks/_enums.py +16 -7
- pulumi_eks/_inputs.py +491 -490
- pulumi_eks/_utilities.py +8 -4
- pulumi_eks/addon.py +51 -49
- pulumi_eks/cluster.py +346 -304
- pulumi_eks/cluster_creation_role_provider.py +12 -10
- pulumi_eks/managed_node_group.py +162 -160
- pulumi_eks/node_group.py +221 -219
- pulumi_eks/node_group_security_group.py +16 -14
- pulumi_eks/node_group_v2.py +234 -232
- pulumi_eks/outputs.py +148 -147
- pulumi_eks/provider.py +2 -0
- pulumi_eks/pulumi-plugin.json +1 -1
- pulumi_eks/vpc_cni_addon.py +170 -168
- {pulumi_eks-3.9.0a1742626547.dist-info → pulumi_eks-4.2.0.dist-info}/METADATA +4 -4
- pulumi_eks-4.2.0.dist-info/RECORD +20 -0
- {pulumi_eks-3.9.0a1742626547.dist-info → pulumi_eks-4.2.0.dist-info}/WHEEL +1 -1
- pulumi_eks-3.9.0a1742626547.dist-info/RECORD +0 -20
- {pulumi_eks-3.9.0a1742626547.dist-info → pulumi_eks-4.2.0.dist-info}/top_level.txt +0 -0
pulumi_eks/_inputs.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-gen-eks. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -65,7 +66,7 @@ if not MYPY:
|
|
|
65
66
|
You have the following options for authorizing an IAM principal to access Kubernetes objects on your cluster: Kubernetes role-based access control (RBAC), Amazon EKS, or both.
|
|
66
67
|
Kubernetes RBAC authorization requires you to create and manage Kubernetes Role , ClusterRole , RoleBinding , and ClusterRoleBinding objects, in addition to managing access entries. If you use Amazon EKS authorization exclusively, you don't need to create and manage Kubernetes Role , ClusterRole , RoleBinding , and ClusterRoleBinding objects.
|
|
67
68
|
"""
|
|
68
|
-
principal_arn: pulumi.Input[str]
|
|
69
|
+
principal_arn: pulumi.Input[builtins.str]
|
|
69
70
|
"""
|
|
70
71
|
The IAM Principal ARN which requires Authentication access to the EKS cluster.
|
|
71
72
|
"""
|
|
@@ -73,11 +74,11 @@ if not MYPY:
|
|
|
73
74
|
"""
|
|
74
75
|
The access policies to associate to the access entry.
|
|
75
76
|
"""
|
|
76
|
-
kubernetes_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
77
|
+
kubernetes_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
77
78
|
"""
|
|
78
79
|
A list of groups within Kubernetes to which the IAM principal is mapped to.
|
|
79
80
|
"""
|
|
80
|
-
tags: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
|
81
|
+
tags: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]
|
|
81
82
|
"""
|
|
82
83
|
The tags to apply to the AccessEntry.
|
|
83
84
|
"""
|
|
@@ -86,7 +87,7 @@ if not MYPY:
|
|
|
86
87
|
The type of the new access entry. Valid values are STANDARD, FARGATE_LINUX, EC2_LINUX, and EC2_WINDOWS.
|
|
87
88
|
Defaults to STANDARD which provides the standard workflow. EC2_LINUX, EC2_WINDOWS, FARGATE_LINUX types disallow users to input a username or kubernetesGroup, and prevent associating access policies.
|
|
88
89
|
"""
|
|
89
|
-
username: NotRequired[pulumi.Input[str]]
|
|
90
|
+
username: NotRequired[pulumi.Input[builtins.str]]
|
|
90
91
|
"""
|
|
91
92
|
Defaults to the principalArn if the principal is a user, else defaults to assume-role/session-name.
|
|
92
93
|
"""
|
|
@@ -96,24 +97,24 @@ elif False:
|
|
|
96
97
|
@pulumi.input_type
|
|
97
98
|
class AccessEntryArgs:
|
|
98
99
|
def __init__(__self__, *,
|
|
99
|
-
principal_arn: pulumi.Input[str],
|
|
100
|
+
principal_arn: pulumi.Input[builtins.str],
|
|
100
101
|
access_policies: Optional[Mapping[str, pulumi.Input['AccessPolicyAssociationArgs']]] = None,
|
|
101
|
-
kubernetes_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
102
|
-
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
102
|
+
kubernetes_groups: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
103
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
103
104
|
type: Optional[pulumi.Input['AccessEntryType']] = None,
|
|
104
|
-
username: Optional[pulumi.Input[str]] = None):
|
|
105
|
+
username: Optional[pulumi.Input[builtins.str]] = None):
|
|
105
106
|
"""
|
|
106
107
|
Access entries allow an IAM principal to access your cluster.
|
|
107
108
|
|
|
108
109
|
You have the following options for authorizing an IAM principal to access Kubernetes objects on your cluster: Kubernetes role-based access control (RBAC), Amazon EKS, or both.
|
|
109
110
|
Kubernetes RBAC authorization requires you to create and manage Kubernetes Role , ClusterRole , RoleBinding , and ClusterRoleBinding objects, in addition to managing access entries. If you use Amazon EKS authorization exclusively, you don't need to create and manage Kubernetes Role , ClusterRole , RoleBinding , and ClusterRoleBinding objects.
|
|
110
|
-
:param pulumi.Input[str] principal_arn: The IAM Principal ARN which requires Authentication access to the EKS cluster.
|
|
111
|
+
:param pulumi.Input[builtins.str] principal_arn: The IAM Principal ARN which requires Authentication access to the EKS cluster.
|
|
111
112
|
:param Mapping[str, pulumi.Input['AccessPolicyAssociationArgs']] access_policies: The access policies to associate to the access entry.
|
|
112
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] kubernetes_groups: A list of groups within Kubernetes to which the IAM principal is mapped to.
|
|
113
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags to apply to the AccessEntry.
|
|
113
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] kubernetes_groups: A list of groups within Kubernetes to which the IAM principal is mapped to.
|
|
114
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: The tags to apply to the AccessEntry.
|
|
114
115
|
:param pulumi.Input['AccessEntryType'] type: The type of the new access entry. Valid values are STANDARD, FARGATE_LINUX, EC2_LINUX, and EC2_WINDOWS.
|
|
115
116
|
Defaults to STANDARD which provides the standard workflow. EC2_LINUX, EC2_WINDOWS, FARGATE_LINUX types disallow users to input a username or kubernetesGroup, and prevent associating access policies.
|
|
116
|
-
:param pulumi.Input[str] username: Defaults to the principalArn if the principal is a user, else defaults to assume-role/session-name.
|
|
117
|
+
:param pulumi.Input[builtins.str] username: Defaults to the principalArn if the principal is a user, else defaults to assume-role/session-name.
|
|
117
118
|
"""
|
|
118
119
|
pulumi.set(__self__, "principal_arn", principal_arn)
|
|
119
120
|
if access_policies is not None:
|
|
@@ -129,14 +130,14 @@ class AccessEntryArgs:
|
|
|
129
130
|
|
|
130
131
|
@property
|
|
131
132
|
@pulumi.getter(name="principalArn")
|
|
132
|
-
def principal_arn(self) -> pulumi.Input[str]:
|
|
133
|
+
def principal_arn(self) -> pulumi.Input[builtins.str]:
|
|
133
134
|
"""
|
|
134
135
|
The IAM Principal ARN which requires Authentication access to the EKS cluster.
|
|
135
136
|
"""
|
|
136
137
|
return pulumi.get(self, "principal_arn")
|
|
137
138
|
|
|
138
139
|
@principal_arn.setter
|
|
139
|
-
def principal_arn(self, value: pulumi.Input[str]):
|
|
140
|
+
def principal_arn(self, value: pulumi.Input[builtins.str]):
|
|
140
141
|
pulumi.set(self, "principal_arn", value)
|
|
141
142
|
|
|
142
143
|
@property
|
|
@@ -153,26 +154,26 @@ class AccessEntryArgs:
|
|
|
153
154
|
|
|
154
155
|
@property
|
|
155
156
|
@pulumi.getter(name="kubernetesGroups")
|
|
156
|
-
def kubernetes_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
157
|
+
def kubernetes_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
157
158
|
"""
|
|
158
159
|
A list of groups within Kubernetes to which the IAM principal is mapped to.
|
|
159
160
|
"""
|
|
160
161
|
return pulumi.get(self, "kubernetes_groups")
|
|
161
162
|
|
|
162
163
|
@kubernetes_groups.setter
|
|
163
|
-
def kubernetes_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
164
|
+
def kubernetes_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
164
165
|
pulumi.set(self, "kubernetes_groups", value)
|
|
165
166
|
|
|
166
167
|
@property
|
|
167
168
|
@pulumi.getter
|
|
168
|
-
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
169
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
169
170
|
"""
|
|
170
171
|
The tags to apply to the AccessEntry.
|
|
171
172
|
"""
|
|
172
173
|
return pulumi.get(self, "tags")
|
|
173
174
|
|
|
174
175
|
@tags.setter
|
|
175
|
-
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
176
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
176
177
|
pulumi.set(self, "tags", value)
|
|
177
178
|
|
|
178
179
|
@property
|
|
@@ -190,14 +191,14 @@ class AccessEntryArgs:
|
|
|
190
191
|
|
|
191
192
|
@property
|
|
192
193
|
@pulumi.getter
|
|
193
|
-
def username(self) -> Optional[pulumi.Input[str]]:
|
|
194
|
+
def username(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
194
195
|
"""
|
|
195
196
|
Defaults to the principalArn if the principal is a user, else defaults to assume-role/session-name.
|
|
196
197
|
"""
|
|
197
198
|
return pulumi.get(self, "username")
|
|
198
199
|
|
|
199
200
|
@username.setter
|
|
200
|
-
def username(self, value: Optional[pulumi.Input[str]]):
|
|
201
|
+
def username(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
201
202
|
pulumi.set(self, "username", value)
|
|
202
203
|
|
|
203
204
|
|
|
@@ -213,7 +214,7 @@ if not MYPY:
|
|
|
213
214
|
"""
|
|
214
215
|
The scope of the access policy association. This controls whether the access policy is scoped to the cluster or to a particular namespace.
|
|
215
216
|
"""
|
|
216
|
-
policy_arn: pulumi.Input[str]
|
|
217
|
+
policy_arn: pulumi.Input[builtins.str]
|
|
217
218
|
"""
|
|
218
219
|
The ARN of the access policy to associate with the principal
|
|
219
220
|
"""
|
|
@@ -224,14 +225,14 @@ elif False:
|
|
|
224
225
|
class AccessPolicyAssociationArgs:
|
|
225
226
|
def __init__(__self__, *,
|
|
226
227
|
access_scope: pulumi.Input['pulumi_aws.eks.AccessPolicyAssociationAccessScopeArgs'],
|
|
227
|
-
policy_arn: pulumi.Input[str]):
|
|
228
|
+
policy_arn: pulumi.Input[builtins.str]):
|
|
228
229
|
"""
|
|
229
230
|
Associates an access policy and its scope to an IAM principal.
|
|
230
231
|
|
|
231
232
|
See for more details:
|
|
232
233
|
https://docs.aws.amazon.com/eks/latest/userguide/access-entries.html
|
|
233
234
|
:param pulumi.Input['pulumi_aws.eks.AccessPolicyAssociationAccessScopeArgs'] access_scope: The scope of the access policy association. This controls whether the access policy is scoped to the cluster or to a particular namespace.
|
|
234
|
-
:param pulumi.Input[str] policy_arn: The ARN of the access policy to associate with the principal
|
|
235
|
+
:param pulumi.Input[builtins.str] policy_arn: The ARN of the access policy to associate with the principal
|
|
235
236
|
"""
|
|
236
237
|
pulumi.set(__self__, "access_scope", access_scope)
|
|
237
238
|
pulumi.set(__self__, "policy_arn", policy_arn)
|
|
@@ -250,14 +251,14 @@ class AccessPolicyAssociationArgs:
|
|
|
250
251
|
|
|
251
252
|
@property
|
|
252
253
|
@pulumi.getter(name="policyArn")
|
|
253
|
-
def policy_arn(self) -> pulumi.Input[str]:
|
|
254
|
+
def policy_arn(self) -> pulumi.Input[builtins.str]:
|
|
254
255
|
"""
|
|
255
256
|
The ARN of the access policy to associate with the principal
|
|
256
257
|
"""
|
|
257
258
|
return pulumi.get(self, "policy_arn")
|
|
258
259
|
|
|
259
260
|
@policy_arn.setter
|
|
260
|
-
def policy_arn(self, value: pulumi.Input[str]):
|
|
261
|
+
def policy_arn(self, value: pulumi.Input[builtins.str]):
|
|
261
262
|
pulumi.set(self, "policy_arn", value)
|
|
262
263
|
|
|
263
264
|
|
|
@@ -268,7 +269,7 @@ if not MYPY:
|
|
|
268
269
|
|
|
269
270
|
For more information, see: https://docs.aws.amazon.com/eks/latest/userguide/automode.html
|
|
270
271
|
"""
|
|
271
|
-
enabled: bool
|
|
272
|
+
enabled: builtins.bool
|
|
272
273
|
"""
|
|
273
274
|
Whether to enable EKS Auto Mode. If enabled, EKS will manage node pools, EBS volumes and Load Balancers for you.
|
|
274
275
|
When enabled, the vpc-cni and kube-proxy will not be enabled by default because EKS Auto Mode includes pod networking capabilities.
|
|
@@ -277,7 +278,7 @@ if not MYPY:
|
|
|
277
278
|
"""
|
|
278
279
|
Compute configuration for EKS Auto Mode.
|
|
279
280
|
"""
|
|
280
|
-
create_node_role: NotRequired[bool]
|
|
281
|
+
create_node_role: NotRequired[builtins.bool]
|
|
281
282
|
"""
|
|
282
283
|
Whether to create an IAM role for the EKS Auto Mode node group if none is provided in `computeConfig`.
|
|
283
284
|
"""
|
|
@@ -287,17 +288,17 @@ elif False:
|
|
|
287
288
|
@pulumi.input_type
|
|
288
289
|
class AutoModeOptionsArgs:
|
|
289
290
|
def __init__(__self__, *,
|
|
290
|
-
enabled: bool,
|
|
291
|
+
enabled: builtins.bool,
|
|
291
292
|
compute_config: Optional[pulumi.Input['ClusterComputeConfigArgs']] = None,
|
|
292
|
-
create_node_role: Optional[bool] = None):
|
|
293
|
+
create_node_role: Optional[builtins.bool] = None):
|
|
293
294
|
"""
|
|
294
295
|
Configuration Options for EKS Auto Mode. If EKS Auto Mode is enabled, AWS will manage cluster infrastructure on your behalf.
|
|
295
296
|
|
|
296
297
|
For more information, see: https://docs.aws.amazon.com/eks/latest/userguide/automode.html
|
|
297
|
-
:param bool enabled: Whether to enable EKS Auto Mode. If enabled, EKS will manage node pools, EBS volumes and Load Balancers for you.
|
|
298
|
+
:param builtins.bool enabled: Whether to enable EKS Auto Mode. If enabled, EKS will manage node pools, EBS volumes and Load Balancers for you.
|
|
298
299
|
When enabled, the vpc-cni and kube-proxy will not be enabled by default because EKS Auto Mode includes pod networking capabilities.
|
|
299
300
|
:param pulumi.Input['ClusterComputeConfigArgs'] compute_config: Compute configuration for EKS Auto Mode.
|
|
300
|
-
:param bool create_node_role: Whether to create an IAM role for the EKS Auto Mode node group if none is provided in `computeConfig`.
|
|
301
|
+
:param builtins.bool create_node_role: Whether to create an IAM role for the EKS Auto Mode node group if none is provided in `computeConfig`.
|
|
301
302
|
"""
|
|
302
303
|
pulumi.set(__self__, "enabled", enabled)
|
|
303
304
|
if compute_config is not None:
|
|
@@ -309,7 +310,7 @@ class AutoModeOptionsArgs:
|
|
|
309
310
|
|
|
310
311
|
@property
|
|
311
312
|
@pulumi.getter
|
|
312
|
-
def enabled(self) -> bool:
|
|
313
|
+
def enabled(self) -> builtins.bool:
|
|
313
314
|
"""
|
|
314
315
|
Whether to enable EKS Auto Mode. If enabled, EKS will manage node pools, EBS volumes and Load Balancers for you.
|
|
315
316
|
When enabled, the vpc-cni and kube-proxy will not be enabled by default because EKS Auto Mode includes pod networking capabilities.
|
|
@@ -317,7 +318,7 @@ class AutoModeOptionsArgs:
|
|
|
317
318
|
return pulumi.get(self, "enabled")
|
|
318
319
|
|
|
319
320
|
@enabled.setter
|
|
320
|
-
def enabled(self, value: bool):
|
|
321
|
+
def enabled(self, value: builtins.bool):
|
|
321
322
|
pulumi.set(self, "enabled", value)
|
|
322
323
|
|
|
323
324
|
@property
|
|
@@ -334,14 +335,14 @@ class AutoModeOptionsArgs:
|
|
|
334
335
|
|
|
335
336
|
@property
|
|
336
337
|
@pulumi.getter(name="createNodeRole")
|
|
337
|
-
def create_node_role(self) -> Optional[bool]:
|
|
338
|
+
def create_node_role(self) -> Optional[builtins.bool]:
|
|
338
339
|
"""
|
|
339
340
|
Whether to create an IAM role for the EKS Auto Mode node group if none is provided in `computeConfig`.
|
|
340
341
|
"""
|
|
341
342
|
return pulumi.get(self, "create_node_role")
|
|
342
343
|
|
|
343
344
|
@create_node_role.setter
|
|
344
|
-
def create_node_role(self, value: Optional[bool]):
|
|
345
|
+
def create_node_role(self, value: Optional[builtins.bool]):
|
|
345
346
|
pulumi.set(self, "create_node_role", value)
|
|
346
347
|
|
|
347
348
|
|
|
@@ -350,13 +351,13 @@ if not MYPY:
|
|
|
350
351
|
"""
|
|
351
352
|
Configuration for the compute capability of your EKS Auto Mode cluster.
|
|
352
353
|
"""
|
|
353
|
-
node_pools: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
354
|
+
node_pools: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
354
355
|
"""
|
|
355
356
|
Configuration for node pools that defines the compute resources for your EKS Auto Mode cluster. Valid options are `general-purpose` and `system`.
|
|
356
357
|
|
|
357
358
|
By default, the built-in `system` and `general-purpose` nodepools are enabled.
|
|
358
359
|
"""
|
|
359
|
-
node_role_arn: NotRequired[pulumi.Input[str]]
|
|
360
|
+
node_role_arn: NotRequired[pulumi.Input[builtins.str]]
|
|
360
361
|
"""
|
|
361
362
|
The ARN of the IAM Role EKS will assign to EC2 Managed Instances in your EKS Auto Mode cluster. This value cannot be changed after the compute capability of EKS Auto Mode is enabled.
|
|
362
363
|
"""
|
|
@@ -366,14 +367,14 @@ elif False:
|
|
|
366
367
|
@pulumi.input_type
|
|
367
368
|
class ClusterComputeConfigArgs:
|
|
368
369
|
def __init__(__self__, *,
|
|
369
|
-
node_pools: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
370
|
-
node_role_arn: Optional[pulumi.Input[str]] = None):
|
|
370
|
+
node_pools: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
371
|
+
node_role_arn: Optional[pulumi.Input[builtins.str]] = None):
|
|
371
372
|
"""
|
|
372
373
|
Configuration for the compute capability of your EKS Auto Mode cluster.
|
|
373
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] node_pools: Configuration for node pools that defines the compute resources for your EKS Auto Mode cluster. Valid options are `general-purpose` and `system`.
|
|
374
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] node_pools: Configuration for node pools that defines the compute resources for your EKS Auto Mode cluster. Valid options are `general-purpose` and `system`.
|
|
374
375
|
|
|
375
376
|
By default, the built-in `system` and `general-purpose` nodepools are enabled.
|
|
376
|
-
:param pulumi.Input[str] node_role_arn: The ARN of the IAM Role EKS will assign to EC2 Managed Instances in your EKS Auto Mode cluster. This value cannot be changed after the compute capability of EKS Auto Mode is enabled.
|
|
377
|
+
:param pulumi.Input[builtins.str] node_role_arn: The ARN of the IAM Role EKS will assign to EC2 Managed Instances in your EKS Auto Mode cluster. This value cannot be changed after the compute capability of EKS Auto Mode is enabled.
|
|
377
378
|
"""
|
|
378
379
|
if node_pools is not None:
|
|
379
380
|
pulumi.set(__self__, "node_pools", node_pools)
|
|
@@ -382,7 +383,7 @@ class ClusterComputeConfigArgs:
|
|
|
382
383
|
|
|
383
384
|
@property
|
|
384
385
|
@pulumi.getter(name="nodePools")
|
|
385
|
-
def node_pools(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
386
|
+
def node_pools(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
386
387
|
"""
|
|
387
388
|
Configuration for node pools that defines the compute resources for your EKS Auto Mode cluster. Valid options are `general-purpose` and `system`.
|
|
388
389
|
|
|
@@ -391,19 +392,19 @@ class ClusterComputeConfigArgs:
|
|
|
391
392
|
return pulumi.get(self, "node_pools")
|
|
392
393
|
|
|
393
394
|
@node_pools.setter
|
|
394
|
-
def node_pools(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
395
|
+
def node_pools(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
395
396
|
pulumi.set(self, "node_pools", value)
|
|
396
397
|
|
|
397
398
|
@property
|
|
398
399
|
@pulumi.getter(name="nodeRoleArn")
|
|
399
|
-
def node_role_arn(self) -> Optional[pulumi.Input[str]]:
|
|
400
|
+
def node_role_arn(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
400
401
|
"""
|
|
401
402
|
The ARN of the IAM Role EKS will assign to EC2 Managed Instances in your EKS Auto Mode cluster. This value cannot be changed after the compute capability of EKS Auto Mode is enabled.
|
|
402
403
|
"""
|
|
403
404
|
return pulumi.get(self, "node_role_arn")
|
|
404
405
|
|
|
405
406
|
@node_role_arn.setter
|
|
406
|
-
def node_role_arn(self, value: Optional[pulumi.Input[str]]):
|
|
407
|
+
def node_role_arn(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
407
408
|
pulumi.set(self, "node_role_arn", value)
|
|
408
409
|
|
|
409
410
|
|
|
@@ -412,7 +413,7 @@ if not MYPY:
|
|
|
412
413
|
"""
|
|
413
414
|
Describes the configuration options accepted by a cluster to create its own node groups.
|
|
414
415
|
"""
|
|
415
|
-
ami_id: NotRequired[pulumi.Input[str]]
|
|
416
|
+
ami_id: NotRequired[pulumi.Input[builtins.str]]
|
|
416
417
|
"""
|
|
417
418
|
The AMI ID to use for the worker nodes.
|
|
418
419
|
|
|
@@ -423,7 +424,7 @@ if not MYPY:
|
|
|
423
424
|
See for more details:
|
|
424
425
|
- https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html.
|
|
425
426
|
"""
|
|
426
|
-
ami_type: NotRequired[pulumi.Input[str]]
|
|
427
|
+
ami_type: NotRequired[pulumi.Input[builtins.str]]
|
|
427
428
|
"""
|
|
428
429
|
The AMI Type to use for the worker nodes.
|
|
429
430
|
|
|
@@ -431,7 +432,7 @@ if not MYPY:
|
|
|
431
432
|
|
|
432
433
|
Note: `amiType` and `gpu` are mutually exclusive.
|
|
433
434
|
"""
|
|
434
|
-
auto_scaling_group_tags: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
|
435
|
+
auto_scaling_group_tags: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]
|
|
435
436
|
"""
|
|
436
437
|
The tags to apply to the NodeGroup's AutoScalingGroup in the CloudFormation Stack.
|
|
437
438
|
|
|
@@ -439,7 +440,7 @@ if not MYPY:
|
|
|
439
440
|
|
|
440
441
|
Note: Given the inheritance of auto-generated CF tags and `cloudFormationTags`, you should either supply the tag in `autoScalingGroupTags` or `cloudFormationTags`, but not both.
|
|
441
442
|
"""
|
|
442
|
-
bootstrap_extra_args: NotRequired[pulumi.Input[str]]
|
|
443
|
+
bootstrap_extra_args: NotRequired[pulumi.Input[builtins.str]]
|
|
443
444
|
"""
|
|
444
445
|
Additional args to pass directly to `/etc/eks/bootstrap.sh`. For details on available options, see: https://github.com/awslabs/amazon-eks-ami/blob/master/files/bootstrap.sh. Note that the `--apiserver-endpoint`, `--b64-cluster-ca` and `--kubelet-extra-args` flags are included automatically based on other configuration parameters.
|
|
445
446
|
"""
|
|
@@ -456,7 +457,7 @@ if not MYPY:
|
|
|
456
457
|
|
|
457
458
|
For an overview of the available settings, see https://bottlerocket.dev/en/os/1.20.x/api/settings/.
|
|
458
459
|
"""
|
|
459
|
-
cloud_formation_tags: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
|
460
|
+
cloud_formation_tags: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]
|
|
460
461
|
"""
|
|
461
462
|
The tags to apply to the CloudFormation Stack of the Worker NodeGroup.
|
|
462
463
|
|
|
@@ -466,15 +467,15 @@ if not MYPY:
|
|
|
466
467
|
"""
|
|
467
468
|
The ingress rule that gives node group access.
|
|
468
469
|
"""
|
|
469
|
-
cluster_ingress_rule_id: NotRequired[pulumi.Input[str]]
|
|
470
|
+
cluster_ingress_rule_id: NotRequired[pulumi.Input[builtins.str]]
|
|
470
471
|
"""
|
|
471
472
|
The ID of the ingress rule that gives node group access.
|
|
472
473
|
"""
|
|
473
|
-
desired_capacity: NotRequired[pulumi.Input[int]]
|
|
474
|
+
desired_capacity: NotRequired[pulumi.Input[builtins.int]]
|
|
474
475
|
"""
|
|
475
476
|
The number of worker nodes that should be running in the cluster. Defaults to 2.
|
|
476
477
|
"""
|
|
477
|
-
enable_detailed_monitoring: NotRequired[pulumi.Input[bool]]
|
|
478
|
+
enable_detailed_monitoring: NotRequired[pulumi.Input[builtins.bool]]
|
|
478
479
|
"""
|
|
479
480
|
Enables/disables detailed monitoring of the EC2 instances.
|
|
480
481
|
|
|
@@ -484,7 +485,7 @@ if not MYPY:
|
|
|
484
485
|
Note: You are charged per metric that is sent to CloudWatch. You are not charged for data storage.
|
|
485
486
|
For more information, see "Paid tier" and "Example 1 - EC2 Detailed Monitoring" here https://aws.amazon.com/cloudwatch/pricing/.
|
|
486
487
|
"""
|
|
487
|
-
encrypt_root_block_device: NotRequired[pulumi.Input[bool]]
|
|
488
|
+
encrypt_root_block_device: NotRequired[pulumi.Input[builtins.bool]]
|
|
488
489
|
"""
|
|
489
490
|
Encrypt the root block device of the nodes in the node group.
|
|
490
491
|
"""
|
|
@@ -494,7 +495,7 @@ if not MYPY:
|
|
|
494
495
|
|
|
495
496
|
This additional set of security groups captures any user application rules that will be needed for the nodes.
|
|
496
497
|
"""
|
|
497
|
-
gpu: NotRequired[pulumi.Input[bool]]
|
|
498
|
+
gpu: NotRequired[pulumi.Input[builtins.bool]]
|
|
498
499
|
"""
|
|
499
500
|
Use the latest recommended EKS Optimized Linux AMI with GPU support for the worker nodes from the AWS Systems Manager Parameter Store.
|
|
500
501
|
|
|
@@ -506,7 +507,7 @@ if not MYPY:
|
|
|
506
507
|
- https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html
|
|
507
508
|
- https://docs.aws.amazon.com/eks/latest/userguide/retrieve-ami-id.html
|
|
508
509
|
"""
|
|
509
|
-
ignore_scaling_changes: NotRequired[bool]
|
|
510
|
+
ignore_scaling_changes: NotRequired[builtins.bool]
|
|
510
511
|
"""
|
|
511
512
|
Whether to ignore changes to the desired size of the Auto Scaling Group. This is useful when using Cluster Autoscaler.
|
|
512
513
|
|
|
@@ -516,23 +517,23 @@ if not MYPY:
|
|
|
516
517
|
"""
|
|
517
518
|
The IAM InstanceProfile to use on the NodeGroup. Properties instanceProfile and instanceProfileName are mutually exclusive.
|
|
518
519
|
"""
|
|
519
|
-
instance_profile_name: NotRequired[pulumi.Input[str]]
|
|
520
|
+
instance_profile_name: NotRequired[pulumi.Input[builtins.str]]
|
|
520
521
|
"""
|
|
521
522
|
The name of the IAM InstanceProfile to use on the NodeGroup. Properties instanceProfile and instanceProfileName are mutually exclusive.
|
|
522
523
|
"""
|
|
523
|
-
instance_type: NotRequired[pulumi.Input[str]]
|
|
524
|
+
instance_type: NotRequired[pulumi.Input[builtins.str]]
|
|
524
525
|
"""
|
|
525
526
|
The instance type to use for the cluster's nodes. Defaults to "t3.medium".
|
|
526
527
|
"""
|
|
527
|
-
key_name: NotRequired[pulumi.Input[str]]
|
|
528
|
+
key_name: NotRequired[pulumi.Input[builtins.str]]
|
|
528
529
|
"""
|
|
529
530
|
Name of the key pair to use for SSH access to worker nodes.
|
|
530
531
|
"""
|
|
531
|
-
kubelet_extra_args: NotRequired[pulumi.Input[str]]
|
|
532
|
+
kubelet_extra_args: NotRequired[pulumi.Input[builtins.str]]
|
|
532
533
|
"""
|
|
533
534
|
Extra args to pass to the Kubelet. Corresponds to the options passed in the `--kubeletExtraArgs` flag to `/etc/eks/bootstrap.sh`. For example, '--port=10251 --address=0.0.0.0'. Note that the `labels` and `taints` properties will be applied to this list (using `--node-labels` and `--register-with-taints` respectively) after to the explicit `kubeletExtraArgs`.
|
|
534
535
|
"""
|
|
535
|
-
labels: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
|
536
|
+
labels: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]
|
|
536
537
|
"""
|
|
537
538
|
Custom k8s node labels to be attached to each worker node. Adds the given key/value pairs to the `--node-labels` kubelet argument.
|
|
538
539
|
"""
|
|
@@ -540,49 +541,49 @@ if not MYPY:
|
|
|
540
541
|
"""
|
|
541
542
|
The tag specifications to apply to the launch template.
|
|
542
543
|
"""
|
|
543
|
-
max_size: NotRequired[pulumi.Input[int]]
|
|
544
|
+
max_size: NotRequired[pulumi.Input[builtins.int]]
|
|
544
545
|
"""
|
|
545
546
|
The maximum number of worker nodes running in the cluster. Defaults to 2.
|
|
546
547
|
"""
|
|
547
|
-
min_refresh_percentage: NotRequired[pulumi.Input[int]]
|
|
548
|
+
min_refresh_percentage: NotRequired[pulumi.Input[builtins.int]]
|
|
548
549
|
"""
|
|
549
550
|
The minimum amount of instances that should remain available during an instance refresh, expressed as a percentage. Defaults to 50.
|
|
550
551
|
"""
|
|
551
|
-
min_size: NotRequired[pulumi.Input[int]]
|
|
552
|
+
min_size: NotRequired[pulumi.Input[builtins.int]]
|
|
552
553
|
"""
|
|
553
554
|
The minimum number of worker nodes running in the cluster. Defaults to 1.
|
|
554
555
|
"""
|
|
555
|
-
node_associate_public_ip_address: NotRequired[pulumi.Input[bool]]
|
|
556
|
+
node_associate_public_ip_address: NotRequired[pulumi.Input[builtins.bool]]
|
|
556
557
|
"""
|
|
557
558
|
Whether or not to auto-assign public IP addresses on the EKS worker nodes. If this toggle is set to true, the EKS workers will be auto-assigned public IPs. If false, they will not be auto-assigned public IPs.
|
|
558
559
|
"""
|
|
559
|
-
node_public_key: NotRequired[pulumi.Input[str]]
|
|
560
|
+
node_public_key: NotRequired[pulumi.Input[builtins.str]]
|
|
560
561
|
"""
|
|
561
562
|
Public key material for SSH access to worker nodes. See allowed formats at:
|
|
562
563
|
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html
|
|
563
564
|
If not provided, no SSH access is enabled on VMs.
|
|
564
565
|
"""
|
|
565
|
-
node_root_volume_delete_on_termination: NotRequired[pulumi.Input[bool]]
|
|
566
|
+
node_root_volume_delete_on_termination: NotRequired[pulumi.Input[builtins.bool]]
|
|
566
567
|
"""
|
|
567
568
|
Whether the root block device should be deleted on termination of the instance. Defaults to true.
|
|
568
569
|
"""
|
|
569
|
-
node_root_volume_encrypted: NotRequired[pulumi.Input[bool]]
|
|
570
|
+
node_root_volume_encrypted: NotRequired[pulumi.Input[builtins.bool]]
|
|
570
571
|
"""
|
|
571
572
|
Whether to encrypt a cluster node's root volume. Defaults to false.
|
|
572
573
|
"""
|
|
573
|
-
node_root_volume_iops: NotRequired[pulumi.Input[int]]
|
|
574
|
+
node_root_volume_iops: NotRequired[pulumi.Input[builtins.int]]
|
|
574
575
|
"""
|
|
575
576
|
The amount of provisioned IOPS. This is only valid with a volumeType of 'io1'.
|
|
576
577
|
"""
|
|
577
|
-
node_root_volume_size: NotRequired[pulumi.Input[int]]
|
|
578
|
+
node_root_volume_size: NotRequired[pulumi.Input[builtins.int]]
|
|
578
579
|
"""
|
|
579
580
|
The size in GiB of a cluster node's root volume. Defaults to 20.
|
|
580
581
|
"""
|
|
581
|
-
node_root_volume_throughput: NotRequired[pulumi.Input[int]]
|
|
582
|
+
node_root_volume_throughput: NotRequired[pulumi.Input[builtins.int]]
|
|
582
583
|
"""
|
|
583
584
|
Provisioned throughput performance in integer MiB/s for a cluster node's root volume. This is only valid with a volumeType of 'gp3'.
|
|
584
585
|
"""
|
|
585
|
-
node_root_volume_type: NotRequired[pulumi.Input[str]]
|
|
586
|
+
node_root_volume_type: NotRequired[pulumi.Input[builtins.str]]
|
|
586
587
|
"""
|
|
587
588
|
Configured EBS type for a cluster node's root volume. Default is 'gp2'. Supported values are 'standard', 'gp2', 'gp3', 'st1', 'sc1', 'io1'.
|
|
588
589
|
"""
|
|
@@ -597,7 +598,7 @@ if not MYPY:
|
|
|
597
598
|
|
|
598
599
|
Note: The `nodeSecurityGroup` option and the cluster option`nodeSecurityGroupTags` are mutually exclusive.
|
|
599
600
|
"""
|
|
600
|
-
node_security_group_id: NotRequired[pulumi.Input[str]]
|
|
601
|
+
node_security_group_id: NotRequired[pulumi.Input[builtins.str]]
|
|
601
602
|
"""
|
|
602
603
|
The ID of the security group for the worker node group to communicate with the cluster.
|
|
603
604
|
|
|
@@ -608,17 +609,17 @@ if not MYPY:
|
|
|
608
609
|
|
|
609
610
|
Note: The `nodeSecurityGroupId` option and the cluster option `nodeSecurityGroupTags` are mutually exclusive.
|
|
610
611
|
"""
|
|
611
|
-
node_subnet_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
612
|
+
node_subnet_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
612
613
|
"""
|
|
613
614
|
The set of subnets to override and use for the worker node group.
|
|
614
615
|
|
|
615
616
|
Setting this option overrides which subnets to use for the worker node group, regardless if the cluster's `subnetIds` is set, or if `publicSubnetIds` and/or `privateSubnetIds` were set.
|
|
616
617
|
"""
|
|
617
|
-
node_user_data: NotRequired[pulumi.Input[str]]
|
|
618
|
+
node_user_data: NotRequired[pulumi.Input[builtins.str]]
|
|
618
619
|
"""
|
|
619
620
|
Extra code to run on node startup. This code will run after the AWS EKS bootstrapping code and before the node signals its readiness to the managing CloudFormation stack. This code must be a typical user data script: critically it must begin with an interpreter directive (i.e. a `#!`).
|
|
620
621
|
"""
|
|
621
|
-
node_user_data_override: NotRequired[pulumi.Input[str]]
|
|
622
|
+
node_user_data_override: NotRequired[pulumi.Input[builtins.str]]
|
|
622
623
|
"""
|
|
623
624
|
User specified code to run on node startup. This code is expected to handle the full AWS EKS bootstrapping code and signal node readiness to the managing CloudFormation stack. This code must be a complete and executable user data script in bash (Linux) or powershell (Windows).
|
|
624
625
|
|
|
@@ -645,7 +646,7 @@ if not MYPY:
|
|
|
645
646
|
|
|
646
647
|
Defaults to the current recommended OS.
|
|
647
648
|
"""
|
|
648
|
-
spot_price: NotRequired[pulumi.Input[str]]
|
|
649
|
+
spot_price: NotRequired[pulumi.Input[builtins.str]]
|
|
649
650
|
"""
|
|
650
651
|
Bidding price for spot instance. If set, only spot instances will be added as worker node.
|
|
651
652
|
"""
|
|
@@ -653,7 +654,7 @@ if not MYPY:
|
|
|
653
654
|
"""
|
|
654
655
|
Custom k8s node taints to be attached to each worker node. Adds the given taints to the `--register-with-taints` kubelet argument
|
|
655
656
|
"""
|
|
656
|
-
version: NotRequired[pulumi.Input[str]]
|
|
657
|
+
version: NotRequired[pulumi.Input[builtins.str]]
|
|
657
658
|
"""
|
|
658
659
|
Desired Kubernetes master / control plane version. If you do not specify a value, the latest available version is used.
|
|
659
660
|
"""
|
|
@@ -663,51 +664,51 @@ elif False:
|
|
|
663
664
|
@pulumi.input_type
|
|
664
665
|
class ClusterNodeGroupOptionsArgs:
|
|
665
666
|
def __init__(__self__, *,
|
|
666
|
-
ami_id: Optional[pulumi.Input[str]] = None,
|
|
667
|
-
ami_type: Optional[pulumi.Input[str]] = None,
|
|
668
|
-
auto_scaling_group_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
669
|
-
bootstrap_extra_args: Optional[pulumi.Input[str]] = None,
|
|
667
|
+
ami_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
668
|
+
ami_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
669
|
+
auto_scaling_group_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
670
|
+
bootstrap_extra_args: Optional[pulumi.Input[builtins.str]] = None,
|
|
670
671
|
bottlerocket_settings: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
671
|
-
cloud_formation_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
672
|
+
cloud_formation_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
672
673
|
cluster_ingress_rule: Optional[pulumi.Input['pulumi_aws.ec2.SecurityGroupRule']] = None,
|
|
673
|
-
cluster_ingress_rule_id: Optional[pulumi.Input[str]] = None,
|
|
674
|
-
desired_capacity: Optional[pulumi.Input[int]] = None,
|
|
675
|
-
enable_detailed_monitoring: Optional[pulumi.Input[bool]] = None,
|
|
676
|
-
encrypt_root_block_device: Optional[pulumi.Input[bool]] = None,
|
|
674
|
+
cluster_ingress_rule_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
675
|
+
desired_capacity: Optional[pulumi.Input[builtins.int]] = None,
|
|
676
|
+
enable_detailed_monitoring: Optional[pulumi.Input[builtins.bool]] = None,
|
|
677
|
+
encrypt_root_block_device: Optional[pulumi.Input[builtins.bool]] = None,
|
|
677
678
|
extra_node_security_groups: Optional[pulumi.Input[Sequence[pulumi.Input['pulumi_aws.ec2.SecurityGroup']]]] = None,
|
|
678
|
-
gpu: Optional[pulumi.Input[bool]] = None,
|
|
679
|
-
ignore_scaling_changes: Optional[bool] = None,
|
|
679
|
+
gpu: Optional[pulumi.Input[builtins.bool]] = None,
|
|
680
|
+
ignore_scaling_changes: Optional[builtins.bool] = None,
|
|
680
681
|
instance_profile: Optional['pulumi_aws.iam.InstanceProfile'] = None,
|
|
681
|
-
instance_profile_name: Optional[pulumi.Input[str]] = None,
|
|
682
|
-
instance_type: Optional[pulumi.Input[str]] = None,
|
|
683
|
-
key_name: Optional[pulumi.Input[str]] = None,
|
|
684
|
-
kubelet_extra_args: Optional[pulumi.Input[str]] = None,
|
|
685
|
-
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
682
|
+
instance_profile_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
683
|
+
instance_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
684
|
+
key_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
685
|
+
kubelet_extra_args: Optional[pulumi.Input[builtins.str]] = None,
|
|
686
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
686
687
|
launch_template_tag_specifications: Optional[pulumi.Input[Sequence[pulumi.Input['pulumi_aws.ec2.LaunchTemplateTagSpecificationArgs']]]] = None,
|
|
687
|
-
max_size: Optional[pulumi.Input[int]] = None,
|
|
688
|
-
min_refresh_percentage: Optional[pulumi.Input[int]] = None,
|
|
689
|
-
min_size: Optional[pulumi.Input[int]] = None,
|
|
690
|
-
node_associate_public_ip_address: Optional[pulumi.Input[bool]] = None,
|
|
691
|
-
node_public_key: Optional[pulumi.Input[str]] = None,
|
|
692
|
-
node_root_volume_delete_on_termination: Optional[pulumi.Input[bool]] = None,
|
|
693
|
-
node_root_volume_encrypted: Optional[pulumi.Input[bool]] = None,
|
|
694
|
-
node_root_volume_iops: Optional[pulumi.Input[int]] = None,
|
|
695
|
-
node_root_volume_size: Optional[pulumi.Input[int]] = None,
|
|
696
|
-
node_root_volume_throughput: Optional[pulumi.Input[int]] = None,
|
|
697
|
-
node_root_volume_type: Optional[pulumi.Input[str]] = None,
|
|
688
|
+
max_size: Optional[pulumi.Input[builtins.int]] = None,
|
|
689
|
+
min_refresh_percentage: Optional[pulumi.Input[builtins.int]] = None,
|
|
690
|
+
min_size: Optional[pulumi.Input[builtins.int]] = None,
|
|
691
|
+
node_associate_public_ip_address: Optional[pulumi.Input[builtins.bool]] = None,
|
|
692
|
+
node_public_key: Optional[pulumi.Input[builtins.str]] = None,
|
|
693
|
+
node_root_volume_delete_on_termination: Optional[pulumi.Input[builtins.bool]] = None,
|
|
694
|
+
node_root_volume_encrypted: Optional[pulumi.Input[builtins.bool]] = None,
|
|
695
|
+
node_root_volume_iops: Optional[pulumi.Input[builtins.int]] = None,
|
|
696
|
+
node_root_volume_size: Optional[pulumi.Input[builtins.int]] = None,
|
|
697
|
+
node_root_volume_throughput: Optional[pulumi.Input[builtins.int]] = None,
|
|
698
|
+
node_root_volume_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
698
699
|
node_security_group: Optional[pulumi.Input['pulumi_aws.ec2.SecurityGroup']] = None,
|
|
699
|
-
node_security_group_id: Optional[pulumi.Input[str]] = None,
|
|
700
|
-
node_subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
701
|
-
node_user_data: Optional[pulumi.Input[str]] = None,
|
|
702
|
-
node_user_data_override: Optional[pulumi.Input[str]] = None,
|
|
700
|
+
node_security_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
701
|
+
node_subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
702
|
+
node_user_data: Optional[pulumi.Input[builtins.str]] = None,
|
|
703
|
+
node_user_data_override: Optional[pulumi.Input[builtins.str]] = None,
|
|
703
704
|
nodeadm_extra_options: Optional[pulumi.Input[Sequence[pulumi.Input['NodeadmOptionsArgs']]]] = None,
|
|
704
705
|
operating_system: Optional[pulumi.Input['OperatingSystem']] = None,
|
|
705
|
-
spot_price: Optional[pulumi.Input[str]] = None,
|
|
706
|
+
spot_price: Optional[pulumi.Input[builtins.str]] = None,
|
|
706
707
|
taints: Optional[pulumi.Input[Mapping[str, pulumi.Input['TaintArgs']]]] = None,
|
|
707
|
-
version: Optional[pulumi.Input[str]] = None):
|
|
708
|
+
version: Optional[pulumi.Input[builtins.str]] = None):
|
|
708
709
|
"""
|
|
709
710
|
Describes the configuration options accepted by a cluster to create its own node groups.
|
|
710
|
-
:param pulumi.Input[str] ami_id: The AMI ID to use for the worker nodes.
|
|
711
|
+
:param pulumi.Input[builtins.str] ami_id: The AMI ID to use for the worker nodes.
|
|
711
712
|
|
|
712
713
|
Defaults to the latest recommended EKS Optimized Linux AMI from the AWS Systems Manager Parameter Store.
|
|
713
714
|
|
|
@@ -715,17 +716,17 @@ class ClusterNodeGroupOptionsArgs:
|
|
|
715
716
|
|
|
716
717
|
See for more details:
|
|
717
718
|
- https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html.
|
|
718
|
-
:param pulumi.Input[str] ami_type: The AMI Type to use for the worker nodes.
|
|
719
|
+
:param pulumi.Input[builtins.str] ami_type: The AMI Type to use for the worker nodes.
|
|
719
720
|
|
|
720
721
|
Only applicable when setting an AMI ID that is of type `arm64`.
|
|
721
722
|
|
|
722
723
|
Note: `amiType` and `gpu` are mutually exclusive.
|
|
723
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] auto_scaling_group_tags: The tags to apply to the NodeGroup's AutoScalingGroup in the CloudFormation Stack.
|
|
724
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] auto_scaling_group_tags: The tags to apply to the NodeGroup's AutoScalingGroup in the CloudFormation Stack.
|
|
724
725
|
|
|
725
726
|
Per AWS, all stack-level tags, including automatically created tags, and the `cloudFormationTags` option are propagated to resources that AWS CloudFormation supports, including the AutoScalingGroup. See https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html
|
|
726
727
|
|
|
727
728
|
Note: Given the inheritance of auto-generated CF tags and `cloudFormationTags`, you should either supply the tag in `autoScalingGroupTags` or `cloudFormationTags`, but not both.
|
|
728
|
-
:param pulumi.Input[str] bootstrap_extra_args: Additional args to pass directly to `/etc/eks/bootstrap.sh`. For details on available options, see: https://github.com/awslabs/amazon-eks-ami/blob/master/files/bootstrap.sh. Note that the `--apiserver-endpoint`, `--b64-cluster-ca` and `--kubelet-extra-args` flags are included automatically based on other configuration parameters.
|
|
729
|
+
:param pulumi.Input[builtins.str] bootstrap_extra_args: Additional args to pass directly to `/etc/eks/bootstrap.sh`. For details on available options, see: https://github.com/awslabs/amazon-eks-ami/blob/master/files/bootstrap.sh. Note that the `--apiserver-endpoint`, `--b64-cluster-ca` and `--kubelet-extra-args` flags are included automatically based on other configuration parameters.
|
|
729
730
|
:param pulumi.Input[Mapping[str, Any]] bottlerocket_settings: The configuration settings for Bottlerocket OS.
|
|
730
731
|
The settings will get merged with the base settings the provider uses to configure Bottlerocket.
|
|
731
732
|
|
|
@@ -736,24 +737,24 @@ class ClusterNodeGroupOptionsArgs:
|
|
|
736
737
|
- settings.kubernetes.cluster-dns-ip
|
|
737
738
|
|
|
738
739
|
For an overview of the available settings, see https://bottlerocket.dev/en/os/1.20.x/api/settings/.
|
|
739
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] cloud_formation_tags: The tags to apply to the CloudFormation Stack of the Worker NodeGroup.
|
|
740
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] cloud_formation_tags: The tags to apply to the CloudFormation Stack of the Worker NodeGroup.
|
|
740
741
|
|
|
741
742
|
Note: Given the inheritance of auto-generated CF tags and `cloudFormationTags`, you should either supply the tag in `autoScalingGroupTags` or `cloudFormationTags`, but not both.
|
|
742
743
|
:param pulumi.Input['pulumi_aws.ec2.SecurityGroupRule'] cluster_ingress_rule: The ingress rule that gives node group access.
|
|
743
|
-
:param pulumi.Input[str] cluster_ingress_rule_id: The ID of the ingress rule that gives node group access.
|
|
744
|
-
:param pulumi.Input[int] desired_capacity: The number of worker nodes that should be running in the cluster. Defaults to 2.
|
|
745
|
-
:param pulumi.Input[bool] enable_detailed_monitoring: Enables/disables detailed monitoring of the EC2 instances.
|
|
744
|
+
:param pulumi.Input[builtins.str] cluster_ingress_rule_id: The ID of the ingress rule that gives node group access.
|
|
745
|
+
:param pulumi.Input[builtins.int] desired_capacity: The number of worker nodes that should be running in the cluster. Defaults to 2.
|
|
746
|
+
:param pulumi.Input[builtins.bool] enable_detailed_monitoring: Enables/disables detailed monitoring of the EC2 instances.
|
|
746
747
|
|
|
747
748
|
With detailed monitoring, all metrics, including status check metrics, are available in 1-minute intervals.
|
|
748
749
|
When enabled, you can also get aggregated data across groups of similar instances.
|
|
749
750
|
|
|
750
751
|
Note: You are charged per metric that is sent to CloudWatch. You are not charged for data storage.
|
|
751
752
|
For more information, see "Paid tier" and "Example 1 - EC2 Detailed Monitoring" here https://aws.amazon.com/cloudwatch/pricing/.
|
|
752
|
-
:param pulumi.Input[bool] encrypt_root_block_device: Encrypt the root block device of the nodes in the node group.
|
|
753
|
+
:param pulumi.Input[builtins.bool] encrypt_root_block_device: Encrypt the root block device of the nodes in the node group.
|
|
753
754
|
:param pulumi.Input[Sequence[pulumi.Input['pulumi_aws.ec2.SecurityGroup']]] extra_node_security_groups: Extra security groups to attach on all nodes in this worker node group.
|
|
754
755
|
|
|
755
756
|
This additional set of security groups captures any user application rules that will be needed for the nodes.
|
|
756
|
-
:param pulumi.Input[bool] gpu: Use the latest recommended EKS Optimized Linux AMI with GPU support for the worker nodes from the AWS Systems Manager Parameter Store.
|
|
757
|
+
:param pulumi.Input[builtins.bool] gpu: Use the latest recommended EKS Optimized Linux AMI with GPU support for the worker nodes from the AWS Systems Manager Parameter Store.
|
|
757
758
|
|
|
758
759
|
Defaults to false.
|
|
759
760
|
|
|
@@ -762,29 +763,29 @@ class ClusterNodeGroupOptionsArgs:
|
|
|
762
763
|
See for more details:
|
|
763
764
|
- https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html
|
|
764
765
|
- https://docs.aws.amazon.com/eks/latest/userguide/retrieve-ami-id.html
|
|
765
|
-
:param bool ignore_scaling_changes: Whether to ignore changes to the desired size of the Auto Scaling Group. This is useful when using Cluster Autoscaler.
|
|
766
|
+
:param builtins.bool ignore_scaling_changes: Whether to ignore changes to the desired size of the Auto Scaling Group. This is useful when using Cluster Autoscaler.
|
|
766
767
|
|
|
767
768
|
See [EKS best practices](https://aws.github.io/aws-eks-best-practices/cluster-autoscaling/) for more details.
|
|
768
769
|
:param 'pulumi_aws.iam.InstanceProfile' instance_profile: The IAM InstanceProfile to use on the NodeGroup. Properties instanceProfile and instanceProfileName are mutually exclusive.
|
|
769
|
-
:param pulumi.Input[str] instance_profile_name: The name of the IAM InstanceProfile to use on the NodeGroup. Properties instanceProfile and instanceProfileName are mutually exclusive.
|
|
770
|
-
:param pulumi.Input[str] instance_type: The instance type to use for the cluster's nodes. Defaults to "t3.medium".
|
|
771
|
-
:param pulumi.Input[str] key_name: Name of the key pair to use for SSH access to worker nodes.
|
|
772
|
-
:param pulumi.Input[str] kubelet_extra_args: Extra args to pass to the Kubelet. Corresponds to the options passed in the `--kubeletExtraArgs` flag to `/etc/eks/bootstrap.sh`. For example, '--port=10251 --address=0.0.0.0'. Note that the `labels` and `taints` properties will be applied to this list (using `--node-labels` and `--register-with-taints` respectively) after to the explicit `kubeletExtraArgs`.
|
|
773
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Custom k8s node labels to be attached to each worker node. Adds the given key/value pairs to the `--node-labels` kubelet argument.
|
|
770
|
+
:param pulumi.Input[builtins.str] instance_profile_name: The name of the IAM InstanceProfile to use on the NodeGroup. Properties instanceProfile and instanceProfileName are mutually exclusive.
|
|
771
|
+
:param pulumi.Input[builtins.str] instance_type: The instance type to use for the cluster's nodes. Defaults to "t3.medium".
|
|
772
|
+
:param pulumi.Input[builtins.str] key_name: Name of the key pair to use for SSH access to worker nodes.
|
|
773
|
+
:param pulumi.Input[builtins.str] kubelet_extra_args: Extra args to pass to the Kubelet. Corresponds to the options passed in the `--kubeletExtraArgs` flag to `/etc/eks/bootstrap.sh`. For example, '--port=10251 --address=0.0.0.0'. Note that the `labels` and `taints` properties will be applied to this list (using `--node-labels` and `--register-with-taints` respectively) after to the explicit `kubeletExtraArgs`.
|
|
774
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Custom k8s node labels to be attached to each worker node. Adds the given key/value pairs to the `--node-labels` kubelet argument.
|
|
774
775
|
:param pulumi.Input[Sequence[pulumi.Input['pulumi_aws.ec2.LaunchTemplateTagSpecificationArgs']]] launch_template_tag_specifications: The tag specifications to apply to the launch template.
|
|
775
|
-
:param pulumi.Input[int] max_size: The maximum number of worker nodes running in the cluster. Defaults to 2.
|
|
776
|
-
:param pulumi.Input[int] min_refresh_percentage: The minimum amount of instances that should remain available during an instance refresh, expressed as a percentage. Defaults to 50.
|
|
777
|
-
:param pulumi.Input[int] min_size: The minimum number of worker nodes running in the cluster. Defaults to 1.
|
|
778
|
-
:param pulumi.Input[bool] node_associate_public_ip_address: Whether or not to auto-assign public IP addresses on the EKS worker nodes. If this toggle is set to true, the EKS workers will be auto-assigned public IPs. If false, they will not be auto-assigned public IPs.
|
|
779
|
-
:param pulumi.Input[str] node_public_key: Public key material for SSH access to worker nodes. See allowed formats at:
|
|
776
|
+
:param pulumi.Input[builtins.int] max_size: The maximum number of worker nodes running in the cluster. Defaults to 2.
|
|
777
|
+
:param pulumi.Input[builtins.int] min_refresh_percentage: The minimum amount of instances that should remain available during an instance refresh, expressed as a percentage. Defaults to 50.
|
|
778
|
+
:param pulumi.Input[builtins.int] min_size: The minimum number of worker nodes running in the cluster. Defaults to 1.
|
|
779
|
+
:param pulumi.Input[builtins.bool] node_associate_public_ip_address: Whether or not to auto-assign public IP addresses on the EKS worker nodes. If this toggle is set to true, the EKS workers will be auto-assigned public IPs. If false, they will not be auto-assigned public IPs.
|
|
780
|
+
:param pulumi.Input[builtins.str] node_public_key: Public key material for SSH access to worker nodes. See allowed formats at:
|
|
780
781
|
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html
|
|
781
782
|
If not provided, no SSH access is enabled on VMs.
|
|
782
|
-
:param pulumi.Input[bool] node_root_volume_delete_on_termination: Whether the root block device should be deleted on termination of the instance. Defaults to true.
|
|
783
|
-
:param pulumi.Input[bool] node_root_volume_encrypted: Whether to encrypt a cluster node's root volume. Defaults to false.
|
|
784
|
-
:param pulumi.Input[int] node_root_volume_iops: The amount of provisioned IOPS. This is only valid with a volumeType of 'io1'.
|
|
785
|
-
:param pulumi.Input[int] node_root_volume_size: The size in GiB of a cluster node's root volume. Defaults to 20.
|
|
786
|
-
:param pulumi.Input[int] node_root_volume_throughput: Provisioned throughput performance in integer MiB/s for a cluster node's root volume. This is only valid with a volumeType of 'gp3'.
|
|
787
|
-
:param pulumi.Input[str] node_root_volume_type: Configured EBS type for a cluster node's root volume. Default is 'gp2'. Supported values are 'standard', 'gp2', 'gp3', 'st1', 'sc1', 'io1'.
|
|
783
|
+
:param pulumi.Input[builtins.bool] node_root_volume_delete_on_termination: Whether the root block device should be deleted on termination of the instance. Defaults to true.
|
|
784
|
+
:param pulumi.Input[builtins.bool] node_root_volume_encrypted: Whether to encrypt a cluster node's root volume. Defaults to false.
|
|
785
|
+
:param pulumi.Input[builtins.int] node_root_volume_iops: The amount of provisioned IOPS. This is only valid with a volumeType of 'io1'.
|
|
786
|
+
:param pulumi.Input[builtins.int] node_root_volume_size: The size in GiB of a cluster node's root volume. Defaults to 20.
|
|
787
|
+
:param pulumi.Input[builtins.int] node_root_volume_throughput: Provisioned throughput performance in integer MiB/s for a cluster node's root volume. This is only valid with a volumeType of 'gp3'.
|
|
788
|
+
:param pulumi.Input[builtins.str] node_root_volume_type: Configured EBS type for a cluster node's root volume. Default is 'gp2'. Supported values are 'standard', 'gp2', 'gp3', 'st1', 'sc1', 'io1'.
|
|
788
789
|
:param pulumi.Input['pulumi_aws.ec2.SecurityGroup'] node_security_group: The security group for the worker node group to communicate with the cluster.
|
|
789
790
|
|
|
790
791
|
This security group requires specific inbound and outbound rules.
|
|
@@ -793,7 +794,7 @@ class ClusterNodeGroupOptionsArgs:
|
|
|
793
794
|
https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html
|
|
794
795
|
|
|
795
796
|
Note: The `nodeSecurityGroup` option and the cluster option`nodeSecurityGroupTags` are mutually exclusive.
|
|
796
|
-
:param pulumi.Input[str] node_security_group_id: The ID of the security group for the worker node group to communicate with the cluster.
|
|
797
|
+
:param pulumi.Input[builtins.str] node_security_group_id: The ID of the security group for the worker node group to communicate with the cluster.
|
|
797
798
|
|
|
798
799
|
This security group requires specific inbound and outbound rules.
|
|
799
800
|
|
|
@@ -801,11 +802,11 @@ class ClusterNodeGroupOptionsArgs:
|
|
|
801
802
|
https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html
|
|
802
803
|
|
|
803
804
|
Note: The `nodeSecurityGroupId` option and the cluster option `nodeSecurityGroupTags` are mutually exclusive.
|
|
804
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] node_subnet_ids: The set of subnets to override and use for the worker node group.
|
|
805
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] node_subnet_ids: The set of subnets to override and use for the worker node group.
|
|
805
806
|
|
|
806
807
|
Setting this option overrides which subnets to use for the worker node group, regardless if the cluster's `subnetIds` is set, or if `publicSubnetIds` and/or `privateSubnetIds` were set.
|
|
807
|
-
:param pulumi.Input[str] node_user_data: Extra code to run on node startup. This code will run after the AWS EKS bootstrapping code and before the node signals its readiness to the managing CloudFormation stack. This code must be a typical user data script: critically it must begin with an interpreter directive (i.e. a `#!`).
|
|
808
|
-
:param pulumi.Input[str] node_user_data_override: User specified code to run on node startup. This code is expected to handle the full AWS EKS bootstrapping code and signal node readiness to the managing CloudFormation stack. This code must be a complete and executable user data script in bash (Linux) or powershell (Windows).
|
|
808
|
+
:param pulumi.Input[builtins.str] node_user_data: Extra code to run on node startup. This code will run after the AWS EKS bootstrapping code and before the node signals its readiness to the managing CloudFormation stack. This code must be a typical user data script: critically it must begin with an interpreter directive (i.e. a `#!`).
|
|
809
|
+
:param pulumi.Input[builtins.str] node_user_data_override: User specified code to run on node startup. This code is expected to handle the full AWS EKS bootstrapping code and signal node readiness to the managing CloudFormation stack. This code must be a complete and executable user data script in bash (Linux) or powershell (Windows).
|
|
809
810
|
|
|
810
811
|
See for more details: https://docs.aws.amazon.com/eks/latest/userguide/worker.html
|
|
811
812
|
:param pulumi.Input[Sequence[pulumi.Input['NodeadmOptionsArgs']]] nodeadm_extra_options: Extra nodeadm configuration sections to be added to the nodeadm user data. This can be shell scripts, nodeadm NodeConfig or any other user data compatible script. When configuring additional nodeadm NodeConfig sections, they'll be merged with the base settings the provider sets. You can overwrite base settings or provide additional settings this way.
|
|
@@ -823,9 +824,9 @@ class ClusterNodeGroupOptionsArgs:
|
|
|
823
824
|
Valid values are `RECOMMENDED`, `AL2`, `AL2023` and `Bottlerocket`.
|
|
824
825
|
|
|
825
826
|
Defaults to the current recommended OS.
|
|
826
|
-
:param pulumi.Input[str] spot_price: Bidding price for spot instance. If set, only spot instances will be added as worker node.
|
|
827
|
+
:param pulumi.Input[builtins.str] spot_price: Bidding price for spot instance. If set, only spot instances will be added as worker node.
|
|
827
828
|
:param pulumi.Input[Mapping[str, pulumi.Input['TaintArgs']]] taints: Custom k8s node taints to be attached to each worker node. Adds the given taints to the `--register-with-taints` kubelet argument
|
|
828
|
-
:param pulumi.Input[str] version: Desired Kubernetes master / control plane version. If you do not specify a value, the latest available version is used.
|
|
829
|
+
:param pulumi.Input[builtins.str] version: Desired Kubernetes master / control plane version. If you do not specify a value, the latest available version is used.
|
|
829
830
|
"""
|
|
830
831
|
if ami_id is not None:
|
|
831
832
|
pulumi.set(__self__, "ami_id", ami_id)
|
|
@@ -914,7 +915,7 @@ class ClusterNodeGroupOptionsArgs:
|
|
|
914
915
|
|
|
915
916
|
@property
|
|
916
917
|
@pulumi.getter(name="amiId")
|
|
917
|
-
def ami_id(self) -> Optional[pulumi.Input[str]]:
|
|
918
|
+
def ami_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
918
919
|
"""
|
|
919
920
|
The AMI ID to use for the worker nodes.
|
|
920
921
|
|
|
@@ -928,12 +929,12 @@ class ClusterNodeGroupOptionsArgs:
|
|
|
928
929
|
return pulumi.get(self, "ami_id")
|
|
929
930
|
|
|
930
931
|
@ami_id.setter
|
|
931
|
-
def ami_id(self, value: Optional[pulumi.Input[str]]):
|
|
932
|
+
def ami_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
932
933
|
pulumi.set(self, "ami_id", value)
|
|
933
934
|
|
|
934
935
|
@property
|
|
935
936
|
@pulumi.getter(name="amiType")
|
|
936
|
-
def ami_type(self) -> Optional[pulumi.Input[str]]:
|
|
937
|
+
def ami_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
937
938
|
"""
|
|
938
939
|
The AMI Type to use for the worker nodes.
|
|
939
940
|
|
|
@@ -944,12 +945,12 @@ class ClusterNodeGroupOptionsArgs:
|
|
|
944
945
|
return pulumi.get(self, "ami_type")
|
|
945
946
|
|
|
946
947
|
@ami_type.setter
|
|
947
|
-
def ami_type(self, value: Optional[pulumi.Input[str]]):
|
|
948
|
+
def ami_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
948
949
|
pulumi.set(self, "ami_type", value)
|
|
949
950
|
|
|
950
951
|
@property
|
|
951
952
|
@pulumi.getter(name="autoScalingGroupTags")
|
|
952
|
-
def auto_scaling_group_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
953
|
+
def auto_scaling_group_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
953
954
|
"""
|
|
954
955
|
The tags to apply to the NodeGroup's AutoScalingGroup in the CloudFormation Stack.
|
|
955
956
|
|
|
@@ -960,19 +961,19 @@ class ClusterNodeGroupOptionsArgs:
|
|
|
960
961
|
return pulumi.get(self, "auto_scaling_group_tags")
|
|
961
962
|
|
|
962
963
|
@auto_scaling_group_tags.setter
|
|
963
|
-
def auto_scaling_group_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
964
|
+
def auto_scaling_group_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
964
965
|
pulumi.set(self, "auto_scaling_group_tags", value)
|
|
965
966
|
|
|
966
967
|
@property
|
|
967
968
|
@pulumi.getter(name="bootstrapExtraArgs")
|
|
968
|
-
def bootstrap_extra_args(self) -> Optional[pulumi.Input[str]]:
|
|
969
|
+
def bootstrap_extra_args(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
969
970
|
"""
|
|
970
971
|
Additional args to pass directly to `/etc/eks/bootstrap.sh`. For details on available options, see: https://github.com/awslabs/amazon-eks-ami/blob/master/files/bootstrap.sh. Note that the `--apiserver-endpoint`, `--b64-cluster-ca` and `--kubelet-extra-args` flags are included automatically based on other configuration parameters.
|
|
971
972
|
"""
|
|
972
973
|
return pulumi.get(self, "bootstrap_extra_args")
|
|
973
974
|
|
|
974
975
|
@bootstrap_extra_args.setter
|
|
975
|
-
def bootstrap_extra_args(self, value: Optional[pulumi.Input[str]]):
|
|
976
|
+
def bootstrap_extra_args(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
976
977
|
pulumi.set(self, "bootstrap_extra_args", value)
|
|
977
978
|
|
|
978
979
|
@property
|
|
@@ -998,7 +999,7 @@ class ClusterNodeGroupOptionsArgs:
|
|
|
998
999
|
|
|
999
1000
|
@property
|
|
1000
1001
|
@pulumi.getter(name="cloudFormationTags")
|
|
1001
|
-
def cloud_formation_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
1002
|
+
def cloud_formation_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
1002
1003
|
"""
|
|
1003
1004
|
The tags to apply to the CloudFormation Stack of the Worker NodeGroup.
|
|
1004
1005
|
|
|
@@ -1007,7 +1008,7 @@ class ClusterNodeGroupOptionsArgs:
|
|
|
1007
1008
|
return pulumi.get(self, "cloud_formation_tags")
|
|
1008
1009
|
|
|
1009
1010
|
@cloud_formation_tags.setter
|
|
1010
|
-
def cloud_formation_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
1011
|
+
def cloud_formation_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
1011
1012
|
pulumi.set(self, "cloud_formation_tags", value)
|
|
1012
1013
|
|
|
1013
1014
|
@property
|
|
@@ -1024,31 +1025,31 @@ class ClusterNodeGroupOptionsArgs:
|
|
|
1024
1025
|
|
|
1025
1026
|
@property
|
|
1026
1027
|
@pulumi.getter(name="clusterIngressRuleId")
|
|
1027
|
-
def cluster_ingress_rule_id(self) -> Optional[pulumi.Input[str]]:
|
|
1028
|
+
def cluster_ingress_rule_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1028
1029
|
"""
|
|
1029
1030
|
The ID of the ingress rule that gives node group access.
|
|
1030
1031
|
"""
|
|
1031
1032
|
return pulumi.get(self, "cluster_ingress_rule_id")
|
|
1032
1033
|
|
|
1033
1034
|
@cluster_ingress_rule_id.setter
|
|
1034
|
-
def cluster_ingress_rule_id(self, value: Optional[pulumi.Input[str]]):
|
|
1035
|
+
def cluster_ingress_rule_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1035
1036
|
pulumi.set(self, "cluster_ingress_rule_id", value)
|
|
1036
1037
|
|
|
1037
1038
|
@property
|
|
1038
1039
|
@pulumi.getter(name="desiredCapacity")
|
|
1039
|
-
def desired_capacity(self) -> Optional[pulumi.Input[int]]:
|
|
1040
|
+
def desired_capacity(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1040
1041
|
"""
|
|
1041
1042
|
The number of worker nodes that should be running in the cluster. Defaults to 2.
|
|
1042
1043
|
"""
|
|
1043
1044
|
return pulumi.get(self, "desired_capacity")
|
|
1044
1045
|
|
|
1045
1046
|
@desired_capacity.setter
|
|
1046
|
-
def desired_capacity(self, value: Optional[pulumi.Input[int]]):
|
|
1047
|
+
def desired_capacity(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1047
1048
|
pulumi.set(self, "desired_capacity", value)
|
|
1048
1049
|
|
|
1049
1050
|
@property
|
|
1050
1051
|
@pulumi.getter(name="enableDetailedMonitoring")
|
|
1051
|
-
def enable_detailed_monitoring(self) -> Optional[pulumi.Input[bool]]:
|
|
1052
|
+
def enable_detailed_monitoring(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1052
1053
|
"""
|
|
1053
1054
|
Enables/disables detailed monitoring of the EC2 instances.
|
|
1054
1055
|
|
|
@@ -1061,19 +1062,19 @@ class ClusterNodeGroupOptionsArgs:
|
|
|
1061
1062
|
return pulumi.get(self, "enable_detailed_monitoring")
|
|
1062
1063
|
|
|
1063
1064
|
@enable_detailed_monitoring.setter
|
|
1064
|
-
def enable_detailed_monitoring(self, value: Optional[pulumi.Input[bool]]):
|
|
1065
|
+
def enable_detailed_monitoring(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1065
1066
|
pulumi.set(self, "enable_detailed_monitoring", value)
|
|
1066
1067
|
|
|
1067
1068
|
@property
|
|
1068
1069
|
@pulumi.getter(name="encryptRootBlockDevice")
|
|
1069
|
-
def encrypt_root_block_device(self) -> Optional[pulumi.Input[bool]]:
|
|
1070
|
+
def encrypt_root_block_device(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1070
1071
|
"""
|
|
1071
1072
|
Encrypt the root block device of the nodes in the node group.
|
|
1072
1073
|
"""
|
|
1073
1074
|
return pulumi.get(self, "encrypt_root_block_device")
|
|
1074
1075
|
|
|
1075
1076
|
@encrypt_root_block_device.setter
|
|
1076
|
-
def encrypt_root_block_device(self, value: Optional[pulumi.Input[bool]]):
|
|
1077
|
+
def encrypt_root_block_device(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1077
1078
|
pulumi.set(self, "encrypt_root_block_device", value)
|
|
1078
1079
|
|
|
1079
1080
|
@property
|
|
@@ -1092,7 +1093,7 @@ class ClusterNodeGroupOptionsArgs:
|
|
|
1092
1093
|
|
|
1093
1094
|
@property
|
|
1094
1095
|
@pulumi.getter
|
|
1095
|
-
def gpu(self) -> Optional[pulumi.Input[bool]]:
|
|
1096
|
+
def gpu(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1096
1097
|
"""
|
|
1097
1098
|
Use the latest recommended EKS Optimized Linux AMI with GPU support for the worker nodes from the AWS Systems Manager Parameter Store.
|
|
1098
1099
|
|
|
@@ -1107,12 +1108,12 @@ class ClusterNodeGroupOptionsArgs:
|
|
|
1107
1108
|
return pulumi.get(self, "gpu")
|
|
1108
1109
|
|
|
1109
1110
|
@gpu.setter
|
|
1110
|
-
def gpu(self, value: Optional[pulumi.Input[bool]]):
|
|
1111
|
+
def gpu(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1111
1112
|
pulumi.set(self, "gpu", value)
|
|
1112
1113
|
|
|
1113
1114
|
@property
|
|
1114
1115
|
@pulumi.getter(name="ignoreScalingChanges")
|
|
1115
|
-
def ignore_scaling_changes(self) -> Optional[bool]:
|
|
1116
|
+
def ignore_scaling_changes(self) -> Optional[builtins.bool]:
|
|
1116
1117
|
"""
|
|
1117
1118
|
Whether to ignore changes to the desired size of the Auto Scaling Group. This is useful when using Cluster Autoscaler.
|
|
1118
1119
|
|
|
@@ -1121,7 +1122,7 @@ class ClusterNodeGroupOptionsArgs:
|
|
|
1121
1122
|
return pulumi.get(self, "ignore_scaling_changes")
|
|
1122
1123
|
|
|
1123
1124
|
@ignore_scaling_changes.setter
|
|
1124
|
-
def ignore_scaling_changes(self, value: Optional[bool]):
|
|
1125
|
+
def ignore_scaling_changes(self, value: Optional[builtins.bool]):
|
|
1125
1126
|
pulumi.set(self, "ignore_scaling_changes", value)
|
|
1126
1127
|
|
|
1127
1128
|
@property
|
|
@@ -1138,62 +1139,62 @@ class ClusterNodeGroupOptionsArgs:
|
|
|
1138
1139
|
|
|
1139
1140
|
@property
|
|
1140
1141
|
@pulumi.getter(name="instanceProfileName")
|
|
1141
|
-
def instance_profile_name(self) -> Optional[pulumi.Input[str]]:
|
|
1142
|
+
def instance_profile_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1142
1143
|
"""
|
|
1143
1144
|
The name of the IAM InstanceProfile to use on the NodeGroup. Properties instanceProfile and instanceProfileName are mutually exclusive.
|
|
1144
1145
|
"""
|
|
1145
1146
|
return pulumi.get(self, "instance_profile_name")
|
|
1146
1147
|
|
|
1147
1148
|
@instance_profile_name.setter
|
|
1148
|
-
def instance_profile_name(self, value: Optional[pulumi.Input[str]]):
|
|
1149
|
+
def instance_profile_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1149
1150
|
pulumi.set(self, "instance_profile_name", value)
|
|
1150
1151
|
|
|
1151
1152
|
@property
|
|
1152
1153
|
@pulumi.getter(name="instanceType")
|
|
1153
|
-
def instance_type(self) -> Optional[pulumi.Input[str]]:
|
|
1154
|
+
def instance_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1154
1155
|
"""
|
|
1155
1156
|
The instance type to use for the cluster's nodes. Defaults to "t3.medium".
|
|
1156
1157
|
"""
|
|
1157
1158
|
return pulumi.get(self, "instance_type")
|
|
1158
1159
|
|
|
1159
1160
|
@instance_type.setter
|
|
1160
|
-
def instance_type(self, value: Optional[pulumi.Input[str]]):
|
|
1161
|
+
def instance_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1161
1162
|
pulumi.set(self, "instance_type", value)
|
|
1162
1163
|
|
|
1163
1164
|
@property
|
|
1164
1165
|
@pulumi.getter(name="keyName")
|
|
1165
|
-
def key_name(self) -> Optional[pulumi.Input[str]]:
|
|
1166
|
+
def key_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1166
1167
|
"""
|
|
1167
1168
|
Name of the key pair to use for SSH access to worker nodes.
|
|
1168
1169
|
"""
|
|
1169
1170
|
return pulumi.get(self, "key_name")
|
|
1170
1171
|
|
|
1171
1172
|
@key_name.setter
|
|
1172
|
-
def key_name(self, value: Optional[pulumi.Input[str]]):
|
|
1173
|
+
def key_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1173
1174
|
pulumi.set(self, "key_name", value)
|
|
1174
1175
|
|
|
1175
1176
|
@property
|
|
1176
1177
|
@pulumi.getter(name="kubeletExtraArgs")
|
|
1177
|
-
def kubelet_extra_args(self) -> Optional[pulumi.Input[str]]:
|
|
1178
|
+
def kubelet_extra_args(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1178
1179
|
"""
|
|
1179
1180
|
Extra args to pass to the Kubelet. Corresponds to the options passed in the `--kubeletExtraArgs` flag to `/etc/eks/bootstrap.sh`. For example, '--port=10251 --address=0.0.0.0'. Note that the `labels` and `taints` properties will be applied to this list (using `--node-labels` and `--register-with-taints` respectively) after to the explicit `kubeletExtraArgs`.
|
|
1180
1181
|
"""
|
|
1181
1182
|
return pulumi.get(self, "kubelet_extra_args")
|
|
1182
1183
|
|
|
1183
1184
|
@kubelet_extra_args.setter
|
|
1184
|
-
def kubelet_extra_args(self, value: Optional[pulumi.Input[str]]):
|
|
1185
|
+
def kubelet_extra_args(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1185
1186
|
pulumi.set(self, "kubelet_extra_args", value)
|
|
1186
1187
|
|
|
1187
1188
|
@property
|
|
1188
1189
|
@pulumi.getter
|
|
1189
|
-
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
1190
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
1190
1191
|
"""
|
|
1191
1192
|
Custom k8s node labels to be attached to each worker node. Adds the given key/value pairs to the `--node-labels` kubelet argument.
|
|
1192
1193
|
"""
|
|
1193
1194
|
return pulumi.get(self, "labels")
|
|
1194
1195
|
|
|
1195
1196
|
@labels.setter
|
|
1196
|
-
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
1197
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
1197
1198
|
pulumi.set(self, "labels", value)
|
|
1198
1199
|
|
|
1199
1200
|
@property
|
|
@@ -1210,55 +1211,55 @@ class ClusterNodeGroupOptionsArgs:
|
|
|
1210
1211
|
|
|
1211
1212
|
@property
|
|
1212
1213
|
@pulumi.getter(name="maxSize")
|
|
1213
|
-
def max_size(self) -> Optional[pulumi.Input[int]]:
|
|
1214
|
+
def max_size(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1214
1215
|
"""
|
|
1215
1216
|
The maximum number of worker nodes running in the cluster. Defaults to 2.
|
|
1216
1217
|
"""
|
|
1217
1218
|
return pulumi.get(self, "max_size")
|
|
1218
1219
|
|
|
1219
1220
|
@max_size.setter
|
|
1220
|
-
def max_size(self, value: Optional[pulumi.Input[int]]):
|
|
1221
|
+
def max_size(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1221
1222
|
pulumi.set(self, "max_size", value)
|
|
1222
1223
|
|
|
1223
1224
|
@property
|
|
1224
1225
|
@pulumi.getter(name="minRefreshPercentage")
|
|
1225
|
-
def min_refresh_percentage(self) -> Optional[pulumi.Input[int]]:
|
|
1226
|
+
def min_refresh_percentage(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1226
1227
|
"""
|
|
1227
1228
|
The minimum amount of instances that should remain available during an instance refresh, expressed as a percentage. Defaults to 50.
|
|
1228
1229
|
"""
|
|
1229
1230
|
return pulumi.get(self, "min_refresh_percentage")
|
|
1230
1231
|
|
|
1231
1232
|
@min_refresh_percentage.setter
|
|
1232
|
-
def min_refresh_percentage(self, value: Optional[pulumi.Input[int]]):
|
|
1233
|
+
def min_refresh_percentage(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1233
1234
|
pulumi.set(self, "min_refresh_percentage", value)
|
|
1234
1235
|
|
|
1235
1236
|
@property
|
|
1236
1237
|
@pulumi.getter(name="minSize")
|
|
1237
|
-
def min_size(self) -> Optional[pulumi.Input[int]]:
|
|
1238
|
+
def min_size(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1238
1239
|
"""
|
|
1239
1240
|
The minimum number of worker nodes running in the cluster. Defaults to 1.
|
|
1240
1241
|
"""
|
|
1241
1242
|
return pulumi.get(self, "min_size")
|
|
1242
1243
|
|
|
1243
1244
|
@min_size.setter
|
|
1244
|
-
def min_size(self, value: Optional[pulumi.Input[int]]):
|
|
1245
|
+
def min_size(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1245
1246
|
pulumi.set(self, "min_size", value)
|
|
1246
1247
|
|
|
1247
1248
|
@property
|
|
1248
1249
|
@pulumi.getter(name="nodeAssociatePublicIpAddress")
|
|
1249
|
-
def node_associate_public_ip_address(self) -> Optional[pulumi.Input[bool]]:
|
|
1250
|
+
def node_associate_public_ip_address(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1250
1251
|
"""
|
|
1251
1252
|
Whether or not to auto-assign public IP addresses on the EKS worker nodes. If this toggle is set to true, the EKS workers will be auto-assigned public IPs. If false, they will not be auto-assigned public IPs.
|
|
1252
1253
|
"""
|
|
1253
1254
|
return pulumi.get(self, "node_associate_public_ip_address")
|
|
1254
1255
|
|
|
1255
1256
|
@node_associate_public_ip_address.setter
|
|
1256
|
-
def node_associate_public_ip_address(self, value: Optional[pulumi.Input[bool]]):
|
|
1257
|
+
def node_associate_public_ip_address(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1257
1258
|
pulumi.set(self, "node_associate_public_ip_address", value)
|
|
1258
1259
|
|
|
1259
1260
|
@property
|
|
1260
1261
|
@pulumi.getter(name="nodePublicKey")
|
|
1261
|
-
def node_public_key(self) -> Optional[pulumi.Input[str]]:
|
|
1262
|
+
def node_public_key(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1262
1263
|
"""
|
|
1263
1264
|
Public key material for SSH access to worker nodes. See allowed formats at:
|
|
1264
1265
|
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html
|
|
@@ -1267,79 +1268,79 @@ class ClusterNodeGroupOptionsArgs:
|
|
|
1267
1268
|
return pulumi.get(self, "node_public_key")
|
|
1268
1269
|
|
|
1269
1270
|
@node_public_key.setter
|
|
1270
|
-
def node_public_key(self, value: Optional[pulumi.Input[str]]):
|
|
1271
|
+
def node_public_key(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1271
1272
|
pulumi.set(self, "node_public_key", value)
|
|
1272
1273
|
|
|
1273
1274
|
@property
|
|
1274
1275
|
@pulumi.getter(name="nodeRootVolumeDeleteOnTermination")
|
|
1275
|
-
def node_root_volume_delete_on_termination(self) -> Optional[pulumi.Input[bool]]:
|
|
1276
|
+
def node_root_volume_delete_on_termination(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1276
1277
|
"""
|
|
1277
1278
|
Whether the root block device should be deleted on termination of the instance. Defaults to true.
|
|
1278
1279
|
"""
|
|
1279
1280
|
return pulumi.get(self, "node_root_volume_delete_on_termination")
|
|
1280
1281
|
|
|
1281
1282
|
@node_root_volume_delete_on_termination.setter
|
|
1282
|
-
def node_root_volume_delete_on_termination(self, value: Optional[pulumi.Input[bool]]):
|
|
1283
|
+
def node_root_volume_delete_on_termination(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1283
1284
|
pulumi.set(self, "node_root_volume_delete_on_termination", value)
|
|
1284
1285
|
|
|
1285
1286
|
@property
|
|
1286
1287
|
@pulumi.getter(name="nodeRootVolumeEncrypted")
|
|
1287
|
-
def node_root_volume_encrypted(self) -> Optional[pulumi.Input[bool]]:
|
|
1288
|
+
def node_root_volume_encrypted(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1288
1289
|
"""
|
|
1289
1290
|
Whether to encrypt a cluster node's root volume. Defaults to false.
|
|
1290
1291
|
"""
|
|
1291
1292
|
return pulumi.get(self, "node_root_volume_encrypted")
|
|
1292
1293
|
|
|
1293
1294
|
@node_root_volume_encrypted.setter
|
|
1294
|
-
def node_root_volume_encrypted(self, value: Optional[pulumi.Input[bool]]):
|
|
1295
|
+
def node_root_volume_encrypted(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1295
1296
|
pulumi.set(self, "node_root_volume_encrypted", value)
|
|
1296
1297
|
|
|
1297
1298
|
@property
|
|
1298
1299
|
@pulumi.getter(name="nodeRootVolumeIops")
|
|
1299
|
-
def node_root_volume_iops(self) -> Optional[pulumi.Input[int]]:
|
|
1300
|
+
def node_root_volume_iops(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1300
1301
|
"""
|
|
1301
1302
|
The amount of provisioned IOPS. This is only valid with a volumeType of 'io1'.
|
|
1302
1303
|
"""
|
|
1303
1304
|
return pulumi.get(self, "node_root_volume_iops")
|
|
1304
1305
|
|
|
1305
1306
|
@node_root_volume_iops.setter
|
|
1306
|
-
def node_root_volume_iops(self, value: Optional[pulumi.Input[int]]):
|
|
1307
|
+
def node_root_volume_iops(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1307
1308
|
pulumi.set(self, "node_root_volume_iops", value)
|
|
1308
1309
|
|
|
1309
1310
|
@property
|
|
1310
1311
|
@pulumi.getter(name="nodeRootVolumeSize")
|
|
1311
|
-
def node_root_volume_size(self) -> Optional[pulumi.Input[int]]:
|
|
1312
|
+
def node_root_volume_size(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1312
1313
|
"""
|
|
1313
1314
|
The size in GiB of a cluster node's root volume. Defaults to 20.
|
|
1314
1315
|
"""
|
|
1315
1316
|
return pulumi.get(self, "node_root_volume_size")
|
|
1316
1317
|
|
|
1317
1318
|
@node_root_volume_size.setter
|
|
1318
|
-
def node_root_volume_size(self, value: Optional[pulumi.Input[int]]):
|
|
1319
|
+
def node_root_volume_size(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1319
1320
|
pulumi.set(self, "node_root_volume_size", value)
|
|
1320
1321
|
|
|
1321
1322
|
@property
|
|
1322
1323
|
@pulumi.getter(name="nodeRootVolumeThroughput")
|
|
1323
|
-
def node_root_volume_throughput(self) -> Optional[pulumi.Input[int]]:
|
|
1324
|
+
def node_root_volume_throughput(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1324
1325
|
"""
|
|
1325
1326
|
Provisioned throughput performance in integer MiB/s for a cluster node's root volume. This is only valid with a volumeType of 'gp3'.
|
|
1326
1327
|
"""
|
|
1327
1328
|
return pulumi.get(self, "node_root_volume_throughput")
|
|
1328
1329
|
|
|
1329
1330
|
@node_root_volume_throughput.setter
|
|
1330
|
-
def node_root_volume_throughput(self, value: Optional[pulumi.Input[int]]):
|
|
1331
|
+
def node_root_volume_throughput(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1331
1332
|
pulumi.set(self, "node_root_volume_throughput", value)
|
|
1332
1333
|
|
|
1333
1334
|
@property
|
|
1334
1335
|
@pulumi.getter(name="nodeRootVolumeType")
|
|
1335
|
-
def node_root_volume_type(self) -> Optional[pulumi.Input[str]]:
|
|
1336
|
+
def node_root_volume_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1336
1337
|
"""
|
|
1337
1338
|
Configured EBS type for a cluster node's root volume. Default is 'gp2'. Supported values are 'standard', 'gp2', 'gp3', 'st1', 'sc1', 'io1'.
|
|
1338
1339
|
"""
|
|
1339
1340
|
return pulumi.get(self, "node_root_volume_type")
|
|
1340
1341
|
|
|
1341
1342
|
@node_root_volume_type.setter
|
|
1342
|
-
def node_root_volume_type(self, value: Optional[pulumi.Input[str]]):
|
|
1343
|
+
def node_root_volume_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1343
1344
|
pulumi.set(self, "node_root_volume_type", value)
|
|
1344
1345
|
|
|
1345
1346
|
@property
|
|
@@ -1363,7 +1364,7 @@ class ClusterNodeGroupOptionsArgs:
|
|
|
1363
1364
|
|
|
1364
1365
|
@property
|
|
1365
1366
|
@pulumi.getter(name="nodeSecurityGroupId")
|
|
1366
|
-
def node_security_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
1367
|
+
def node_security_group_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1367
1368
|
"""
|
|
1368
1369
|
The ID of the security group for the worker node group to communicate with the cluster.
|
|
1369
1370
|
|
|
@@ -1377,12 +1378,12 @@ class ClusterNodeGroupOptionsArgs:
|
|
|
1377
1378
|
return pulumi.get(self, "node_security_group_id")
|
|
1378
1379
|
|
|
1379
1380
|
@node_security_group_id.setter
|
|
1380
|
-
def node_security_group_id(self, value: Optional[pulumi.Input[str]]):
|
|
1381
|
+
def node_security_group_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1381
1382
|
pulumi.set(self, "node_security_group_id", value)
|
|
1382
1383
|
|
|
1383
1384
|
@property
|
|
1384
1385
|
@pulumi.getter(name="nodeSubnetIds")
|
|
1385
|
-
def node_subnet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1386
|
+
def node_subnet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1386
1387
|
"""
|
|
1387
1388
|
The set of subnets to override and use for the worker node group.
|
|
1388
1389
|
|
|
@@ -1391,24 +1392,24 @@ class ClusterNodeGroupOptionsArgs:
|
|
|
1391
1392
|
return pulumi.get(self, "node_subnet_ids")
|
|
1392
1393
|
|
|
1393
1394
|
@node_subnet_ids.setter
|
|
1394
|
-
def node_subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1395
|
+
def node_subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1395
1396
|
pulumi.set(self, "node_subnet_ids", value)
|
|
1396
1397
|
|
|
1397
1398
|
@property
|
|
1398
1399
|
@pulumi.getter(name="nodeUserData")
|
|
1399
|
-
def node_user_data(self) -> Optional[pulumi.Input[str]]:
|
|
1400
|
+
def node_user_data(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1400
1401
|
"""
|
|
1401
1402
|
Extra code to run on node startup. This code will run after the AWS EKS bootstrapping code and before the node signals its readiness to the managing CloudFormation stack. This code must be a typical user data script: critically it must begin with an interpreter directive (i.e. a `#!`).
|
|
1402
1403
|
"""
|
|
1403
1404
|
return pulumi.get(self, "node_user_data")
|
|
1404
1405
|
|
|
1405
1406
|
@node_user_data.setter
|
|
1406
|
-
def node_user_data(self, value: Optional[pulumi.Input[str]]):
|
|
1407
|
+
def node_user_data(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1407
1408
|
pulumi.set(self, "node_user_data", value)
|
|
1408
1409
|
|
|
1409
1410
|
@property
|
|
1410
1411
|
@pulumi.getter(name="nodeUserDataOverride")
|
|
1411
|
-
def node_user_data_override(self) -> Optional[pulumi.Input[str]]:
|
|
1412
|
+
def node_user_data_override(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1412
1413
|
"""
|
|
1413
1414
|
User specified code to run on node startup. This code is expected to handle the full AWS EKS bootstrapping code and signal node readiness to the managing CloudFormation stack. This code must be a complete and executable user data script in bash (Linux) or powershell (Windows).
|
|
1414
1415
|
|
|
@@ -1417,7 +1418,7 @@ class ClusterNodeGroupOptionsArgs:
|
|
|
1417
1418
|
return pulumi.get(self, "node_user_data_override")
|
|
1418
1419
|
|
|
1419
1420
|
@node_user_data_override.setter
|
|
1420
|
-
def node_user_data_override(self, value: Optional[pulumi.Input[str]]):
|
|
1421
|
+
def node_user_data_override(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1421
1422
|
pulumi.set(self, "node_user_data_override", value)
|
|
1422
1423
|
|
|
1423
1424
|
@property
|
|
@@ -1459,14 +1460,14 @@ class ClusterNodeGroupOptionsArgs:
|
|
|
1459
1460
|
|
|
1460
1461
|
@property
|
|
1461
1462
|
@pulumi.getter(name="spotPrice")
|
|
1462
|
-
def spot_price(self) -> Optional[pulumi.Input[str]]:
|
|
1463
|
+
def spot_price(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1463
1464
|
"""
|
|
1464
1465
|
Bidding price for spot instance. If set, only spot instances will be added as worker node.
|
|
1465
1466
|
"""
|
|
1466
1467
|
return pulumi.get(self, "spot_price")
|
|
1467
1468
|
|
|
1468
1469
|
@spot_price.setter
|
|
1469
|
-
def spot_price(self, value: Optional[pulumi.Input[str]]):
|
|
1470
|
+
def spot_price(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1470
1471
|
pulumi.set(self, "spot_price", value)
|
|
1471
1472
|
|
|
1472
1473
|
@property
|
|
@@ -1483,14 +1484,14 @@ class ClusterNodeGroupOptionsArgs:
|
|
|
1483
1484
|
|
|
1484
1485
|
@property
|
|
1485
1486
|
@pulumi.getter
|
|
1486
|
-
def version(self) -> Optional[pulumi.Input[str]]:
|
|
1487
|
+
def version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1487
1488
|
"""
|
|
1488
1489
|
Desired Kubernetes master / control plane version. If you do not specify a value, the latest available version is used.
|
|
1489
1490
|
"""
|
|
1490
1491
|
return pulumi.get(self, "version")
|
|
1491
1492
|
|
|
1492
1493
|
@version.setter
|
|
1493
|
-
def version(self, value: Optional[pulumi.Input[str]]):
|
|
1494
|
+
def version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1494
1495
|
pulumi.set(self, "version", value)
|
|
1495
1496
|
|
|
1496
1497
|
|
|
@@ -1504,7 +1505,7 @@ if not MYPY:
|
|
|
1504
1505
|
"""
|
|
1505
1506
|
The IAM Role attached to the EKS Cluster
|
|
1506
1507
|
"""
|
|
1507
|
-
endpoint: pulumi.Input[str]
|
|
1508
|
+
endpoint: pulumi.Input[builtins.str]
|
|
1508
1509
|
"""
|
|
1509
1510
|
The EKS cluster's Kubernetes API server endpoint.
|
|
1510
1511
|
"""
|
|
@@ -1517,11 +1518,11 @@ if not MYPY:
|
|
|
1517
1518
|
The cluster's node group options.
|
|
1518
1519
|
"""
|
|
1519
1520
|
provider: pulumi.Input['pulumi_kubernetes.Provider']
|
|
1520
|
-
subnet_ids: pulumi.Input[Sequence[pulumi.Input[str]]]
|
|
1521
|
+
subnet_ids: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]
|
|
1521
1522
|
"""
|
|
1522
1523
|
List of subnet IDs for the EKS cluster.
|
|
1523
1524
|
"""
|
|
1524
|
-
vpc_id: pulumi.Input[str]
|
|
1525
|
+
vpc_id: pulumi.Input[builtins.str]
|
|
1525
1526
|
"""
|
|
1526
1527
|
ID of the cluster's VPC.
|
|
1527
1528
|
"""
|
|
@@ -1541,16 +1542,16 @@ if not MYPY:
|
|
|
1541
1542
|
"""
|
|
1542
1543
|
The kubeconfig file for the cluster.
|
|
1543
1544
|
"""
|
|
1544
|
-
node_security_group_tags: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
|
1545
|
+
node_security_group_tags: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]
|
|
1545
1546
|
"""
|
|
1546
1547
|
Tags attached to the security groups associated with the cluster's worker nodes.
|
|
1547
1548
|
"""
|
|
1548
1549
|
oidc_provider: NotRequired[pulumi.Input['pulumi_aws.iam.OpenIdConnectProvider']]
|
|
1549
|
-
private_subnet_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1550
|
+
private_subnet_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
1550
1551
|
"""
|
|
1551
1552
|
List of subnet IDs for the private subnets.
|
|
1552
1553
|
"""
|
|
1553
|
-
public_subnet_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
1554
|
+
public_subnet_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
1554
1555
|
"""
|
|
1555
1556
|
List of subnet IDs for the public subnets.
|
|
1556
1557
|
"""
|
|
@@ -1558,7 +1559,7 @@ if not MYPY:
|
|
|
1558
1559
|
"""
|
|
1559
1560
|
The storage class used for persistent storage by the cluster.
|
|
1560
1561
|
"""
|
|
1561
|
-
tags: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
|
1562
|
+
tags: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]
|
|
1562
1563
|
"""
|
|
1563
1564
|
A map of tags assigned to the EKS cluster.
|
|
1564
1565
|
"""
|
|
@@ -1574,12 +1575,12 @@ class CoreDataArgs:
|
|
|
1574
1575
|
def __init__(__self__, *,
|
|
1575
1576
|
cluster: pulumi.Input['pulumi_aws.eks.Cluster'],
|
|
1576
1577
|
cluster_iam_role: pulumi.Input['pulumi_aws.iam.Role'],
|
|
1577
|
-
endpoint: pulumi.Input[str],
|
|
1578
|
+
endpoint: pulumi.Input[builtins.str],
|
|
1578
1579
|
instance_roles: pulumi.Input[Sequence[pulumi.Input['pulumi_aws.iam.Role']]],
|
|
1579
1580
|
node_group_options: pulumi.Input['ClusterNodeGroupOptionsArgs'],
|
|
1580
1581
|
provider: pulumi.Input['pulumi_kubernetes.Provider'],
|
|
1581
|
-
subnet_ids: pulumi.Input[Sequence[pulumi.Input[str]]],
|
|
1582
|
-
vpc_id: pulumi.Input[str],
|
|
1582
|
+
subnet_ids: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
|
|
1583
|
+
vpc_id: pulumi.Input[builtins.str],
|
|
1583
1584
|
access_entries: Optional[pulumi.Input[Sequence[pulumi.Input['AccessEntryArgs']]]] = None,
|
|
1584
1585
|
aws_provider: Optional[pulumi.Input['pulumi_aws.Provider']] = None,
|
|
1585
1586
|
cluster_security_group: Optional[pulumi.Input['pulumi_aws.ec2.SecurityGroup']] = None,
|
|
@@ -1587,29 +1588,29 @@ class CoreDataArgs:
|
|
|
1587
1588
|
encryption_config: Optional[pulumi.Input['pulumi_aws.eks.ClusterEncryptionConfigArgs']] = None,
|
|
1588
1589
|
fargate_profile: Optional[pulumi.Input['pulumi_aws.eks.FargateProfile']] = None,
|
|
1589
1590
|
kubeconfig: Optional[Any] = None,
|
|
1590
|
-
node_security_group_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
1591
|
+
node_security_group_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
1591
1592
|
oidc_provider: Optional[pulumi.Input['pulumi_aws.iam.OpenIdConnectProvider']] = None,
|
|
1592
|
-
private_subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1593
|
-
public_subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1593
|
+
private_subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1594
|
+
public_subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1594
1595
|
storage_classes: Optional[pulumi.Input[Mapping[str, pulumi.Input['pulumi_kubernetes.storage.v1.StorageClass']]]] = None,
|
|
1595
|
-
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
1596
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
1596
1597
|
vpc_cni: Optional[pulumi.Input['VpcCniAddon']] = None):
|
|
1597
1598
|
"""
|
|
1598
1599
|
Defines the core set of data associated with an EKS cluster, including the network in which it runs.
|
|
1599
1600
|
:param pulumi.Input['pulumi_aws.iam.Role'] cluster_iam_role: The IAM Role attached to the EKS Cluster
|
|
1600
|
-
:param pulumi.Input[str] endpoint: The EKS cluster's Kubernetes API server endpoint.
|
|
1601
|
+
:param pulumi.Input[builtins.str] endpoint: The EKS cluster's Kubernetes API server endpoint.
|
|
1601
1602
|
:param pulumi.Input[Sequence[pulumi.Input['pulumi_aws.iam.Role']]] instance_roles: The IAM instance roles for the cluster's nodes.
|
|
1602
1603
|
:param pulumi.Input['ClusterNodeGroupOptionsArgs'] node_group_options: The cluster's node group options.
|
|
1603
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] subnet_ids: List of subnet IDs for the EKS cluster.
|
|
1604
|
-
:param pulumi.Input[str] vpc_id: ID of the cluster's VPC.
|
|
1604
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] subnet_ids: List of subnet IDs for the EKS cluster.
|
|
1605
|
+
:param pulumi.Input[builtins.str] vpc_id: ID of the cluster's VPC.
|
|
1605
1606
|
:param pulumi.Input[Sequence[pulumi.Input['AccessEntryArgs']]] access_entries: The access entries added to the cluster.
|
|
1606
1607
|
:param pulumi.Input['pulumi_aws.eks.FargateProfile'] fargate_profile: The Fargate profile used to manage which pods run on Fargate.
|
|
1607
1608
|
:param Any kubeconfig: The kubeconfig file for the cluster.
|
|
1608
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] node_security_group_tags: Tags attached to the security groups associated with the cluster's worker nodes.
|
|
1609
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] private_subnet_ids: List of subnet IDs for the private subnets.
|
|
1610
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] public_subnet_ids: List of subnet IDs for the public subnets.
|
|
1609
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] node_security_group_tags: Tags attached to the security groups associated with the cluster's worker nodes.
|
|
1610
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] private_subnet_ids: List of subnet IDs for the private subnets.
|
|
1611
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] public_subnet_ids: List of subnet IDs for the public subnets.
|
|
1611
1612
|
:param pulumi.Input[Mapping[str, pulumi.Input['pulumi_kubernetes.storage.v1.StorageClass']]] storage_classes: The storage class used for persistent storage by the cluster.
|
|
1612
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of tags assigned to the EKS cluster.
|
|
1613
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: A map of tags assigned to the EKS cluster.
|
|
1613
1614
|
:param pulumi.Input['VpcCniAddon'] vpc_cni: The VPC CNI for the cluster.
|
|
1614
1615
|
"""
|
|
1615
1616
|
pulumi.set(__self__, "cluster", cluster)
|
|
@@ -1672,14 +1673,14 @@ class CoreDataArgs:
|
|
|
1672
1673
|
|
|
1673
1674
|
@property
|
|
1674
1675
|
@pulumi.getter
|
|
1675
|
-
def endpoint(self) -> pulumi.Input[str]:
|
|
1676
|
+
def endpoint(self) -> pulumi.Input[builtins.str]:
|
|
1676
1677
|
"""
|
|
1677
1678
|
The EKS cluster's Kubernetes API server endpoint.
|
|
1678
1679
|
"""
|
|
1679
1680
|
return pulumi.get(self, "endpoint")
|
|
1680
1681
|
|
|
1681
1682
|
@endpoint.setter
|
|
1682
|
-
def endpoint(self, value: pulumi.Input[str]):
|
|
1683
|
+
def endpoint(self, value: pulumi.Input[builtins.str]):
|
|
1683
1684
|
pulumi.set(self, "endpoint", value)
|
|
1684
1685
|
|
|
1685
1686
|
@property
|
|
@@ -1717,26 +1718,26 @@ class CoreDataArgs:
|
|
|
1717
1718
|
|
|
1718
1719
|
@property
|
|
1719
1720
|
@pulumi.getter(name="subnetIds")
|
|
1720
|
-
def subnet_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
1721
|
+
def subnet_ids(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
|
|
1721
1722
|
"""
|
|
1722
1723
|
List of subnet IDs for the EKS cluster.
|
|
1723
1724
|
"""
|
|
1724
1725
|
return pulumi.get(self, "subnet_ids")
|
|
1725
1726
|
|
|
1726
1727
|
@subnet_ids.setter
|
|
1727
|
-
def subnet_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
|
1728
|
+
def subnet_ids(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
|
|
1728
1729
|
pulumi.set(self, "subnet_ids", value)
|
|
1729
1730
|
|
|
1730
1731
|
@property
|
|
1731
1732
|
@pulumi.getter(name="vpcId")
|
|
1732
|
-
def vpc_id(self) -> pulumi.Input[str]:
|
|
1733
|
+
def vpc_id(self) -> pulumi.Input[builtins.str]:
|
|
1733
1734
|
"""
|
|
1734
1735
|
ID of the cluster's VPC.
|
|
1735
1736
|
"""
|
|
1736
1737
|
return pulumi.get(self, "vpc_id")
|
|
1737
1738
|
|
|
1738
1739
|
@vpc_id.setter
|
|
1739
|
-
def vpc_id(self, value: pulumi.Input[str]):
|
|
1740
|
+
def vpc_id(self, value: pulumi.Input[builtins.str]):
|
|
1740
1741
|
pulumi.set(self, "vpc_id", value)
|
|
1741
1742
|
|
|
1742
1743
|
@property
|
|
@@ -1813,14 +1814,14 @@ class CoreDataArgs:
|
|
|
1813
1814
|
|
|
1814
1815
|
@property
|
|
1815
1816
|
@pulumi.getter(name="nodeSecurityGroupTags")
|
|
1816
|
-
def node_security_group_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
1817
|
+
def node_security_group_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
1817
1818
|
"""
|
|
1818
1819
|
Tags attached to the security groups associated with the cluster's worker nodes.
|
|
1819
1820
|
"""
|
|
1820
1821
|
return pulumi.get(self, "node_security_group_tags")
|
|
1821
1822
|
|
|
1822
1823
|
@node_security_group_tags.setter
|
|
1823
|
-
def node_security_group_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
1824
|
+
def node_security_group_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
1824
1825
|
pulumi.set(self, "node_security_group_tags", value)
|
|
1825
1826
|
|
|
1826
1827
|
@property
|
|
@@ -1834,26 +1835,26 @@ class CoreDataArgs:
|
|
|
1834
1835
|
|
|
1835
1836
|
@property
|
|
1836
1837
|
@pulumi.getter(name="privateSubnetIds")
|
|
1837
|
-
def private_subnet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1838
|
+
def private_subnet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1838
1839
|
"""
|
|
1839
1840
|
List of subnet IDs for the private subnets.
|
|
1840
1841
|
"""
|
|
1841
1842
|
return pulumi.get(self, "private_subnet_ids")
|
|
1842
1843
|
|
|
1843
1844
|
@private_subnet_ids.setter
|
|
1844
|
-
def private_subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1845
|
+
def private_subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1845
1846
|
pulumi.set(self, "private_subnet_ids", value)
|
|
1846
1847
|
|
|
1847
1848
|
@property
|
|
1848
1849
|
@pulumi.getter(name="publicSubnetIds")
|
|
1849
|
-
def public_subnet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1850
|
+
def public_subnet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1850
1851
|
"""
|
|
1851
1852
|
List of subnet IDs for the public subnets.
|
|
1852
1853
|
"""
|
|
1853
1854
|
return pulumi.get(self, "public_subnet_ids")
|
|
1854
1855
|
|
|
1855
1856
|
@public_subnet_ids.setter
|
|
1856
|
-
def public_subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1857
|
+
def public_subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1857
1858
|
pulumi.set(self, "public_subnet_ids", value)
|
|
1858
1859
|
|
|
1859
1860
|
@property
|
|
@@ -1870,14 +1871,14 @@ class CoreDataArgs:
|
|
|
1870
1871
|
|
|
1871
1872
|
@property
|
|
1872
1873
|
@pulumi.getter
|
|
1873
|
-
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
1874
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
1874
1875
|
"""
|
|
1875
1876
|
A map of tags assigned to the EKS cluster.
|
|
1876
1877
|
"""
|
|
1877
1878
|
return pulumi.get(self, "tags")
|
|
1878
1879
|
|
|
1879
1880
|
@tags.setter
|
|
1880
|
-
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
1881
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
1881
1882
|
pulumi.set(self, "tags", value)
|
|
1882
1883
|
|
|
1883
1884
|
@property
|
|
@@ -1899,7 +1900,7 @@ if not MYPY:
|
|
|
1899
1900
|
"""
|
|
1900
1901
|
Custom configuration values for the coredns addon. This object must match the schema derived from [describe-addon-configuration](https://docs.aws.amazon.com/cli/latest/reference/eks/describe-addon-configuration.html).
|
|
1901
1902
|
"""
|
|
1902
|
-
enabled: NotRequired[bool]
|
|
1903
|
+
enabled: NotRequired[builtins.bool]
|
|
1903
1904
|
"""
|
|
1904
1905
|
Whether or not to create the `coredns` Addon in the cluster
|
|
1905
1906
|
|
|
@@ -1914,7 +1915,7 @@ if not MYPY:
|
|
|
1914
1915
|
"""
|
|
1915
1916
|
How to resolve field value conflicts for an Amazon EKS add-on if you've changed a value from the Amazon EKS default value. Valid values are `NONE`, `OVERWRITE`, and `PRESERVE`. For more details see the [UpdateAddon](https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateAddon.html) API Docs.
|
|
1916
1917
|
"""
|
|
1917
|
-
version: NotRequired[pulumi.Input[str]]
|
|
1918
|
+
version: NotRequired[pulumi.Input[builtins.str]]
|
|
1918
1919
|
"""
|
|
1919
1920
|
The version of the EKS add-on. The version must match one of the versions returned by [describe-addon-versions](https://docs.aws.amazon.com/cli/latest/reference/eks/describe-addon-versions.html).
|
|
1920
1921
|
"""
|
|
@@ -1925,19 +1926,19 @@ elif False:
|
|
|
1925
1926
|
class CoreDnsAddonOptionsArgs:
|
|
1926
1927
|
def __init__(__self__, *,
|
|
1927
1928
|
configuration_values: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
1928
|
-
enabled: Optional[bool] = None,
|
|
1929
|
+
enabled: Optional[builtins.bool] = None,
|
|
1929
1930
|
resolve_conflicts_on_create: Optional['ResolveConflictsOnCreate'] = None,
|
|
1930
1931
|
resolve_conflicts_on_update: Optional['ResolveConflictsOnUpdate'] = None,
|
|
1931
|
-
version: Optional[pulumi.Input[str]] = None):
|
|
1932
|
+
version: Optional[pulumi.Input[builtins.str]] = None):
|
|
1932
1933
|
"""
|
|
1933
1934
|
:param pulumi.Input[Mapping[str, Any]] configuration_values: Custom configuration values for the coredns addon. This object must match the schema derived from [describe-addon-configuration](https://docs.aws.amazon.com/cli/latest/reference/eks/describe-addon-configuration.html).
|
|
1934
|
-
:param bool enabled: Whether or not to create the `coredns` Addon in the cluster
|
|
1935
|
+
:param builtins.bool enabled: Whether or not to create the `coredns` Addon in the cluster
|
|
1935
1936
|
|
|
1936
1937
|
The managed addon can only be enabled if the cluster is a Fargate cluster or if the cluster
|
|
1937
1938
|
uses the default node group, otherwise the self-managed addon is used.
|
|
1938
1939
|
:param 'ResolveConflictsOnCreate' resolve_conflicts_on_create: How to resolve field value conflicts when migrating a self-managed add-on to an Amazon EKS add-on. Valid values are `NONE` and `OVERWRITE`. For more details see the [CreateAddon](https://docs.aws.amazon.com/eks/latest/APIReference/API_CreateAddon.html) API Docs.
|
|
1939
1940
|
:param 'ResolveConflictsOnUpdate' resolve_conflicts_on_update: How to resolve field value conflicts for an Amazon EKS add-on if you've changed a value from the Amazon EKS default value. Valid values are `NONE`, `OVERWRITE`, and `PRESERVE`. For more details see the [UpdateAddon](https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateAddon.html) API Docs.
|
|
1940
|
-
:param pulumi.Input[str] version: The version of the EKS add-on. The version must match one of the versions returned by [describe-addon-versions](https://docs.aws.amazon.com/cli/latest/reference/eks/describe-addon-versions.html).
|
|
1941
|
+
:param pulumi.Input[builtins.str] version: The version of the EKS add-on. The version must match one of the versions returned by [describe-addon-versions](https://docs.aws.amazon.com/cli/latest/reference/eks/describe-addon-versions.html).
|
|
1941
1942
|
"""
|
|
1942
1943
|
if configuration_values is not None:
|
|
1943
1944
|
pulumi.set(__self__, "configuration_values", configuration_values)
|
|
@@ -1970,7 +1971,7 @@ class CoreDnsAddonOptionsArgs:
|
|
|
1970
1971
|
|
|
1971
1972
|
@property
|
|
1972
1973
|
@pulumi.getter
|
|
1973
|
-
def enabled(self) -> Optional[bool]:
|
|
1974
|
+
def enabled(self) -> Optional[builtins.bool]:
|
|
1974
1975
|
"""
|
|
1975
1976
|
Whether or not to create the `coredns` Addon in the cluster
|
|
1976
1977
|
|
|
@@ -1980,7 +1981,7 @@ class CoreDnsAddonOptionsArgs:
|
|
|
1980
1981
|
return pulumi.get(self, "enabled")
|
|
1981
1982
|
|
|
1982
1983
|
@enabled.setter
|
|
1983
|
-
def enabled(self, value: Optional[bool]):
|
|
1984
|
+
def enabled(self, value: Optional[builtins.bool]):
|
|
1984
1985
|
pulumi.set(self, "enabled", value)
|
|
1985
1986
|
|
|
1986
1987
|
@property
|
|
@@ -2009,14 +2010,14 @@ class CoreDnsAddonOptionsArgs:
|
|
|
2009
2010
|
|
|
2010
2011
|
@property
|
|
2011
2012
|
@pulumi.getter
|
|
2012
|
-
def version(self) -> Optional[pulumi.Input[str]]:
|
|
2013
|
+
def version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2013
2014
|
"""
|
|
2014
2015
|
The version of the EKS add-on. The version must match one of the versions returned by [describe-addon-versions](https://docs.aws.amazon.com/cli/latest/reference/eks/describe-addon-versions.html).
|
|
2015
2016
|
"""
|
|
2016
2017
|
return pulumi.get(self, "version")
|
|
2017
2018
|
|
|
2018
2019
|
@version.setter
|
|
2019
|
-
def version(self, value: Optional[pulumi.Input[str]]):
|
|
2020
|
+
def version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2020
2021
|
pulumi.set(self, "version", value)
|
|
2021
2022
|
|
|
2022
2023
|
|
|
@@ -2069,7 +2070,7 @@ if not MYPY:
|
|
|
2069
2070
|
"""
|
|
2070
2071
|
Defines how Kubernetes pods are executed in Fargate. See aws.eks.FargateProfileArgs for reference.
|
|
2071
2072
|
"""
|
|
2072
|
-
pod_execution_role_arn: NotRequired[pulumi.Input[str]]
|
|
2073
|
+
pod_execution_role_arn: NotRequired[pulumi.Input[builtins.str]]
|
|
2073
2074
|
"""
|
|
2074
2075
|
Specify a custom role to use for executing pods in Fargate. Defaults to creating a new role with the `arn:aws:iam::aws:policy/AmazonEKSFargatePodExecutionRolePolicy` policy attached.
|
|
2075
2076
|
"""
|
|
@@ -2077,7 +2078,7 @@ if not MYPY:
|
|
|
2077
2078
|
"""
|
|
2078
2079
|
Specify the namespace and label selectors to use for launching pods into Fargate.
|
|
2079
2080
|
"""
|
|
2080
|
-
subnet_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2081
|
+
subnet_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2081
2082
|
"""
|
|
2082
2083
|
Specify the subnets in which to execute Fargate tasks for pods. Defaults to the private subnets associated with the cluster.
|
|
2083
2084
|
"""
|
|
@@ -2087,14 +2088,14 @@ elif False:
|
|
|
2087
2088
|
@pulumi.input_type
|
|
2088
2089
|
class FargateProfileArgs:
|
|
2089
2090
|
def __init__(__self__, *,
|
|
2090
|
-
pod_execution_role_arn: Optional[pulumi.Input[str]] = None,
|
|
2091
|
+
pod_execution_role_arn: Optional[pulumi.Input[builtins.str]] = None,
|
|
2091
2092
|
selectors: Optional[pulumi.Input[Sequence[pulumi.Input['pulumi_aws.eks.FargateProfileSelectorArgs']]]] = None,
|
|
2092
|
-
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
2093
|
+
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
2093
2094
|
"""
|
|
2094
2095
|
Defines how Kubernetes pods are executed in Fargate. See aws.eks.FargateProfileArgs for reference.
|
|
2095
|
-
:param pulumi.Input[str] pod_execution_role_arn: Specify a custom role to use for executing pods in Fargate. Defaults to creating a new role with the `arn:aws:iam::aws:policy/AmazonEKSFargatePodExecutionRolePolicy` policy attached.
|
|
2096
|
+
:param pulumi.Input[builtins.str] pod_execution_role_arn: Specify a custom role to use for executing pods in Fargate. Defaults to creating a new role with the `arn:aws:iam::aws:policy/AmazonEKSFargatePodExecutionRolePolicy` policy attached.
|
|
2096
2097
|
:param pulumi.Input[Sequence[pulumi.Input['pulumi_aws.eks.FargateProfileSelectorArgs']]] selectors: Specify the namespace and label selectors to use for launching pods into Fargate.
|
|
2097
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] subnet_ids: Specify the subnets in which to execute Fargate tasks for pods. Defaults to the private subnets associated with the cluster.
|
|
2098
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] subnet_ids: Specify the subnets in which to execute Fargate tasks for pods. Defaults to the private subnets associated with the cluster.
|
|
2098
2099
|
"""
|
|
2099
2100
|
if pod_execution_role_arn is not None:
|
|
2100
2101
|
pulumi.set(__self__, "pod_execution_role_arn", pod_execution_role_arn)
|
|
@@ -2105,14 +2106,14 @@ class FargateProfileArgs:
|
|
|
2105
2106
|
|
|
2106
2107
|
@property
|
|
2107
2108
|
@pulumi.getter(name="podExecutionRoleArn")
|
|
2108
|
-
def pod_execution_role_arn(self) -> Optional[pulumi.Input[str]]:
|
|
2109
|
+
def pod_execution_role_arn(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2109
2110
|
"""
|
|
2110
2111
|
Specify a custom role to use for executing pods in Fargate. Defaults to creating a new role with the `arn:aws:iam::aws:policy/AmazonEKSFargatePodExecutionRolePolicy` policy attached.
|
|
2111
2112
|
"""
|
|
2112
2113
|
return pulumi.get(self, "pod_execution_role_arn")
|
|
2113
2114
|
|
|
2114
2115
|
@pod_execution_role_arn.setter
|
|
2115
|
-
def pod_execution_role_arn(self, value: Optional[pulumi.Input[str]]):
|
|
2116
|
+
def pod_execution_role_arn(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2116
2117
|
pulumi.set(self, "pod_execution_role_arn", value)
|
|
2117
2118
|
|
|
2118
2119
|
@property
|
|
@@ -2129,14 +2130,14 @@ class FargateProfileArgs:
|
|
|
2129
2130
|
|
|
2130
2131
|
@property
|
|
2131
2132
|
@pulumi.getter(name="subnetIds")
|
|
2132
|
-
def subnet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2133
|
+
def subnet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2133
2134
|
"""
|
|
2134
2135
|
Specify the subnets in which to execute Fargate tasks for pods. Defaults to the private subnets associated with the cluster.
|
|
2135
2136
|
"""
|
|
2136
2137
|
return pulumi.get(self, "subnet_ids")
|
|
2137
2138
|
|
|
2138
2139
|
@subnet_ids.setter
|
|
2139
|
-
def subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2140
|
+
def subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2140
2141
|
pulumi.set(self, "subnet_ids", value)
|
|
2141
2142
|
|
|
2142
2143
|
|
|
@@ -2146,7 +2147,7 @@ if not MYPY:
|
|
|
2146
2147
|
"""
|
|
2147
2148
|
Custom configuration values for the kube-proxy addon. This object must match the schema derived from [describe-addon-configuration](https://docs.aws.amazon.com/cli/latest/reference/eks/describe-addon-configuration.html).
|
|
2148
2149
|
"""
|
|
2149
|
-
enabled: NotRequired[bool]
|
|
2150
|
+
enabled: NotRequired[builtins.bool]
|
|
2150
2151
|
"""
|
|
2151
2152
|
Whether or not to create the `kube-proxy` Addon in the cluster. Defaults to true, unless `autoMode` is enabled.
|
|
2152
2153
|
"""
|
|
@@ -2158,7 +2159,7 @@ if not MYPY:
|
|
|
2158
2159
|
"""
|
|
2159
2160
|
How to resolve field value conflicts for an Amazon EKS add-on if you've changed a value from the Amazon EKS default value. Valid values are `NONE`, `OVERWRITE`, and `PRESERVE`. For more details see the [UpdateAddon](https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateAddon.html) API Docs.
|
|
2160
2161
|
"""
|
|
2161
|
-
version: NotRequired[pulumi.Input[str]]
|
|
2162
|
+
version: NotRequired[pulumi.Input[builtins.str]]
|
|
2162
2163
|
"""
|
|
2163
2164
|
The version of the EKS add-on. The version must match one of the versions returned by [describe-addon-versions](https://docs.aws.amazon.com/cli/latest/reference/eks/describe-addon-versions.html).
|
|
2164
2165
|
"""
|
|
@@ -2169,16 +2170,16 @@ elif False:
|
|
|
2169
2170
|
class KubeProxyAddonOptionsArgs:
|
|
2170
2171
|
def __init__(__self__, *,
|
|
2171
2172
|
configuration_values: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
2172
|
-
enabled: Optional[bool] = None,
|
|
2173
|
+
enabled: Optional[builtins.bool] = None,
|
|
2173
2174
|
resolve_conflicts_on_create: Optional['ResolveConflictsOnCreate'] = None,
|
|
2174
2175
|
resolve_conflicts_on_update: Optional['ResolveConflictsOnUpdate'] = None,
|
|
2175
|
-
version: Optional[pulumi.Input[str]] = None):
|
|
2176
|
+
version: Optional[pulumi.Input[builtins.str]] = None):
|
|
2176
2177
|
"""
|
|
2177
2178
|
:param pulumi.Input[Mapping[str, Any]] configuration_values: Custom configuration values for the kube-proxy addon. This object must match the schema derived from [describe-addon-configuration](https://docs.aws.amazon.com/cli/latest/reference/eks/describe-addon-configuration.html).
|
|
2178
|
-
:param bool enabled: Whether or not to create the `kube-proxy` Addon in the cluster. Defaults to true, unless `autoMode` is enabled.
|
|
2179
|
+
:param builtins.bool enabled: Whether or not to create the `kube-proxy` Addon in the cluster. Defaults to true, unless `autoMode` is enabled.
|
|
2179
2180
|
:param 'ResolveConflictsOnCreate' resolve_conflicts_on_create: How to resolve field value conflicts when migrating a self-managed add-on to an Amazon EKS add-on. Valid values are `NONE` and `OVERWRITE`. For more details see the [CreateAddon](https://docs.aws.amazon.com/eks/latest/APIReference/API_CreateAddon.html) API Docs.
|
|
2180
2181
|
:param 'ResolveConflictsOnUpdate' resolve_conflicts_on_update: How to resolve field value conflicts for an Amazon EKS add-on if you've changed a value from the Amazon EKS default value. Valid values are `NONE`, `OVERWRITE`, and `PRESERVE`. For more details see the [UpdateAddon](https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateAddon.html) API Docs.
|
|
2181
|
-
:param pulumi.Input[str] version: The version of the EKS add-on. The version must match one of the versions returned by [describe-addon-versions](https://docs.aws.amazon.com/cli/latest/reference/eks/describe-addon-versions.html).
|
|
2182
|
+
:param pulumi.Input[builtins.str] version: The version of the EKS add-on. The version must match one of the versions returned by [describe-addon-versions](https://docs.aws.amazon.com/cli/latest/reference/eks/describe-addon-versions.html).
|
|
2182
2183
|
"""
|
|
2183
2184
|
if configuration_values is not None:
|
|
2184
2185
|
pulumi.set(__self__, "configuration_values", configuration_values)
|
|
@@ -2209,14 +2210,14 @@ class KubeProxyAddonOptionsArgs:
|
|
|
2209
2210
|
|
|
2210
2211
|
@property
|
|
2211
2212
|
@pulumi.getter
|
|
2212
|
-
def enabled(self) -> Optional[bool]:
|
|
2213
|
+
def enabled(self) -> Optional[builtins.bool]:
|
|
2213
2214
|
"""
|
|
2214
2215
|
Whether or not to create the `kube-proxy` Addon in the cluster. Defaults to true, unless `autoMode` is enabled.
|
|
2215
2216
|
"""
|
|
2216
2217
|
return pulumi.get(self, "enabled")
|
|
2217
2218
|
|
|
2218
2219
|
@enabled.setter
|
|
2219
|
-
def enabled(self, value: Optional[bool]):
|
|
2220
|
+
def enabled(self, value: Optional[builtins.bool]):
|
|
2220
2221
|
pulumi.set(self, "enabled", value)
|
|
2221
2222
|
|
|
2222
2223
|
@property
|
|
@@ -2245,14 +2246,14 @@ class KubeProxyAddonOptionsArgs:
|
|
|
2245
2246
|
|
|
2246
2247
|
@property
|
|
2247
2248
|
@pulumi.getter
|
|
2248
|
-
def version(self) -> Optional[pulumi.Input[str]]:
|
|
2249
|
+
def version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2249
2250
|
"""
|
|
2250
2251
|
The version of the EKS add-on. The version must match one of the versions returned by [describe-addon-versions](https://docs.aws.amazon.com/cli/latest/reference/eks/describe-addon-versions.html).
|
|
2251
2252
|
"""
|
|
2252
2253
|
return pulumi.get(self, "version")
|
|
2253
2254
|
|
|
2254
2255
|
@version.setter
|
|
2255
|
-
def version(self, value: Optional[pulumi.Input[str]]):
|
|
2256
|
+
def version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2256
2257
|
pulumi.set(self, "version", value)
|
|
2257
2258
|
|
|
2258
2259
|
|
|
@@ -2276,13 +2277,13 @@ if not MYPY:
|
|
|
2276
2277
|
- https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-role.html
|
|
2277
2278
|
- https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html
|
|
2278
2279
|
"""
|
|
2279
|
-
profile_name: NotRequired[pulumi.Input[str]]
|
|
2280
|
+
profile_name: NotRequired[pulumi.Input[builtins.str]]
|
|
2280
2281
|
"""
|
|
2281
2282
|
AWS credential profile name to always use instead of the default AWS credential provider chain.
|
|
2282
2283
|
|
|
2283
2284
|
The profile is passed to kubeconfig as an authentication environment setting.
|
|
2284
2285
|
"""
|
|
2285
|
-
role_arn: NotRequired[pulumi.Input[str]]
|
|
2286
|
+
role_arn: NotRequired[pulumi.Input[builtins.str]]
|
|
2286
2287
|
"""
|
|
2287
2288
|
Role ARN to assume instead of the default AWS credential provider chain.
|
|
2288
2289
|
|
|
@@ -2294,8 +2295,8 @@ elif False:
|
|
|
2294
2295
|
@pulumi.input_type
|
|
2295
2296
|
class KubeconfigOptionsArgs:
|
|
2296
2297
|
def __init__(__self__, *,
|
|
2297
|
-
profile_name: Optional[pulumi.Input[str]] = None,
|
|
2298
|
-
role_arn: Optional[pulumi.Input[str]] = None):
|
|
2298
|
+
profile_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
2299
|
+
role_arn: Optional[pulumi.Input[builtins.str]] = None):
|
|
2299
2300
|
"""
|
|
2300
2301
|
Represents the AWS credentials to scope a given kubeconfig when using a non-default credential chain.
|
|
2301
2302
|
|
|
@@ -2313,10 +2314,10 @@ class KubeconfigOptionsArgs:
|
|
|
2313
2314
|
- https://docs.aws.amazon.com/eks/latest/userguide/create-kubeconfig.html
|
|
2314
2315
|
- https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-role.html
|
|
2315
2316
|
- https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html
|
|
2316
|
-
:param pulumi.Input[str] profile_name: AWS credential profile name to always use instead of the default AWS credential provider chain.
|
|
2317
|
+
:param pulumi.Input[builtins.str] profile_name: AWS credential profile name to always use instead of the default AWS credential provider chain.
|
|
2317
2318
|
|
|
2318
2319
|
The profile is passed to kubeconfig as an authentication environment setting.
|
|
2319
|
-
:param pulumi.Input[str] role_arn: Role ARN to assume instead of the default AWS credential provider chain.
|
|
2320
|
+
:param pulumi.Input[builtins.str] role_arn: Role ARN to assume instead of the default AWS credential provider chain.
|
|
2320
2321
|
|
|
2321
2322
|
The role is passed to kubeconfig as an authentication exec argument.
|
|
2322
2323
|
"""
|
|
@@ -2327,7 +2328,7 @@ class KubeconfigOptionsArgs:
|
|
|
2327
2328
|
|
|
2328
2329
|
@property
|
|
2329
2330
|
@pulumi.getter(name="profileName")
|
|
2330
|
-
def profile_name(self) -> Optional[pulumi.Input[str]]:
|
|
2331
|
+
def profile_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2331
2332
|
"""
|
|
2332
2333
|
AWS credential profile name to always use instead of the default AWS credential provider chain.
|
|
2333
2334
|
|
|
@@ -2336,12 +2337,12 @@ class KubeconfigOptionsArgs:
|
|
|
2336
2337
|
return pulumi.get(self, "profile_name")
|
|
2337
2338
|
|
|
2338
2339
|
@profile_name.setter
|
|
2339
|
-
def profile_name(self, value: Optional[pulumi.Input[str]]):
|
|
2340
|
+
def profile_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2340
2341
|
pulumi.set(self, "profile_name", value)
|
|
2341
2342
|
|
|
2342
2343
|
@property
|
|
2343
2344
|
@pulumi.getter(name="roleArn")
|
|
2344
|
-
def role_arn(self) -> Optional[pulumi.Input[str]]:
|
|
2345
|
+
def role_arn(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2345
2346
|
"""
|
|
2346
2347
|
Role ARN to assume instead of the default AWS credential provider chain.
|
|
2347
2348
|
|
|
@@ -2350,7 +2351,7 @@ class KubeconfigOptionsArgs:
|
|
|
2350
2351
|
return pulumi.get(self, "role_arn")
|
|
2351
2352
|
|
|
2352
2353
|
@role_arn.setter
|
|
2353
|
-
def role_arn(self, value: Optional[pulumi.Input[str]]):
|
|
2354
|
+
def role_arn(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2354
2355
|
pulumi.set(self, "role_arn", value)
|
|
2355
2356
|
|
|
2356
2357
|
|
|
@@ -2361,11 +2362,11 @@ if not MYPY:
|
|
|
2361
2362
|
|
|
2362
2363
|
See for more details: https://awslabs.github.io/amazon-eks-ami/nodeadm/.
|
|
2363
2364
|
"""
|
|
2364
|
-
content: pulumi.Input[str]
|
|
2365
|
+
content: pulumi.Input[builtins.str]
|
|
2365
2366
|
"""
|
|
2366
2367
|
The actual content of the MIME document part, such as shell script code or nodeadm configuration. Must be compatible with the specified contentType.
|
|
2367
2368
|
"""
|
|
2368
|
-
content_type: pulumi.Input[str]
|
|
2369
|
+
content_type: pulumi.Input[builtins.str]
|
|
2369
2370
|
"""
|
|
2370
2371
|
The MIME type of the content. Examples are `text/x-shellscript; charset="us-ascii"` for shell scripts, and `application/node.eks.aws` nodeadm configuration.
|
|
2371
2372
|
"""
|
|
@@ -2375,40 +2376,40 @@ elif False:
|
|
|
2375
2376
|
@pulumi.input_type
|
|
2376
2377
|
class NodeadmOptionsArgs:
|
|
2377
2378
|
def __init__(__self__, *,
|
|
2378
|
-
content: pulumi.Input[str],
|
|
2379
|
-
content_type: pulumi.Input[str]):
|
|
2379
|
+
content: pulumi.Input[builtins.str],
|
|
2380
|
+
content_type: pulumi.Input[builtins.str]):
|
|
2380
2381
|
"""
|
|
2381
2382
|
MIME document parts for nodeadm configuration. This can be shell scripts, nodeadm configuration or any other user data compatible script.
|
|
2382
2383
|
|
|
2383
2384
|
See for more details: https://awslabs.github.io/amazon-eks-ami/nodeadm/.
|
|
2384
|
-
:param pulumi.Input[str] content: The actual content of the MIME document part, such as shell script code or nodeadm configuration. Must be compatible with the specified contentType.
|
|
2385
|
-
:param pulumi.Input[str] content_type: The MIME type of the content. Examples are `text/x-shellscript; charset="us-ascii"` for shell scripts, and `application/node.eks.aws` nodeadm configuration.
|
|
2385
|
+
:param pulumi.Input[builtins.str] content: The actual content of the MIME document part, such as shell script code or nodeadm configuration. Must be compatible with the specified contentType.
|
|
2386
|
+
:param pulumi.Input[builtins.str] content_type: The MIME type of the content. Examples are `text/x-shellscript; charset="us-ascii"` for shell scripts, and `application/node.eks.aws` nodeadm configuration.
|
|
2386
2387
|
"""
|
|
2387
2388
|
pulumi.set(__self__, "content", content)
|
|
2388
2389
|
pulumi.set(__self__, "content_type", content_type)
|
|
2389
2390
|
|
|
2390
2391
|
@property
|
|
2391
2392
|
@pulumi.getter
|
|
2392
|
-
def content(self) -> pulumi.Input[str]:
|
|
2393
|
+
def content(self) -> pulumi.Input[builtins.str]:
|
|
2393
2394
|
"""
|
|
2394
2395
|
The actual content of the MIME document part, such as shell script code or nodeadm configuration. Must be compatible with the specified contentType.
|
|
2395
2396
|
"""
|
|
2396
2397
|
return pulumi.get(self, "content")
|
|
2397
2398
|
|
|
2398
2399
|
@content.setter
|
|
2399
|
-
def content(self, value: pulumi.Input[str]):
|
|
2400
|
+
def content(self, value: pulumi.Input[builtins.str]):
|
|
2400
2401
|
pulumi.set(self, "content", value)
|
|
2401
2402
|
|
|
2402
2403
|
@property
|
|
2403
2404
|
@pulumi.getter(name="contentType")
|
|
2404
|
-
def content_type(self) -> pulumi.Input[str]:
|
|
2405
|
+
def content_type(self) -> pulumi.Input[builtins.str]:
|
|
2405
2406
|
"""
|
|
2406
2407
|
The MIME type of the content. Examples are `text/x-shellscript; charset="us-ascii"` for shell scripts, and `application/node.eks.aws` nodeadm configuration.
|
|
2407
2408
|
"""
|
|
2408
2409
|
return pulumi.get(self, "content_type")
|
|
2409
2410
|
|
|
2410
2411
|
@content_type.setter
|
|
2411
|
-
def content_type(self, value: pulumi.Input[str]):
|
|
2412
|
+
def content_type(self, value: pulumi.Input[builtins.str]):
|
|
2412
2413
|
pulumi.set(self, "content_type", value)
|
|
2413
2414
|
|
|
2414
2415
|
|
|
@@ -2417,15 +2418,15 @@ if not MYPY:
|
|
|
2417
2418
|
"""
|
|
2418
2419
|
Describes a mapping from an AWS IAM role to a Kubernetes user and groups.
|
|
2419
2420
|
"""
|
|
2420
|
-
groups: pulumi.Input[Sequence[pulumi.Input[str]]]
|
|
2421
|
+
groups: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]
|
|
2421
2422
|
"""
|
|
2422
2423
|
A list of groups within Kubernetes to which the role is mapped.
|
|
2423
2424
|
"""
|
|
2424
|
-
role_arn: pulumi.Input[str]
|
|
2425
|
+
role_arn: pulumi.Input[builtins.str]
|
|
2425
2426
|
"""
|
|
2426
2427
|
The ARN of the IAM role to add.
|
|
2427
2428
|
"""
|
|
2428
|
-
username: pulumi.Input[str]
|
|
2429
|
+
username: pulumi.Input[builtins.str]
|
|
2429
2430
|
"""
|
|
2430
2431
|
The user name within Kubernetes to map to the IAM role. By default, the user name is the ARN of the IAM role.
|
|
2431
2432
|
"""
|
|
@@ -2435,14 +2436,14 @@ elif False:
|
|
|
2435
2436
|
@pulumi.input_type
|
|
2436
2437
|
class RoleMappingArgs:
|
|
2437
2438
|
def __init__(__self__, *,
|
|
2438
|
-
groups: pulumi.Input[Sequence[pulumi.Input[str]]],
|
|
2439
|
-
role_arn: pulumi.Input[str],
|
|
2440
|
-
username: pulumi.Input[str]):
|
|
2439
|
+
groups: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
|
|
2440
|
+
role_arn: pulumi.Input[builtins.str],
|
|
2441
|
+
username: pulumi.Input[builtins.str]):
|
|
2441
2442
|
"""
|
|
2442
2443
|
Describes a mapping from an AWS IAM role to a Kubernetes user and groups.
|
|
2443
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] groups: A list of groups within Kubernetes to which the role is mapped.
|
|
2444
|
-
:param pulumi.Input[str] role_arn: The ARN of the IAM role to add.
|
|
2445
|
-
:param pulumi.Input[str] username: The user name within Kubernetes to map to the IAM role. By default, the user name is the ARN of the IAM role.
|
|
2444
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] groups: A list of groups within Kubernetes to which the role is mapped.
|
|
2445
|
+
:param pulumi.Input[builtins.str] role_arn: The ARN of the IAM role to add.
|
|
2446
|
+
:param pulumi.Input[builtins.str] username: The user name within Kubernetes to map to the IAM role. By default, the user name is the ARN of the IAM role.
|
|
2446
2447
|
"""
|
|
2447
2448
|
pulumi.set(__self__, "groups", groups)
|
|
2448
2449
|
pulumi.set(__self__, "role_arn", role_arn)
|
|
@@ -2450,38 +2451,38 @@ class RoleMappingArgs:
|
|
|
2450
2451
|
|
|
2451
2452
|
@property
|
|
2452
2453
|
@pulumi.getter
|
|
2453
|
-
def groups(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
2454
|
+
def groups(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
|
|
2454
2455
|
"""
|
|
2455
2456
|
A list of groups within Kubernetes to which the role is mapped.
|
|
2456
2457
|
"""
|
|
2457
2458
|
return pulumi.get(self, "groups")
|
|
2458
2459
|
|
|
2459
2460
|
@groups.setter
|
|
2460
|
-
def groups(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
|
2461
|
+
def groups(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
|
|
2461
2462
|
pulumi.set(self, "groups", value)
|
|
2462
2463
|
|
|
2463
2464
|
@property
|
|
2464
2465
|
@pulumi.getter(name="roleArn")
|
|
2465
|
-
def role_arn(self) -> pulumi.Input[str]:
|
|
2466
|
+
def role_arn(self) -> pulumi.Input[builtins.str]:
|
|
2466
2467
|
"""
|
|
2467
2468
|
The ARN of the IAM role to add.
|
|
2468
2469
|
"""
|
|
2469
2470
|
return pulumi.get(self, "role_arn")
|
|
2470
2471
|
|
|
2471
2472
|
@role_arn.setter
|
|
2472
|
-
def role_arn(self, value: pulumi.Input[str]):
|
|
2473
|
+
def role_arn(self, value: pulumi.Input[builtins.str]):
|
|
2473
2474
|
pulumi.set(self, "role_arn", value)
|
|
2474
2475
|
|
|
2475
2476
|
@property
|
|
2476
2477
|
@pulumi.getter
|
|
2477
|
-
def username(self) -> pulumi.Input[str]:
|
|
2478
|
+
def username(self) -> pulumi.Input[builtins.str]:
|
|
2478
2479
|
"""
|
|
2479
2480
|
The user name within Kubernetes to map to the IAM role. By default, the user name is the ARN of the IAM role.
|
|
2480
2481
|
"""
|
|
2481
2482
|
return pulumi.get(self, "username")
|
|
2482
2483
|
|
|
2483
2484
|
@username.setter
|
|
2484
|
-
def username(self, value: pulumi.Input[str]):
|
|
2485
|
+
def username(self, value: pulumi.Input[builtins.str]):
|
|
2485
2486
|
pulumi.set(self, "username", value)
|
|
2486
2487
|
|
|
2487
2488
|
|
|
@@ -2490,15 +2491,15 @@ if not MYPY:
|
|
|
2490
2491
|
"""
|
|
2491
2492
|
StorageClass describes the inputs to a single Kubernetes StorageClass provisioned by AWS. Any number of storage classes can be added to a cluster at creation time. One of these storage classes may be configured the default storage class for the cluster.
|
|
2492
2493
|
"""
|
|
2493
|
-
type: pulumi.Input[str]
|
|
2494
|
+
type: pulumi.Input[builtins.str]
|
|
2494
2495
|
"""
|
|
2495
2496
|
The EBS volume type.
|
|
2496
2497
|
"""
|
|
2497
|
-
allow_volume_expansion: NotRequired[pulumi.Input[bool]]
|
|
2498
|
+
allow_volume_expansion: NotRequired[pulumi.Input[builtins.bool]]
|
|
2498
2499
|
"""
|
|
2499
2500
|
AllowVolumeExpansion shows whether the storage class allow volume expand.
|
|
2500
2501
|
"""
|
|
2501
|
-
default: NotRequired[pulumi.Input[bool]]
|
|
2502
|
+
default: NotRequired[pulumi.Input[builtins.bool]]
|
|
2502
2503
|
"""
|
|
2503
2504
|
True if this storage class should be a default storage class for the cluster.
|
|
2504
2505
|
|
|
@@ -2506,15 +2507,15 @@ if not MYPY:
|
|
|
2506
2507
|
|
|
2507
2508
|
Please note that at most one storage class can be marked as default. If two or more of them are marked as default, a PersistentVolumeClaim without `storageClassName` explicitly specified cannot be created. See: https://kubernetes.io/docs/tasks/administer-cluster/change-default-storage-class/#changing-the-default-storageclass
|
|
2508
2509
|
"""
|
|
2509
|
-
encrypted: NotRequired[pulumi.Input[bool]]
|
|
2510
|
+
encrypted: NotRequired[pulumi.Input[builtins.bool]]
|
|
2510
2511
|
"""
|
|
2511
2512
|
Denotes whether the EBS volume should be encrypted.
|
|
2512
2513
|
"""
|
|
2513
|
-
iops_per_gb: NotRequired[pulumi.Input[int]]
|
|
2514
|
+
iops_per_gb: NotRequired[pulumi.Input[builtins.int]]
|
|
2514
2515
|
"""
|
|
2515
2516
|
I/O operations per second per GiB for "io1" volumes. The AWS volume plugin multiplies this with the size of a requested volume to compute IOPS of the volume and caps the result at 20,000 IOPS.
|
|
2516
2517
|
"""
|
|
2517
|
-
kms_key_id: NotRequired[pulumi.Input[str]]
|
|
2518
|
+
kms_key_id: NotRequired[pulumi.Input[builtins.str]]
|
|
2518
2519
|
"""
|
|
2519
2520
|
The full Amazon Resource Name of the key to use when encrypting the volume. If none is supplied but encrypted is true, a key is generated by AWS.
|
|
2520
2521
|
"""
|
|
@@ -2522,19 +2523,19 @@ if not MYPY:
|
|
|
2522
2523
|
"""
|
|
2523
2524
|
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
|
|
2524
2525
|
"""
|
|
2525
|
-
mount_options: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2526
|
+
mount_options: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2526
2527
|
"""
|
|
2527
2528
|
Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.
|
|
2528
2529
|
"""
|
|
2529
|
-
reclaim_policy: NotRequired[pulumi.Input[str]]
|
|
2530
|
+
reclaim_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
2530
2531
|
"""
|
|
2531
2532
|
Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.
|
|
2532
2533
|
"""
|
|
2533
|
-
volume_binding_mode: NotRequired[pulumi.Input[str]]
|
|
2534
|
+
volume_binding_mode: NotRequired[pulumi.Input[builtins.str]]
|
|
2534
2535
|
"""
|
|
2535
2536
|
VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is alpha-level and is only honored by servers that enable the VolumeScheduling feature.
|
|
2536
2537
|
"""
|
|
2537
|
-
zones: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2538
|
+
zones: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2538
2539
|
"""
|
|
2539
2540
|
The AWS zone or zones for the EBS volume. If zones is not specified, volumes are generally round-robin-ed across all active zones where Kubernetes cluster has a node. zone and zones parameters must not be used at the same time.
|
|
2540
2541
|
"""
|
|
@@ -2544,34 +2545,34 @@ elif False:
|
|
|
2544
2545
|
@pulumi.input_type
|
|
2545
2546
|
class StorageClassArgs:
|
|
2546
2547
|
def __init__(__self__, *,
|
|
2547
|
-
type: pulumi.Input[str],
|
|
2548
|
-
allow_volume_expansion: Optional[pulumi.Input[bool]] = None,
|
|
2549
|
-
default: Optional[pulumi.Input[bool]] = None,
|
|
2550
|
-
encrypted: Optional[pulumi.Input[bool]] = None,
|
|
2551
|
-
iops_per_gb: Optional[pulumi.Input[int]] = None,
|
|
2552
|
-
kms_key_id: Optional[pulumi.Input[str]] = None,
|
|
2548
|
+
type: pulumi.Input[builtins.str],
|
|
2549
|
+
allow_volume_expansion: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2550
|
+
default: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2551
|
+
encrypted: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2552
|
+
iops_per_gb: Optional[pulumi.Input[builtins.int]] = None,
|
|
2553
|
+
kms_key_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
2553
2554
|
metadata: Optional[pulumi.Input['pulumi_kubernetes.meta.v1.ObjectMetaArgs']] = None,
|
|
2554
|
-
mount_options: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2555
|
-
reclaim_policy: Optional[pulumi.Input[str]] = None,
|
|
2556
|
-
volume_binding_mode: Optional[pulumi.Input[str]] = None,
|
|
2557
|
-
zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
2555
|
+
mount_options: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2556
|
+
reclaim_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
2557
|
+
volume_binding_mode: Optional[pulumi.Input[builtins.str]] = None,
|
|
2558
|
+
zones: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
2558
2559
|
"""
|
|
2559
2560
|
StorageClass describes the inputs to a single Kubernetes StorageClass provisioned by AWS. Any number of storage classes can be added to a cluster at creation time. One of these storage classes may be configured the default storage class for the cluster.
|
|
2560
|
-
:param pulumi.Input[str] type: The EBS volume type.
|
|
2561
|
-
:param pulumi.Input[bool] allow_volume_expansion: AllowVolumeExpansion shows whether the storage class allow volume expand.
|
|
2562
|
-
:param pulumi.Input[bool] default: True if this storage class should be a default storage class for the cluster.
|
|
2561
|
+
:param pulumi.Input[builtins.str] type: The EBS volume type.
|
|
2562
|
+
:param pulumi.Input[builtins.bool] allow_volume_expansion: AllowVolumeExpansion shows whether the storage class allow volume expand.
|
|
2563
|
+
:param pulumi.Input[builtins.bool] default: True if this storage class should be a default storage class for the cluster.
|
|
2563
2564
|
|
|
2564
2565
|
Note: As of Kubernetes v1.11+ on EKS, a default `gp2` storage class will always be created automatically for the cluster by the EKS service. See https://docs.aws.amazon.com/eks/latest/userguide/storage-classes.html
|
|
2565
2566
|
|
|
2566
2567
|
Please note that at most one storage class can be marked as default. If two or more of them are marked as default, a PersistentVolumeClaim without `storageClassName` explicitly specified cannot be created. See: https://kubernetes.io/docs/tasks/administer-cluster/change-default-storage-class/#changing-the-default-storageclass
|
|
2567
|
-
:param pulumi.Input[bool] encrypted: Denotes whether the EBS volume should be encrypted.
|
|
2568
|
-
:param pulumi.Input[int] iops_per_gb: I/O operations per second per GiB for "io1" volumes. The AWS volume plugin multiplies this with the size of a requested volume to compute IOPS of the volume and caps the result at 20,000 IOPS.
|
|
2569
|
-
:param pulumi.Input[str] kms_key_id: The full Amazon Resource Name of the key to use when encrypting the volume. If none is supplied but encrypted is true, a key is generated by AWS.
|
|
2568
|
+
:param pulumi.Input[builtins.bool] encrypted: Denotes whether the EBS volume should be encrypted.
|
|
2569
|
+
:param pulumi.Input[builtins.int] iops_per_gb: I/O operations per second per GiB for "io1" volumes. The AWS volume plugin multiplies this with the size of a requested volume to compute IOPS of the volume and caps the result at 20,000 IOPS.
|
|
2570
|
+
:param pulumi.Input[builtins.str] kms_key_id: The full Amazon Resource Name of the key to use when encrypting the volume. If none is supplied but encrypted is true, a key is generated by AWS.
|
|
2570
2571
|
:param pulumi.Input['pulumi_kubernetes.meta.v1.ObjectMetaArgs'] metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
|
|
2571
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] mount_options: Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.
|
|
2572
|
-
:param pulumi.Input[str] reclaim_policy: Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.
|
|
2573
|
-
:param pulumi.Input[str] volume_binding_mode: VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is alpha-level and is only honored by servers that enable the VolumeScheduling feature.
|
|
2574
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] zones: The AWS zone or zones for the EBS volume. If zones is not specified, volumes are generally round-robin-ed across all active zones where Kubernetes cluster has a node. zone and zones parameters must not be used at the same time.
|
|
2572
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] mount_options: Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.
|
|
2573
|
+
:param pulumi.Input[builtins.str] reclaim_policy: Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.
|
|
2574
|
+
:param pulumi.Input[builtins.str] volume_binding_mode: VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is alpha-level and is only honored by servers that enable the VolumeScheduling feature.
|
|
2575
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] zones: The AWS zone or zones for the EBS volume. If zones is not specified, volumes are generally round-robin-ed across all active zones where Kubernetes cluster has a node. zone and zones parameters must not be used at the same time.
|
|
2575
2576
|
"""
|
|
2576
2577
|
pulumi.set(__self__, "type", type)
|
|
2577
2578
|
if allow_volume_expansion is not None:
|
|
@@ -2597,31 +2598,31 @@ class StorageClassArgs:
|
|
|
2597
2598
|
|
|
2598
2599
|
@property
|
|
2599
2600
|
@pulumi.getter
|
|
2600
|
-
def type(self) -> pulumi.Input[str]:
|
|
2601
|
+
def type(self) -> pulumi.Input[builtins.str]:
|
|
2601
2602
|
"""
|
|
2602
2603
|
The EBS volume type.
|
|
2603
2604
|
"""
|
|
2604
2605
|
return pulumi.get(self, "type")
|
|
2605
2606
|
|
|
2606
2607
|
@type.setter
|
|
2607
|
-
def type(self, value: pulumi.Input[str]):
|
|
2608
|
+
def type(self, value: pulumi.Input[builtins.str]):
|
|
2608
2609
|
pulumi.set(self, "type", value)
|
|
2609
2610
|
|
|
2610
2611
|
@property
|
|
2611
2612
|
@pulumi.getter(name="allowVolumeExpansion")
|
|
2612
|
-
def allow_volume_expansion(self) -> Optional[pulumi.Input[bool]]:
|
|
2613
|
+
def allow_volume_expansion(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
2613
2614
|
"""
|
|
2614
2615
|
AllowVolumeExpansion shows whether the storage class allow volume expand.
|
|
2615
2616
|
"""
|
|
2616
2617
|
return pulumi.get(self, "allow_volume_expansion")
|
|
2617
2618
|
|
|
2618
2619
|
@allow_volume_expansion.setter
|
|
2619
|
-
def allow_volume_expansion(self, value: Optional[pulumi.Input[bool]]):
|
|
2620
|
+
def allow_volume_expansion(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
2620
2621
|
pulumi.set(self, "allow_volume_expansion", value)
|
|
2621
2622
|
|
|
2622
2623
|
@property
|
|
2623
2624
|
@pulumi.getter
|
|
2624
|
-
def default(self) -> Optional[pulumi.Input[bool]]:
|
|
2625
|
+
def default(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
2625
2626
|
"""
|
|
2626
2627
|
True if this storage class should be a default storage class for the cluster.
|
|
2627
2628
|
|
|
@@ -2632,43 +2633,43 @@ class StorageClassArgs:
|
|
|
2632
2633
|
return pulumi.get(self, "default")
|
|
2633
2634
|
|
|
2634
2635
|
@default.setter
|
|
2635
|
-
def default(self, value: Optional[pulumi.Input[bool]]):
|
|
2636
|
+
def default(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
2636
2637
|
pulumi.set(self, "default", value)
|
|
2637
2638
|
|
|
2638
2639
|
@property
|
|
2639
2640
|
@pulumi.getter
|
|
2640
|
-
def encrypted(self) -> Optional[pulumi.Input[bool]]:
|
|
2641
|
+
def encrypted(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
2641
2642
|
"""
|
|
2642
2643
|
Denotes whether the EBS volume should be encrypted.
|
|
2643
2644
|
"""
|
|
2644
2645
|
return pulumi.get(self, "encrypted")
|
|
2645
2646
|
|
|
2646
2647
|
@encrypted.setter
|
|
2647
|
-
def encrypted(self, value: Optional[pulumi.Input[bool]]):
|
|
2648
|
+
def encrypted(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
2648
2649
|
pulumi.set(self, "encrypted", value)
|
|
2649
2650
|
|
|
2650
2651
|
@property
|
|
2651
2652
|
@pulumi.getter(name="iopsPerGb")
|
|
2652
|
-
def iops_per_gb(self) -> Optional[pulumi.Input[int]]:
|
|
2653
|
+
def iops_per_gb(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2653
2654
|
"""
|
|
2654
2655
|
I/O operations per second per GiB for "io1" volumes. The AWS volume plugin multiplies this with the size of a requested volume to compute IOPS of the volume and caps the result at 20,000 IOPS.
|
|
2655
2656
|
"""
|
|
2656
2657
|
return pulumi.get(self, "iops_per_gb")
|
|
2657
2658
|
|
|
2658
2659
|
@iops_per_gb.setter
|
|
2659
|
-
def iops_per_gb(self, value: Optional[pulumi.Input[int]]):
|
|
2660
|
+
def iops_per_gb(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2660
2661
|
pulumi.set(self, "iops_per_gb", value)
|
|
2661
2662
|
|
|
2662
2663
|
@property
|
|
2663
2664
|
@pulumi.getter(name="kmsKeyId")
|
|
2664
|
-
def kms_key_id(self) -> Optional[pulumi.Input[str]]:
|
|
2665
|
+
def kms_key_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2665
2666
|
"""
|
|
2666
2667
|
The full Amazon Resource Name of the key to use when encrypting the volume. If none is supplied but encrypted is true, a key is generated by AWS.
|
|
2667
2668
|
"""
|
|
2668
2669
|
return pulumi.get(self, "kms_key_id")
|
|
2669
2670
|
|
|
2670
2671
|
@kms_key_id.setter
|
|
2671
|
-
def kms_key_id(self, value: Optional[pulumi.Input[str]]):
|
|
2672
|
+
def kms_key_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2672
2673
|
pulumi.set(self, "kms_key_id", value)
|
|
2673
2674
|
|
|
2674
2675
|
@property
|
|
@@ -2685,50 +2686,50 @@ class StorageClassArgs:
|
|
|
2685
2686
|
|
|
2686
2687
|
@property
|
|
2687
2688
|
@pulumi.getter(name="mountOptions")
|
|
2688
|
-
def mount_options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2689
|
+
def mount_options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2689
2690
|
"""
|
|
2690
2691
|
Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.
|
|
2691
2692
|
"""
|
|
2692
2693
|
return pulumi.get(self, "mount_options")
|
|
2693
2694
|
|
|
2694
2695
|
@mount_options.setter
|
|
2695
|
-
def mount_options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2696
|
+
def mount_options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2696
2697
|
pulumi.set(self, "mount_options", value)
|
|
2697
2698
|
|
|
2698
2699
|
@property
|
|
2699
2700
|
@pulumi.getter(name="reclaimPolicy")
|
|
2700
|
-
def reclaim_policy(self) -> Optional[pulumi.Input[str]]:
|
|
2701
|
+
def reclaim_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2701
2702
|
"""
|
|
2702
2703
|
Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.
|
|
2703
2704
|
"""
|
|
2704
2705
|
return pulumi.get(self, "reclaim_policy")
|
|
2705
2706
|
|
|
2706
2707
|
@reclaim_policy.setter
|
|
2707
|
-
def reclaim_policy(self, value: Optional[pulumi.Input[str]]):
|
|
2708
|
+
def reclaim_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2708
2709
|
pulumi.set(self, "reclaim_policy", value)
|
|
2709
2710
|
|
|
2710
2711
|
@property
|
|
2711
2712
|
@pulumi.getter(name="volumeBindingMode")
|
|
2712
|
-
def volume_binding_mode(self) -> Optional[pulumi.Input[str]]:
|
|
2713
|
+
def volume_binding_mode(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2713
2714
|
"""
|
|
2714
2715
|
VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is alpha-level and is only honored by servers that enable the VolumeScheduling feature.
|
|
2715
2716
|
"""
|
|
2716
2717
|
return pulumi.get(self, "volume_binding_mode")
|
|
2717
2718
|
|
|
2718
2719
|
@volume_binding_mode.setter
|
|
2719
|
-
def volume_binding_mode(self, value: Optional[pulumi.Input[str]]):
|
|
2720
|
+
def volume_binding_mode(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2720
2721
|
pulumi.set(self, "volume_binding_mode", value)
|
|
2721
2722
|
|
|
2722
2723
|
@property
|
|
2723
2724
|
@pulumi.getter
|
|
2724
|
-
def zones(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2725
|
+
def zones(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2725
2726
|
"""
|
|
2726
2727
|
The AWS zone or zones for the EBS volume. If zones is not specified, volumes are generally round-robin-ed across all active zones where Kubernetes cluster has a node. zone and zones parameters must not be used at the same time.
|
|
2727
2728
|
"""
|
|
2728
2729
|
return pulumi.get(self, "zones")
|
|
2729
2730
|
|
|
2730
2731
|
@zones.setter
|
|
2731
|
-
def zones(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2732
|
+
def zones(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2732
2733
|
pulumi.set(self, "zones", value)
|
|
2733
2734
|
|
|
2734
2735
|
|
|
@@ -2737,11 +2738,11 @@ if not MYPY:
|
|
|
2737
2738
|
"""
|
|
2738
2739
|
Represents a Kubernetes `taint` to apply to all Nodes in a NodeGroup. See https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/.
|
|
2739
2740
|
"""
|
|
2740
|
-
effect: pulumi.Input[str]
|
|
2741
|
+
effect: pulumi.Input[builtins.str]
|
|
2741
2742
|
"""
|
|
2742
2743
|
The effect of the taint.
|
|
2743
2744
|
"""
|
|
2744
|
-
value: pulumi.Input[str]
|
|
2745
|
+
value: pulumi.Input[builtins.str]
|
|
2745
2746
|
"""
|
|
2746
2747
|
The value of the taint.
|
|
2747
2748
|
"""
|
|
@@ -2751,38 +2752,38 @@ elif False:
|
|
|
2751
2752
|
@pulumi.input_type
|
|
2752
2753
|
class TaintArgs:
|
|
2753
2754
|
def __init__(__self__, *,
|
|
2754
|
-
effect: pulumi.Input[str],
|
|
2755
|
-
value: pulumi.Input[str]):
|
|
2755
|
+
effect: pulumi.Input[builtins.str],
|
|
2756
|
+
value: pulumi.Input[builtins.str]):
|
|
2756
2757
|
"""
|
|
2757
2758
|
Represents a Kubernetes `taint` to apply to all Nodes in a NodeGroup. See https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/.
|
|
2758
|
-
:param pulumi.Input[str] effect: The effect of the taint.
|
|
2759
|
-
:param pulumi.Input[str] value: The value of the taint.
|
|
2759
|
+
:param pulumi.Input[builtins.str] effect: The effect of the taint.
|
|
2760
|
+
:param pulumi.Input[builtins.str] value: The value of the taint.
|
|
2760
2761
|
"""
|
|
2761
2762
|
pulumi.set(__self__, "effect", effect)
|
|
2762
2763
|
pulumi.set(__self__, "value", value)
|
|
2763
2764
|
|
|
2764
2765
|
@property
|
|
2765
2766
|
@pulumi.getter
|
|
2766
|
-
def effect(self) -> pulumi.Input[str]:
|
|
2767
|
+
def effect(self) -> pulumi.Input[builtins.str]:
|
|
2767
2768
|
"""
|
|
2768
2769
|
The effect of the taint.
|
|
2769
2770
|
"""
|
|
2770
2771
|
return pulumi.get(self, "effect")
|
|
2771
2772
|
|
|
2772
2773
|
@effect.setter
|
|
2773
|
-
def effect(self, value: pulumi.Input[str]):
|
|
2774
|
+
def effect(self, value: pulumi.Input[builtins.str]):
|
|
2774
2775
|
pulumi.set(self, "effect", value)
|
|
2775
2776
|
|
|
2776
2777
|
@property
|
|
2777
2778
|
@pulumi.getter
|
|
2778
|
-
def value(self) -> pulumi.Input[str]:
|
|
2779
|
+
def value(self) -> pulumi.Input[builtins.str]:
|
|
2779
2780
|
"""
|
|
2780
2781
|
The value of the taint.
|
|
2781
2782
|
"""
|
|
2782
2783
|
return pulumi.get(self, "value")
|
|
2783
2784
|
|
|
2784
2785
|
@value.setter
|
|
2785
|
-
def value(self, value: pulumi.Input[str]):
|
|
2786
|
+
def value(self, value: pulumi.Input[builtins.str]):
|
|
2786
2787
|
pulumi.set(self, "value", value)
|
|
2787
2788
|
|
|
2788
2789
|
|
|
@@ -2791,15 +2792,15 @@ if not MYPY:
|
|
|
2791
2792
|
"""
|
|
2792
2793
|
Describes a mapping from an AWS IAM user to a Kubernetes user and groups.
|
|
2793
2794
|
"""
|
|
2794
|
-
groups: pulumi.Input[Sequence[pulumi.Input[str]]]
|
|
2795
|
+
groups: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]
|
|
2795
2796
|
"""
|
|
2796
2797
|
A list of groups within Kubernetes to which the user is mapped to.
|
|
2797
2798
|
"""
|
|
2798
|
-
user_arn: pulumi.Input[str]
|
|
2799
|
+
user_arn: pulumi.Input[builtins.str]
|
|
2799
2800
|
"""
|
|
2800
2801
|
The ARN of the IAM user to add.
|
|
2801
2802
|
"""
|
|
2802
|
-
username: pulumi.Input[str]
|
|
2803
|
+
username: pulumi.Input[builtins.str]
|
|
2803
2804
|
"""
|
|
2804
2805
|
The user name within Kubernetes to map to the IAM user. By default, the user name is the ARN of the IAM user.
|
|
2805
2806
|
"""
|
|
@@ -2809,14 +2810,14 @@ elif False:
|
|
|
2809
2810
|
@pulumi.input_type
|
|
2810
2811
|
class UserMappingArgs:
|
|
2811
2812
|
def __init__(__self__, *,
|
|
2812
|
-
groups: pulumi.Input[Sequence[pulumi.Input[str]]],
|
|
2813
|
-
user_arn: pulumi.Input[str],
|
|
2814
|
-
username: pulumi.Input[str]):
|
|
2813
|
+
groups: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
|
|
2814
|
+
user_arn: pulumi.Input[builtins.str],
|
|
2815
|
+
username: pulumi.Input[builtins.str]):
|
|
2815
2816
|
"""
|
|
2816
2817
|
Describes a mapping from an AWS IAM user to a Kubernetes user and groups.
|
|
2817
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] groups: A list of groups within Kubernetes to which the user is mapped to.
|
|
2818
|
-
:param pulumi.Input[str] user_arn: The ARN of the IAM user to add.
|
|
2819
|
-
:param pulumi.Input[str] username: The user name within Kubernetes to map to the IAM user. By default, the user name is the ARN of the IAM user.
|
|
2818
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] groups: A list of groups within Kubernetes to which the user is mapped to.
|
|
2819
|
+
:param pulumi.Input[builtins.str] user_arn: The ARN of the IAM user to add.
|
|
2820
|
+
:param pulumi.Input[builtins.str] username: The user name within Kubernetes to map to the IAM user. By default, the user name is the ARN of the IAM user.
|
|
2820
2821
|
"""
|
|
2821
2822
|
pulumi.set(__self__, "groups", groups)
|
|
2822
2823
|
pulumi.set(__self__, "user_arn", user_arn)
|
|
@@ -2824,38 +2825,38 @@ class UserMappingArgs:
|
|
|
2824
2825
|
|
|
2825
2826
|
@property
|
|
2826
2827
|
@pulumi.getter
|
|
2827
|
-
def groups(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
2828
|
+
def groups(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
|
|
2828
2829
|
"""
|
|
2829
2830
|
A list of groups within Kubernetes to which the user is mapped to.
|
|
2830
2831
|
"""
|
|
2831
2832
|
return pulumi.get(self, "groups")
|
|
2832
2833
|
|
|
2833
2834
|
@groups.setter
|
|
2834
|
-
def groups(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
|
2835
|
+
def groups(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
|
|
2835
2836
|
pulumi.set(self, "groups", value)
|
|
2836
2837
|
|
|
2837
2838
|
@property
|
|
2838
2839
|
@pulumi.getter(name="userArn")
|
|
2839
|
-
def user_arn(self) -> pulumi.Input[str]:
|
|
2840
|
+
def user_arn(self) -> pulumi.Input[builtins.str]:
|
|
2840
2841
|
"""
|
|
2841
2842
|
The ARN of the IAM user to add.
|
|
2842
2843
|
"""
|
|
2843
2844
|
return pulumi.get(self, "user_arn")
|
|
2844
2845
|
|
|
2845
2846
|
@user_arn.setter
|
|
2846
|
-
def user_arn(self, value: pulumi.Input[str]):
|
|
2847
|
+
def user_arn(self, value: pulumi.Input[builtins.str]):
|
|
2847
2848
|
pulumi.set(self, "user_arn", value)
|
|
2848
2849
|
|
|
2849
2850
|
@property
|
|
2850
2851
|
@pulumi.getter
|
|
2851
|
-
def username(self) -> pulumi.Input[str]:
|
|
2852
|
+
def username(self) -> pulumi.Input[builtins.str]:
|
|
2852
2853
|
"""
|
|
2853
2854
|
The user name within Kubernetes to map to the IAM user. By default, the user name is the ARN of the IAM user.
|
|
2854
2855
|
"""
|
|
2855
2856
|
return pulumi.get(self, "username")
|
|
2856
2857
|
|
|
2857
2858
|
@username.setter
|
|
2858
|
-
def username(self, value: pulumi.Input[str]):
|
|
2859
|
+
def username(self, value: pulumi.Input[builtins.str]):
|
|
2859
2860
|
pulumi.set(self, "username", value)
|
|
2860
2861
|
|
|
2861
2862
|
|
|
@@ -2864,19 +2865,19 @@ if not MYPY:
|
|
|
2864
2865
|
"""
|
|
2865
2866
|
Describes the configuration options available for the Amazon VPC CNI plugin for Kubernetes.
|
|
2866
2867
|
"""
|
|
2867
|
-
addon_version: NotRequired[pulumi.Input[str]]
|
|
2868
|
+
addon_version: NotRequired[pulumi.Input[builtins.str]]
|
|
2868
2869
|
"""
|
|
2869
2870
|
The version of the addon to use. If not specified, the latest version of the addon for the cluster's Kubernetes version will be used.
|
|
2870
2871
|
"""
|
|
2871
|
-
cni_configure_rpfilter: NotRequired[pulumi.Input[bool]]
|
|
2872
|
+
cni_configure_rpfilter: NotRequired[pulumi.Input[builtins.bool]]
|
|
2872
2873
|
"""
|
|
2873
2874
|
Specifies whether ipamd should configure rp filter for primary interface. Default is `false`.
|
|
2874
2875
|
"""
|
|
2875
|
-
cni_custom_network_cfg: NotRequired[pulumi.Input[bool]]
|
|
2876
|
+
cni_custom_network_cfg: NotRequired[pulumi.Input[builtins.bool]]
|
|
2876
2877
|
"""
|
|
2877
2878
|
Specifies that your pods may use subnets and security groups that are independent of your worker node's VPC configuration. By default, pods share the same subnet and security groups as the worker node's primary interface. Setting this variable to true causes ipamd to use the security groups and VPC subnet in a worker node's ENIConfig for elastic network interface allocation. You must create an ENIConfig custom resource for each subnet that your pods will reside in, and then annotate or label each worker node to use a specific ENIConfig (multiple worker nodes can be annotated or labelled with the same ENIConfig). Worker nodes can only be annotated with a single ENIConfig at a time, and the subnet in the ENIConfig must belong to the same Availability Zone that the worker node resides in. For more information, see CNI Custom Networking in the Amazon EKS User Guide. Default is `false`
|
|
2878
2879
|
"""
|
|
2879
|
-
cni_external_snat: NotRequired[pulumi.Input[bool]]
|
|
2880
|
+
cni_external_snat: NotRequired[pulumi.Input[builtins.bool]]
|
|
2880
2881
|
"""
|
|
2881
2882
|
Specifies whether an external NAT gateway should be used to provide SNAT of secondary ENI IP addresses. If set to true, the SNAT iptables rule and off-VPC IP rule are not applied, and these rules are removed if they have already been applied. Disable SNAT if you need to allow inbound communication to your pods from external VPNs, direct connections, and external VPCs, and your pods do not need to access the Internet directly via an Internet Gateway. However, your nodes must be running in a private subnet and connected to the internet through an AWS NAT Gateway or another external NAT device. Default is `false`
|
|
2882
2883
|
"""
|
|
@@ -2884,63 +2885,63 @@ if not MYPY:
|
|
|
2884
2885
|
"""
|
|
2885
2886
|
Custom configuration values for the vpc-cni addon. This object must match the schema derived from [describe-addon-configuration](https://docs.aws.amazon.com/cli/latest/reference/eks/describe-addon-configuration.html).
|
|
2886
2887
|
"""
|
|
2887
|
-
custom_network_config: NotRequired[pulumi.Input[bool]]
|
|
2888
|
+
custom_network_config: NotRequired[pulumi.Input[builtins.bool]]
|
|
2888
2889
|
"""
|
|
2889
2890
|
Specifies that your pods may use subnets and security groups (within the same VPC as your control plane resources) that are independent of your cluster's `resourcesVpcConfig`.
|
|
2890
2891
|
|
|
2891
2892
|
Defaults to false.
|
|
2892
2893
|
"""
|
|
2893
|
-
disable_tcp_early_demux: NotRequired[pulumi.Input[bool]]
|
|
2894
|
+
disable_tcp_early_demux: NotRequired[pulumi.Input[builtins.bool]]
|
|
2894
2895
|
"""
|
|
2895
2896
|
Allows the kubelet's liveness and readiness probes to connect via TCP when pod ENI is enabled. This will slightly increase local TCP connection latency.
|
|
2896
2897
|
"""
|
|
2897
|
-
enable_network_policy: NotRequired[pulumi.Input[bool]]
|
|
2898
|
+
enable_network_policy: NotRequired[pulumi.Input[builtins.bool]]
|
|
2898
2899
|
"""
|
|
2899
2900
|
Enables using Kubernetes network policies. In Kubernetes, by default, all pod-to-pod communication is allowed. Communication can be restricted with Kubernetes NetworkPolicy objects.
|
|
2900
2901
|
|
|
2901
2902
|
See for more information: [Kubernetes Network Policies](https://kubernetes.io/docs/concepts/services-networking/network-policies/).
|
|
2902
2903
|
"""
|
|
2903
|
-
enable_pod_eni: NotRequired[pulumi.Input[bool]]
|
|
2904
|
+
enable_pod_eni: NotRequired[pulumi.Input[builtins.bool]]
|
|
2904
2905
|
"""
|
|
2905
2906
|
Specifies whether to allow IPAMD to add the `vpc.amazonaws.com/has-trunk-attached` label to the node if the instance has capacity to attach an additional ENI. Default is `false`. If using liveness and readiness probes, you will also need to disable TCP early demux.
|
|
2906
2907
|
"""
|
|
2907
|
-
enable_prefix_delegation: NotRequired[pulumi.Input[bool]]
|
|
2908
|
+
enable_prefix_delegation: NotRequired[pulumi.Input[builtins.bool]]
|
|
2908
2909
|
"""
|
|
2909
2910
|
IPAMD will start allocating (/28) prefixes to the ENIs with ENABLE_PREFIX_DELEGATION set to true.
|
|
2910
2911
|
"""
|
|
2911
|
-
eni_config_label_def: NotRequired[pulumi.Input[str]]
|
|
2912
|
+
eni_config_label_def: NotRequired[pulumi.Input[builtins.str]]
|
|
2912
2913
|
"""
|
|
2913
2914
|
Specifies the ENI_CONFIG_LABEL_DEF environment variable value for worker nodes. This is used to tell Kubernetes to automatically apply the ENIConfig for each Availability Zone
|
|
2914
2915
|
Ref: https://docs.aws.amazon.com/eks/latest/userguide/cni-custom-network.html (step 5(c))
|
|
2915
2916
|
|
|
2916
2917
|
Defaults to the official AWS CNI image in ECR.
|
|
2917
2918
|
"""
|
|
2918
|
-
eni_mtu: NotRequired[pulumi.Input[int]]
|
|
2919
|
+
eni_mtu: NotRequired[pulumi.Input[builtins.int]]
|
|
2919
2920
|
"""
|
|
2920
2921
|
Used to configure the MTU size for attached ENIs. The valid range is from 576 to 9001.
|
|
2921
2922
|
|
|
2922
2923
|
Defaults to 9001.
|
|
2923
2924
|
"""
|
|
2924
|
-
external_snat: NotRequired[pulumi.Input[bool]]
|
|
2925
|
+
external_snat: NotRequired[pulumi.Input[builtins.bool]]
|
|
2925
2926
|
"""
|
|
2926
2927
|
Specifies whether an external NAT gateway should be used to provide SNAT of secondary ENI IP addresses. If set to true, the SNAT iptables rule and off-VPC IP rule are not applied, and these rules are removed if they have already been applied.
|
|
2927
2928
|
|
|
2928
2929
|
Defaults to false.
|
|
2929
2930
|
"""
|
|
2930
|
-
log_file: NotRequired[pulumi.Input[str]]
|
|
2931
|
+
log_file: NotRequired[pulumi.Input[builtins.str]]
|
|
2931
2932
|
"""
|
|
2932
2933
|
Specifies the file path used for logs.
|
|
2933
2934
|
|
|
2934
2935
|
Defaults to "stdout" to emit Pod logs for `kubectl logs`.
|
|
2935
2936
|
"""
|
|
2936
|
-
log_level: NotRequired[pulumi.Input[str]]
|
|
2937
|
+
log_level: NotRequired[pulumi.Input[builtins.str]]
|
|
2937
2938
|
"""
|
|
2938
2939
|
Specifies the log level used for logs.
|
|
2939
2940
|
|
|
2940
2941
|
Defaults to "DEBUG"
|
|
2941
2942
|
Valid values: "DEBUG", "INFO", "WARN", "ERROR", or "FATAL".
|
|
2942
2943
|
"""
|
|
2943
|
-
node_port_support: NotRequired[pulumi.Input[bool]]
|
|
2944
|
+
node_port_support: NotRequired[pulumi.Input[builtins.bool]]
|
|
2944
2945
|
"""
|
|
2945
2946
|
Specifies whether NodePort services are enabled on a worker node's primary network interface. This requires additional iptables rules and that the kernel's reverse path filter on the primary interface is set to loose.
|
|
2946
2947
|
|
|
@@ -2954,11 +2955,11 @@ if not MYPY:
|
|
|
2954
2955
|
"""
|
|
2955
2956
|
How to resolve field value conflicts for an Amazon EKS add-on if you've changed a value from the Amazon EKS default value. Valid values are `NONE`, `OVERWRITE`, and `PRESERVE`. For more details see the [UpdateAddon](https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateAddon.html) API Docs.
|
|
2956
2957
|
"""
|
|
2957
|
-
security_context_privileged: NotRequired[pulumi.Input[bool]]
|
|
2958
|
+
security_context_privileged: NotRequired[pulumi.Input[builtins.bool]]
|
|
2958
2959
|
"""
|
|
2959
2960
|
Pass privilege to containers securityContext. This is required when SELinux is enabled. This value will not be passed to the CNI config by default
|
|
2960
2961
|
"""
|
|
2961
|
-
service_account_role_arn: NotRequired[pulumi.Input[str]]
|
|
2962
|
+
service_account_role_arn: NotRequired[pulumi.Input[builtins.str]]
|
|
2962
2963
|
"""
|
|
2963
2964
|
The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account. The role must be assigned the IAM permissions required by the add-on. If you don't specify an existing IAM role, then the add-on uses the permissions assigned to the node IAM role.
|
|
2964
2965
|
|
|
@@ -2966,7 +2967,7 @@ if not MYPY:
|
|
|
2966
2967
|
|
|
2967
2968
|
Note: To specify an existing IAM role, you must have an IAM OpenID Connect (OIDC) provider created for your cluster. For more information, see [Enabling IAM roles for service accounts on your cluster](https://docs.aws.amazon.com/eks/latest/userguide/enable-iam-roles-for-service-accounts.html) in the Amazon EKS User Guide.
|
|
2968
2969
|
"""
|
|
2969
|
-
veth_prefix: NotRequired[pulumi.Input[str]]
|
|
2970
|
+
veth_prefix: NotRequired[pulumi.Input[builtins.str]]
|
|
2970
2971
|
"""
|
|
2971
2972
|
Specifies the veth prefix used to generate the host-side veth device name for the CNI.
|
|
2972
2973
|
|
|
@@ -2974,17 +2975,17 @@ if not MYPY:
|
|
|
2974
2975
|
|
|
2975
2976
|
Defaults to "eni".
|
|
2976
2977
|
"""
|
|
2977
|
-
warm_eni_target: NotRequired[pulumi.Input[int]]
|
|
2978
|
+
warm_eni_target: NotRequired[pulumi.Input[builtins.int]]
|
|
2978
2979
|
"""
|
|
2979
2980
|
Specifies the number of free elastic network interfaces (and all of their available IP addresses) that the ipamD daemon should attempt to keep available for pod assignment on the node.
|
|
2980
2981
|
|
|
2981
2982
|
Defaults to 1.
|
|
2982
2983
|
"""
|
|
2983
|
-
warm_ip_target: NotRequired[pulumi.Input[int]]
|
|
2984
|
+
warm_ip_target: NotRequired[pulumi.Input[builtins.int]]
|
|
2984
2985
|
"""
|
|
2985
2986
|
Specifies the number of free IP addresses that the ipamD daemon should attempt to keep available for pod assignment on the node.
|
|
2986
2987
|
"""
|
|
2987
|
-
warm_prefix_target: NotRequired[pulumi.Input[int]]
|
|
2988
|
+
warm_prefix_target: NotRequired[pulumi.Input[builtins.int]]
|
|
2988
2989
|
"""
|
|
2989
2990
|
WARM_PREFIX_TARGET will allocate one full (/28) prefix even if a single IP is consumed with the existing prefix. Ref: https://github.com/aws/amazon-vpc-cni-k8s/blob/master/docs/prefix-and-ip-target.md
|
|
2990
2991
|
"""
|
|
@@ -2994,84 +2995,84 @@ elif False:
|
|
|
2994
2995
|
@pulumi.input_type
|
|
2995
2996
|
class VpcCniOptionsArgs:
|
|
2996
2997
|
def __init__(__self__, *,
|
|
2997
|
-
addon_version: Optional[pulumi.Input[str]] = None,
|
|
2998
|
-
cni_configure_rpfilter: Optional[pulumi.Input[bool]] = None,
|
|
2999
|
-
cni_custom_network_cfg: Optional[pulumi.Input[bool]] = None,
|
|
3000
|
-
cni_external_snat: Optional[pulumi.Input[bool]] = None,
|
|
2998
|
+
addon_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
2999
|
+
cni_configure_rpfilter: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3000
|
+
cni_custom_network_cfg: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3001
|
+
cni_external_snat: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3001
3002
|
configuration_values: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
3002
|
-
custom_network_config: Optional[pulumi.Input[bool]] = None,
|
|
3003
|
-
disable_tcp_early_demux: Optional[pulumi.Input[bool]] = None,
|
|
3004
|
-
enable_network_policy: Optional[pulumi.Input[bool]] = None,
|
|
3005
|
-
enable_pod_eni: Optional[pulumi.Input[bool]] = None,
|
|
3006
|
-
enable_prefix_delegation: Optional[pulumi.Input[bool]] = None,
|
|
3007
|
-
eni_config_label_def: Optional[pulumi.Input[str]] = None,
|
|
3008
|
-
eni_mtu: Optional[pulumi.Input[int]] = None,
|
|
3009
|
-
external_snat: Optional[pulumi.Input[bool]] = None,
|
|
3010
|
-
log_file: Optional[pulumi.Input[str]] = None,
|
|
3011
|
-
log_level: Optional[pulumi.Input[str]] = None,
|
|
3012
|
-
node_port_support: Optional[pulumi.Input[bool]] = None,
|
|
3003
|
+
custom_network_config: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3004
|
+
disable_tcp_early_demux: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3005
|
+
enable_network_policy: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3006
|
+
enable_pod_eni: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3007
|
+
enable_prefix_delegation: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3008
|
+
eni_config_label_def: Optional[pulumi.Input[builtins.str]] = None,
|
|
3009
|
+
eni_mtu: Optional[pulumi.Input[builtins.int]] = None,
|
|
3010
|
+
external_snat: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3011
|
+
log_file: Optional[pulumi.Input[builtins.str]] = None,
|
|
3012
|
+
log_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
3013
|
+
node_port_support: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3013
3014
|
resolve_conflicts_on_create: Optional['ResolveConflictsOnCreate'] = None,
|
|
3014
3015
|
resolve_conflicts_on_update: Optional['ResolveConflictsOnUpdate'] = None,
|
|
3015
|
-
security_context_privileged: Optional[pulumi.Input[bool]] = None,
|
|
3016
|
-
service_account_role_arn: Optional[pulumi.Input[str]] = None,
|
|
3017
|
-
veth_prefix: Optional[pulumi.Input[str]] = None,
|
|
3018
|
-
warm_eni_target: Optional[pulumi.Input[int]] = None,
|
|
3019
|
-
warm_ip_target: Optional[pulumi.Input[int]] = None,
|
|
3020
|
-
warm_prefix_target: Optional[pulumi.Input[int]] = None):
|
|
3016
|
+
security_context_privileged: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3017
|
+
service_account_role_arn: Optional[pulumi.Input[builtins.str]] = None,
|
|
3018
|
+
veth_prefix: Optional[pulumi.Input[builtins.str]] = None,
|
|
3019
|
+
warm_eni_target: Optional[pulumi.Input[builtins.int]] = None,
|
|
3020
|
+
warm_ip_target: Optional[pulumi.Input[builtins.int]] = None,
|
|
3021
|
+
warm_prefix_target: Optional[pulumi.Input[builtins.int]] = None):
|
|
3021
3022
|
"""
|
|
3022
3023
|
Describes the configuration options available for the Amazon VPC CNI plugin for Kubernetes.
|
|
3023
|
-
:param pulumi.Input[str] addon_version: The version of the addon to use. If not specified, the latest version of the addon for the cluster's Kubernetes version will be used.
|
|
3024
|
-
:param pulumi.Input[bool] cni_configure_rpfilter: Specifies whether ipamd should configure rp filter for primary interface. Default is `false`.
|
|
3025
|
-
:param pulumi.Input[bool] cni_custom_network_cfg: Specifies that your pods may use subnets and security groups that are independent of your worker node's VPC configuration. By default, pods share the same subnet and security groups as the worker node's primary interface. Setting this variable to true causes ipamd to use the security groups and VPC subnet in a worker node's ENIConfig for elastic network interface allocation. You must create an ENIConfig custom resource for each subnet that your pods will reside in, and then annotate or label each worker node to use a specific ENIConfig (multiple worker nodes can be annotated or labelled with the same ENIConfig). Worker nodes can only be annotated with a single ENIConfig at a time, and the subnet in the ENIConfig must belong to the same Availability Zone that the worker node resides in. For more information, see CNI Custom Networking in the Amazon EKS User Guide. Default is `false`
|
|
3026
|
-
:param pulumi.Input[bool] cni_external_snat: Specifies whether an external NAT gateway should be used to provide SNAT of secondary ENI IP addresses. If set to true, the SNAT iptables rule and off-VPC IP rule are not applied, and these rules are removed if they have already been applied. Disable SNAT if you need to allow inbound communication to your pods from external VPNs, direct connections, and external VPCs, and your pods do not need to access the Internet directly via an Internet Gateway. However, your nodes must be running in a private subnet and connected to the internet through an AWS NAT Gateway or another external NAT device. Default is `false`
|
|
3024
|
+
:param pulumi.Input[builtins.str] addon_version: The version of the addon to use. If not specified, the latest version of the addon for the cluster's Kubernetes version will be used.
|
|
3025
|
+
:param pulumi.Input[builtins.bool] cni_configure_rpfilter: Specifies whether ipamd should configure rp filter for primary interface. Default is `false`.
|
|
3026
|
+
:param pulumi.Input[builtins.bool] cni_custom_network_cfg: Specifies that your pods may use subnets and security groups that are independent of your worker node's VPC configuration. By default, pods share the same subnet and security groups as the worker node's primary interface. Setting this variable to true causes ipamd to use the security groups and VPC subnet in a worker node's ENIConfig for elastic network interface allocation. You must create an ENIConfig custom resource for each subnet that your pods will reside in, and then annotate or label each worker node to use a specific ENIConfig (multiple worker nodes can be annotated or labelled with the same ENIConfig). Worker nodes can only be annotated with a single ENIConfig at a time, and the subnet in the ENIConfig must belong to the same Availability Zone that the worker node resides in. For more information, see CNI Custom Networking in the Amazon EKS User Guide. Default is `false`
|
|
3027
|
+
:param pulumi.Input[builtins.bool] cni_external_snat: Specifies whether an external NAT gateway should be used to provide SNAT of secondary ENI IP addresses. If set to true, the SNAT iptables rule and off-VPC IP rule are not applied, and these rules are removed if they have already been applied. Disable SNAT if you need to allow inbound communication to your pods from external VPNs, direct connections, and external VPCs, and your pods do not need to access the Internet directly via an Internet Gateway. However, your nodes must be running in a private subnet and connected to the internet through an AWS NAT Gateway or another external NAT device. Default is `false`
|
|
3027
3028
|
:param pulumi.Input[Mapping[str, Any]] configuration_values: Custom configuration values for the vpc-cni addon. This object must match the schema derived from [describe-addon-configuration](https://docs.aws.amazon.com/cli/latest/reference/eks/describe-addon-configuration.html).
|
|
3028
|
-
:param pulumi.Input[bool] custom_network_config: Specifies that your pods may use subnets and security groups (within the same VPC as your control plane resources) that are independent of your cluster's `resourcesVpcConfig`.
|
|
3029
|
+
:param pulumi.Input[builtins.bool] custom_network_config: Specifies that your pods may use subnets and security groups (within the same VPC as your control plane resources) that are independent of your cluster's `resourcesVpcConfig`.
|
|
3029
3030
|
|
|
3030
3031
|
Defaults to false.
|
|
3031
|
-
:param pulumi.Input[bool] disable_tcp_early_demux: Allows the kubelet's liveness and readiness probes to connect via TCP when pod ENI is enabled. This will slightly increase local TCP connection latency.
|
|
3032
|
-
:param pulumi.Input[bool] enable_network_policy: Enables using Kubernetes network policies. In Kubernetes, by default, all pod-to-pod communication is allowed. Communication can be restricted with Kubernetes NetworkPolicy objects.
|
|
3032
|
+
:param pulumi.Input[builtins.bool] disable_tcp_early_demux: Allows the kubelet's liveness and readiness probes to connect via TCP when pod ENI is enabled. This will slightly increase local TCP connection latency.
|
|
3033
|
+
:param pulumi.Input[builtins.bool] enable_network_policy: Enables using Kubernetes network policies. In Kubernetes, by default, all pod-to-pod communication is allowed. Communication can be restricted with Kubernetes NetworkPolicy objects.
|
|
3033
3034
|
|
|
3034
3035
|
See for more information: [Kubernetes Network Policies](https://kubernetes.io/docs/concepts/services-networking/network-policies/).
|
|
3035
|
-
:param pulumi.Input[bool] enable_pod_eni: Specifies whether to allow IPAMD to add the `vpc.amazonaws.com/has-trunk-attached` label to the node if the instance has capacity to attach an additional ENI. Default is `false`. If using liveness and readiness probes, you will also need to disable TCP early demux.
|
|
3036
|
-
:param pulumi.Input[bool] enable_prefix_delegation: IPAMD will start allocating (/28) prefixes to the ENIs with ENABLE_PREFIX_DELEGATION set to true.
|
|
3037
|
-
:param pulumi.Input[str] eni_config_label_def: Specifies the ENI_CONFIG_LABEL_DEF environment variable value for worker nodes. This is used to tell Kubernetes to automatically apply the ENIConfig for each Availability Zone
|
|
3036
|
+
:param pulumi.Input[builtins.bool] enable_pod_eni: Specifies whether to allow IPAMD to add the `vpc.amazonaws.com/has-trunk-attached` label to the node if the instance has capacity to attach an additional ENI. Default is `false`. If using liveness and readiness probes, you will also need to disable TCP early demux.
|
|
3037
|
+
:param pulumi.Input[builtins.bool] enable_prefix_delegation: IPAMD will start allocating (/28) prefixes to the ENIs with ENABLE_PREFIX_DELEGATION set to true.
|
|
3038
|
+
:param pulumi.Input[builtins.str] eni_config_label_def: Specifies the ENI_CONFIG_LABEL_DEF environment variable value for worker nodes. This is used to tell Kubernetes to automatically apply the ENIConfig for each Availability Zone
|
|
3038
3039
|
Ref: https://docs.aws.amazon.com/eks/latest/userguide/cni-custom-network.html (step 5(c))
|
|
3039
3040
|
|
|
3040
3041
|
Defaults to the official AWS CNI image in ECR.
|
|
3041
|
-
:param pulumi.Input[int] eni_mtu: Used to configure the MTU size for attached ENIs. The valid range is from 576 to 9001.
|
|
3042
|
+
:param pulumi.Input[builtins.int] eni_mtu: Used to configure the MTU size for attached ENIs. The valid range is from 576 to 9001.
|
|
3042
3043
|
|
|
3043
3044
|
Defaults to 9001.
|
|
3044
|
-
:param pulumi.Input[bool] external_snat: Specifies whether an external NAT gateway should be used to provide SNAT of secondary ENI IP addresses. If set to true, the SNAT iptables rule and off-VPC IP rule are not applied, and these rules are removed if they have already been applied.
|
|
3045
|
+
:param pulumi.Input[builtins.bool] external_snat: Specifies whether an external NAT gateway should be used to provide SNAT of secondary ENI IP addresses. If set to true, the SNAT iptables rule and off-VPC IP rule are not applied, and these rules are removed if they have already been applied.
|
|
3045
3046
|
|
|
3046
3047
|
Defaults to false.
|
|
3047
|
-
:param pulumi.Input[str] log_file: Specifies the file path used for logs.
|
|
3048
|
+
:param pulumi.Input[builtins.str] log_file: Specifies the file path used for logs.
|
|
3048
3049
|
|
|
3049
3050
|
Defaults to "stdout" to emit Pod logs for `kubectl logs`.
|
|
3050
|
-
:param pulumi.Input[str] log_level: Specifies the log level used for logs.
|
|
3051
|
+
:param pulumi.Input[builtins.str] log_level: Specifies the log level used for logs.
|
|
3051
3052
|
|
|
3052
3053
|
Defaults to "DEBUG"
|
|
3053
3054
|
Valid values: "DEBUG", "INFO", "WARN", "ERROR", or "FATAL".
|
|
3054
|
-
:param pulumi.Input[bool] node_port_support: Specifies whether NodePort services are enabled on a worker node's primary network interface. This requires additional iptables rules and that the kernel's reverse path filter on the primary interface is set to loose.
|
|
3055
|
+
:param pulumi.Input[builtins.bool] node_port_support: Specifies whether NodePort services are enabled on a worker node's primary network interface. This requires additional iptables rules and that the kernel's reverse path filter on the primary interface is set to loose.
|
|
3055
3056
|
|
|
3056
3057
|
Defaults to true.
|
|
3057
3058
|
:param 'ResolveConflictsOnCreate' resolve_conflicts_on_create: How to resolve field value conflicts when migrating a self-managed add-on to an Amazon EKS add-on. Valid values are `NONE` and `OVERWRITE`. For more details see the [CreateAddon](https://docs.aws.amazon.com/eks/latest/APIReference/API_CreateAddon.html) API Docs.
|
|
3058
3059
|
:param 'ResolveConflictsOnUpdate' resolve_conflicts_on_update: How to resolve field value conflicts for an Amazon EKS add-on if you've changed a value from the Amazon EKS default value. Valid values are `NONE`, `OVERWRITE`, and `PRESERVE`. For more details see the [UpdateAddon](https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateAddon.html) API Docs.
|
|
3059
|
-
:param pulumi.Input[bool] security_context_privileged: Pass privilege to containers securityContext. This is required when SELinux is enabled. This value will not be passed to the CNI config by default
|
|
3060
|
-
:param pulumi.Input[str] service_account_role_arn: The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account. The role must be assigned the IAM permissions required by the add-on. If you don't specify an existing IAM role, then the add-on uses the permissions assigned to the node IAM role.
|
|
3060
|
+
:param pulumi.Input[builtins.bool] security_context_privileged: Pass privilege to containers securityContext. This is required when SELinux is enabled. This value will not be passed to the CNI config by default
|
|
3061
|
+
:param pulumi.Input[builtins.str] service_account_role_arn: The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account. The role must be assigned the IAM permissions required by the add-on. If you don't specify an existing IAM role, then the add-on uses the permissions assigned to the node IAM role.
|
|
3061
3062
|
|
|
3062
3063
|
For more information, see [Amazon EKS node IAM role](https://docs.aws.amazon.com/eks/latest/userguide/create-node-role.html) in the Amazon EKS User Guide.
|
|
3063
3064
|
|
|
3064
3065
|
Note: To specify an existing IAM role, you must have an IAM OpenID Connect (OIDC) provider created for your cluster. For more information, see [Enabling IAM roles for service accounts on your cluster](https://docs.aws.amazon.com/eks/latest/userguide/enable-iam-roles-for-service-accounts.html) in the Amazon EKS User Guide.
|
|
3065
|
-
:param pulumi.Input[str] veth_prefix: Specifies the veth prefix used to generate the host-side veth device name for the CNI.
|
|
3066
|
+
:param pulumi.Input[builtins.str] veth_prefix: Specifies the veth prefix used to generate the host-side veth device name for the CNI.
|
|
3066
3067
|
|
|
3067
3068
|
The prefix can be at most 4 characters long.
|
|
3068
3069
|
|
|
3069
3070
|
Defaults to "eni".
|
|
3070
|
-
:param pulumi.Input[int] warm_eni_target: Specifies the number of free elastic network interfaces (and all of their available IP addresses) that the ipamD daemon should attempt to keep available for pod assignment on the node.
|
|
3071
|
+
:param pulumi.Input[builtins.int] warm_eni_target: Specifies the number of free elastic network interfaces (and all of their available IP addresses) that the ipamD daemon should attempt to keep available for pod assignment on the node.
|
|
3071
3072
|
|
|
3072
3073
|
Defaults to 1.
|
|
3073
|
-
:param pulumi.Input[int] warm_ip_target: Specifies the number of free IP addresses that the ipamD daemon should attempt to keep available for pod assignment on the node.
|
|
3074
|
-
:param pulumi.Input[int] warm_prefix_target: WARM_PREFIX_TARGET will allocate one full (/28) prefix even if a single IP is consumed with the existing prefix. Ref: https://github.com/aws/amazon-vpc-cni-k8s/blob/master/docs/prefix-and-ip-target.md
|
|
3074
|
+
:param pulumi.Input[builtins.int] warm_ip_target: Specifies the number of free IP addresses that the ipamD daemon should attempt to keep available for pod assignment on the node.
|
|
3075
|
+
:param pulumi.Input[builtins.int] warm_prefix_target: WARM_PREFIX_TARGET will allocate one full (/28) prefix even if a single IP is consumed with the existing prefix. Ref: https://github.com/aws/amazon-vpc-cni-k8s/blob/master/docs/prefix-and-ip-target.md
|
|
3075
3076
|
"""
|
|
3076
3077
|
if addon_version is not None:
|
|
3077
3078
|
pulumi.set(__self__, "addon_version", addon_version)
|
|
@@ -3128,50 +3129,50 @@ class VpcCniOptionsArgs:
|
|
|
3128
3129
|
|
|
3129
3130
|
@property
|
|
3130
3131
|
@pulumi.getter(name="addonVersion")
|
|
3131
|
-
def addon_version(self) -> Optional[pulumi.Input[str]]:
|
|
3132
|
+
def addon_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3132
3133
|
"""
|
|
3133
3134
|
The version of the addon to use. If not specified, the latest version of the addon for the cluster's Kubernetes version will be used.
|
|
3134
3135
|
"""
|
|
3135
3136
|
return pulumi.get(self, "addon_version")
|
|
3136
3137
|
|
|
3137
3138
|
@addon_version.setter
|
|
3138
|
-
def addon_version(self, value: Optional[pulumi.Input[str]]):
|
|
3139
|
+
def addon_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3139
3140
|
pulumi.set(self, "addon_version", value)
|
|
3140
3141
|
|
|
3141
3142
|
@property
|
|
3142
3143
|
@pulumi.getter(name="cniConfigureRpfilter")
|
|
3143
|
-
def cni_configure_rpfilter(self) -> Optional[pulumi.Input[bool]]:
|
|
3144
|
+
def cni_configure_rpfilter(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
3144
3145
|
"""
|
|
3145
3146
|
Specifies whether ipamd should configure rp filter for primary interface. Default is `false`.
|
|
3146
3147
|
"""
|
|
3147
3148
|
return pulumi.get(self, "cni_configure_rpfilter")
|
|
3148
3149
|
|
|
3149
3150
|
@cni_configure_rpfilter.setter
|
|
3150
|
-
def cni_configure_rpfilter(self, value: Optional[pulumi.Input[bool]]):
|
|
3151
|
+
def cni_configure_rpfilter(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
3151
3152
|
pulumi.set(self, "cni_configure_rpfilter", value)
|
|
3152
3153
|
|
|
3153
3154
|
@property
|
|
3154
3155
|
@pulumi.getter(name="cniCustomNetworkCfg")
|
|
3155
|
-
def cni_custom_network_cfg(self) -> Optional[pulumi.Input[bool]]:
|
|
3156
|
+
def cni_custom_network_cfg(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
3156
3157
|
"""
|
|
3157
3158
|
Specifies that your pods may use subnets and security groups that are independent of your worker node's VPC configuration. By default, pods share the same subnet and security groups as the worker node's primary interface. Setting this variable to true causes ipamd to use the security groups and VPC subnet in a worker node's ENIConfig for elastic network interface allocation. You must create an ENIConfig custom resource for each subnet that your pods will reside in, and then annotate or label each worker node to use a specific ENIConfig (multiple worker nodes can be annotated or labelled with the same ENIConfig). Worker nodes can only be annotated with a single ENIConfig at a time, and the subnet in the ENIConfig must belong to the same Availability Zone that the worker node resides in. For more information, see CNI Custom Networking in the Amazon EKS User Guide. Default is `false`
|
|
3158
3159
|
"""
|
|
3159
3160
|
return pulumi.get(self, "cni_custom_network_cfg")
|
|
3160
3161
|
|
|
3161
3162
|
@cni_custom_network_cfg.setter
|
|
3162
|
-
def cni_custom_network_cfg(self, value: Optional[pulumi.Input[bool]]):
|
|
3163
|
+
def cni_custom_network_cfg(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
3163
3164
|
pulumi.set(self, "cni_custom_network_cfg", value)
|
|
3164
3165
|
|
|
3165
3166
|
@property
|
|
3166
3167
|
@pulumi.getter(name="cniExternalSnat")
|
|
3167
|
-
def cni_external_snat(self) -> Optional[pulumi.Input[bool]]:
|
|
3168
|
+
def cni_external_snat(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
3168
3169
|
"""
|
|
3169
3170
|
Specifies whether an external NAT gateway should be used to provide SNAT of secondary ENI IP addresses. If set to true, the SNAT iptables rule and off-VPC IP rule are not applied, and these rules are removed if they have already been applied. Disable SNAT if you need to allow inbound communication to your pods from external VPNs, direct connections, and external VPCs, and your pods do not need to access the Internet directly via an Internet Gateway. However, your nodes must be running in a private subnet and connected to the internet through an AWS NAT Gateway or another external NAT device. Default is `false`
|
|
3170
3171
|
"""
|
|
3171
3172
|
return pulumi.get(self, "cni_external_snat")
|
|
3172
3173
|
|
|
3173
3174
|
@cni_external_snat.setter
|
|
3174
|
-
def cni_external_snat(self, value: Optional[pulumi.Input[bool]]):
|
|
3175
|
+
def cni_external_snat(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
3175
3176
|
pulumi.set(self, "cni_external_snat", value)
|
|
3176
3177
|
|
|
3177
3178
|
@property
|
|
@@ -3188,7 +3189,7 @@ class VpcCniOptionsArgs:
|
|
|
3188
3189
|
|
|
3189
3190
|
@property
|
|
3190
3191
|
@pulumi.getter(name="customNetworkConfig")
|
|
3191
|
-
def custom_network_config(self) -> Optional[pulumi.Input[bool]]:
|
|
3192
|
+
def custom_network_config(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
3192
3193
|
"""
|
|
3193
3194
|
Specifies that your pods may use subnets and security groups (within the same VPC as your control plane resources) that are independent of your cluster's `resourcesVpcConfig`.
|
|
3194
3195
|
|
|
@@ -3197,24 +3198,24 @@ class VpcCniOptionsArgs:
|
|
|
3197
3198
|
return pulumi.get(self, "custom_network_config")
|
|
3198
3199
|
|
|
3199
3200
|
@custom_network_config.setter
|
|
3200
|
-
def custom_network_config(self, value: Optional[pulumi.Input[bool]]):
|
|
3201
|
+
def custom_network_config(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
3201
3202
|
pulumi.set(self, "custom_network_config", value)
|
|
3202
3203
|
|
|
3203
3204
|
@property
|
|
3204
3205
|
@pulumi.getter(name="disableTcpEarlyDemux")
|
|
3205
|
-
def disable_tcp_early_demux(self) -> Optional[pulumi.Input[bool]]:
|
|
3206
|
+
def disable_tcp_early_demux(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
3206
3207
|
"""
|
|
3207
3208
|
Allows the kubelet's liveness and readiness probes to connect via TCP when pod ENI is enabled. This will slightly increase local TCP connection latency.
|
|
3208
3209
|
"""
|
|
3209
3210
|
return pulumi.get(self, "disable_tcp_early_demux")
|
|
3210
3211
|
|
|
3211
3212
|
@disable_tcp_early_demux.setter
|
|
3212
|
-
def disable_tcp_early_demux(self, value: Optional[pulumi.Input[bool]]):
|
|
3213
|
+
def disable_tcp_early_demux(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
3213
3214
|
pulumi.set(self, "disable_tcp_early_demux", value)
|
|
3214
3215
|
|
|
3215
3216
|
@property
|
|
3216
3217
|
@pulumi.getter(name="enableNetworkPolicy")
|
|
3217
|
-
def enable_network_policy(self) -> Optional[pulumi.Input[bool]]:
|
|
3218
|
+
def enable_network_policy(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
3218
3219
|
"""
|
|
3219
3220
|
Enables using Kubernetes network policies. In Kubernetes, by default, all pod-to-pod communication is allowed. Communication can be restricted with Kubernetes NetworkPolicy objects.
|
|
3220
3221
|
|
|
@@ -3223,36 +3224,36 @@ class VpcCniOptionsArgs:
|
|
|
3223
3224
|
return pulumi.get(self, "enable_network_policy")
|
|
3224
3225
|
|
|
3225
3226
|
@enable_network_policy.setter
|
|
3226
|
-
def enable_network_policy(self, value: Optional[pulumi.Input[bool]]):
|
|
3227
|
+
def enable_network_policy(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
3227
3228
|
pulumi.set(self, "enable_network_policy", value)
|
|
3228
3229
|
|
|
3229
3230
|
@property
|
|
3230
3231
|
@pulumi.getter(name="enablePodEni")
|
|
3231
|
-
def enable_pod_eni(self) -> Optional[pulumi.Input[bool]]:
|
|
3232
|
+
def enable_pod_eni(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
3232
3233
|
"""
|
|
3233
3234
|
Specifies whether to allow IPAMD to add the `vpc.amazonaws.com/has-trunk-attached` label to the node if the instance has capacity to attach an additional ENI. Default is `false`. If using liveness and readiness probes, you will also need to disable TCP early demux.
|
|
3234
3235
|
"""
|
|
3235
3236
|
return pulumi.get(self, "enable_pod_eni")
|
|
3236
3237
|
|
|
3237
3238
|
@enable_pod_eni.setter
|
|
3238
|
-
def enable_pod_eni(self, value: Optional[pulumi.Input[bool]]):
|
|
3239
|
+
def enable_pod_eni(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
3239
3240
|
pulumi.set(self, "enable_pod_eni", value)
|
|
3240
3241
|
|
|
3241
3242
|
@property
|
|
3242
3243
|
@pulumi.getter(name="enablePrefixDelegation")
|
|
3243
|
-
def enable_prefix_delegation(self) -> Optional[pulumi.Input[bool]]:
|
|
3244
|
+
def enable_prefix_delegation(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
3244
3245
|
"""
|
|
3245
3246
|
IPAMD will start allocating (/28) prefixes to the ENIs with ENABLE_PREFIX_DELEGATION set to true.
|
|
3246
3247
|
"""
|
|
3247
3248
|
return pulumi.get(self, "enable_prefix_delegation")
|
|
3248
3249
|
|
|
3249
3250
|
@enable_prefix_delegation.setter
|
|
3250
|
-
def enable_prefix_delegation(self, value: Optional[pulumi.Input[bool]]):
|
|
3251
|
+
def enable_prefix_delegation(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
3251
3252
|
pulumi.set(self, "enable_prefix_delegation", value)
|
|
3252
3253
|
|
|
3253
3254
|
@property
|
|
3254
3255
|
@pulumi.getter(name="eniConfigLabelDef")
|
|
3255
|
-
def eni_config_label_def(self) -> Optional[pulumi.Input[str]]:
|
|
3256
|
+
def eni_config_label_def(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3256
3257
|
"""
|
|
3257
3258
|
Specifies the ENI_CONFIG_LABEL_DEF environment variable value for worker nodes. This is used to tell Kubernetes to automatically apply the ENIConfig for each Availability Zone
|
|
3258
3259
|
Ref: https://docs.aws.amazon.com/eks/latest/userguide/cni-custom-network.html (step 5(c))
|
|
@@ -3262,12 +3263,12 @@ class VpcCniOptionsArgs:
|
|
|
3262
3263
|
return pulumi.get(self, "eni_config_label_def")
|
|
3263
3264
|
|
|
3264
3265
|
@eni_config_label_def.setter
|
|
3265
|
-
def eni_config_label_def(self, value: Optional[pulumi.Input[str]]):
|
|
3266
|
+
def eni_config_label_def(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3266
3267
|
pulumi.set(self, "eni_config_label_def", value)
|
|
3267
3268
|
|
|
3268
3269
|
@property
|
|
3269
3270
|
@pulumi.getter(name="eniMtu")
|
|
3270
|
-
def eni_mtu(self) -> Optional[pulumi.Input[int]]:
|
|
3271
|
+
def eni_mtu(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
3271
3272
|
"""
|
|
3272
3273
|
Used to configure the MTU size for attached ENIs. The valid range is from 576 to 9001.
|
|
3273
3274
|
|
|
@@ -3276,12 +3277,12 @@ class VpcCniOptionsArgs:
|
|
|
3276
3277
|
return pulumi.get(self, "eni_mtu")
|
|
3277
3278
|
|
|
3278
3279
|
@eni_mtu.setter
|
|
3279
|
-
def eni_mtu(self, value: Optional[pulumi.Input[int]]):
|
|
3280
|
+
def eni_mtu(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
3280
3281
|
pulumi.set(self, "eni_mtu", value)
|
|
3281
3282
|
|
|
3282
3283
|
@property
|
|
3283
3284
|
@pulumi.getter(name="externalSnat")
|
|
3284
|
-
def external_snat(self) -> Optional[pulumi.Input[bool]]:
|
|
3285
|
+
def external_snat(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
3285
3286
|
"""
|
|
3286
3287
|
Specifies whether an external NAT gateway should be used to provide SNAT of secondary ENI IP addresses. If set to true, the SNAT iptables rule and off-VPC IP rule are not applied, and these rules are removed if they have already been applied.
|
|
3287
3288
|
|
|
@@ -3290,12 +3291,12 @@ class VpcCniOptionsArgs:
|
|
|
3290
3291
|
return pulumi.get(self, "external_snat")
|
|
3291
3292
|
|
|
3292
3293
|
@external_snat.setter
|
|
3293
|
-
def external_snat(self, value: Optional[pulumi.Input[bool]]):
|
|
3294
|
+
def external_snat(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
3294
3295
|
pulumi.set(self, "external_snat", value)
|
|
3295
3296
|
|
|
3296
3297
|
@property
|
|
3297
3298
|
@pulumi.getter(name="logFile")
|
|
3298
|
-
def log_file(self) -> Optional[pulumi.Input[str]]:
|
|
3299
|
+
def log_file(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3299
3300
|
"""
|
|
3300
3301
|
Specifies the file path used for logs.
|
|
3301
3302
|
|
|
@@ -3304,12 +3305,12 @@ class VpcCniOptionsArgs:
|
|
|
3304
3305
|
return pulumi.get(self, "log_file")
|
|
3305
3306
|
|
|
3306
3307
|
@log_file.setter
|
|
3307
|
-
def log_file(self, value: Optional[pulumi.Input[str]]):
|
|
3308
|
+
def log_file(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3308
3309
|
pulumi.set(self, "log_file", value)
|
|
3309
3310
|
|
|
3310
3311
|
@property
|
|
3311
3312
|
@pulumi.getter(name="logLevel")
|
|
3312
|
-
def log_level(self) -> Optional[pulumi.Input[str]]:
|
|
3313
|
+
def log_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3313
3314
|
"""
|
|
3314
3315
|
Specifies the log level used for logs.
|
|
3315
3316
|
|
|
@@ -3319,12 +3320,12 @@ class VpcCniOptionsArgs:
|
|
|
3319
3320
|
return pulumi.get(self, "log_level")
|
|
3320
3321
|
|
|
3321
3322
|
@log_level.setter
|
|
3322
|
-
def log_level(self, value: Optional[pulumi.Input[str]]):
|
|
3323
|
+
def log_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3323
3324
|
pulumi.set(self, "log_level", value)
|
|
3324
3325
|
|
|
3325
3326
|
@property
|
|
3326
3327
|
@pulumi.getter(name="nodePortSupport")
|
|
3327
|
-
def node_port_support(self) -> Optional[pulumi.Input[bool]]:
|
|
3328
|
+
def node_port_support(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
3328
3329
|
"""
|
|
3329
3330
|
Specifies whether NodePort services are enabled on a worker node's primary network interface. This requires additional iptables rules and that the kernel's reverse path filter on the primary interface is set to loose.
|
|
3330
3331
|
|
|
@@ -3333,7 +3334,7 @@ class VpcCniOptionsArgs:
|
|
|
3333
3334
|
return pulumi.get(self, "node_port_support")
|
|
3334
3335
|
|
|
3335
3336
|
@node_port_support.setter
|
|
3336
|
-
def node_port_support(self, value: Optional[pulumi.Input[bool]]):
|
|
3337
|
+
def node_port_support(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
3337
3338
|
pulumi.set(self, "node_port_support", value)
|
|
3338
3339
|
|
|
3339
3340
|
@property
|
|
@@ -3362,19 +3363,19 @@ class VpcCniOptionsArgs:
|
|
|
3362
3363
|
|
|
3363
3364
|
@property
|
|
3364
3365
|
@pulumi.getter(name="securityContextPrivileged")
|
|
3365
|
-
def security_context_privileged(self) -> Optional[pulumi.Input[bool]]:
|
|
3366
|
+
def security_context_privileged(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
3366
3367
|
"""
|
|
3367
3368
|
Pass privilege to containers securityContext. This is required when SELinux is enabled. This value will not be passed to the CNI config by default
|
|
3368
3369
|
"""
|
|
3369
3370
|
return pulumi.get(self, "security_context_privileged")
|
|
3370
3371
|
|
|
3371
3372
|
@security_context_privileged.setter
|
|
3372
|
-
def security_context_privileged(self, value: Optional[pulumi.Input[bool]]):
|
|
3373
|
+
def security_context_privileged(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
3373
3374
|
pulumi.set(self, "security_context_privileged", value)
|
|
3374
3375
|
|
|
3375
3376
|
@property
|
|
3376
3377
|
@pulumi.getter(name="serviceAccountRoleArn")
|
|
3377
|
-
def service_account_role_arn(self) -> Optional[pulumi.Input[str]]:
|
|
3378
|
+
def service_account_role_arn(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3378
3379
|
"""
|
|
3379
3380
|
The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account. The role must be assigned the IAM permissions required by the add-on. If you don't specify an existing IAM role, then the add-on uses the permissions assigned to the node IAM role.
|
|
3380
3381
|
|
|
@@ -3385,12 +3386,12 @@ class VpcCniOptionsArgs:
|
|
|
3385
3386
|
return pulumi.get(self, "service_account_role_arn")
|
|
3386
3387
|
|
|
3387
3388
|
@service_account_role_arn.setter
|
|
3388
|
-
def service_account_role_arn(self, value: Optional[pulumi.Input[str]]):
|
|
3389
|
+
def service_account_role_arn(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3389
3390
|
pulumi.set(self, "service_account_role_arn", value)
|
|
3390
3391
|
|
|
3391
3392
|
@property
|
|
3392
3393
|
@pulumi.getter(name="vethPrefix")
|
|
3393
|
-
def veth_prefix(self) -> Optional[pulumi.Input[str]]:
|
|
3394
|
+
def veth_prefix(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3394
3395
|
"""
|
|
3395
3396
|
Specifies the veth prefix used to generate the host-side veth device name for the CNI.
|
|
3396
3397
|
|
|
@@ -3401,12 +3402,12 @@ class VpcCniOptionsArgs:
|
|
|
3401
3402
|
return pulumi.get(self, "veth_prefix")
|
|
3402
3403
|
|
|
3403
3404
|
@veth_prefix.setter
|
|
3404
|
-
def veth_prefix(self, value: Optional[pulumi.Input[str]]):
|
|
3405
|
+
def veth_prefix(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3405
3406
|
pulumi.set(self, "veth_prefix", value)
|
|
3406
3407
|
|
|
3407
3408
|
@property
|
|
3408
3409
|
@pulumi.getter(name="warmEniTarget")
|
|
3409
|
-
def warm_eni_target(self) -> Optional[pulumi.Input[int]]:
|
|
3410
|
+
def warm_eni_target(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
3410
3411
|
"""
|
|
3411
3412
|
Specifies the number of free elastic network interfaces (and all of their available IP addresses) that the ipamD daemon should attempt to keep available for pod assignment on the node.
|
|
3412
3413
|
|
|
@@ -3415,31 +3416,31 @@ class VpcCniOptionsArgs:
|
|
|
3415
3416
|
return pulumi.get(self, "warm_eni_target")
|
|
3416
3417
|
|
|
3417
3418
|
@warm_eni_target.setter
|
|
3418
|
-
def warm_eni_target(self, value: Optional[pulumi.Input[int]]):
|
|
3419
|
+
def warm_eni_target(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
3419
3420
|
pulumi.set(self, "warm_eni_target", value)
|
|
3420
3421
|
|
|
3421
3422
|
@property
|
|
3422
3423
|
@pulumi.getter(name="warmIpTarget")
|
|
3423
|
-
def warm_ip_target(self) -> Optional[pulumi.Input[int]]:
|
|
3424
|
+
def warm_ip_target(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
3424
3425
|
"""
|
|
3425
3426
|
Specifies the number of free IP addresses that the ipamD daemon should attempt to keep available for pod assignment on the node.
|
|
3426
3427
|
"""
|
|
3427
3428
|
return pulumi.get(self, "warm_ip_target")
|
|
3428
3429
|
|
|
3429
3430
|
@warm_ip_target.setter
|
|
3430
|
-
def warm_ip_target(self, value: Optional[pulumi.Input[int]]):
|
|
3431
|
+
def warm_ip_target(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
3431
3432
|
pulumi.set(self, "warm_ip_target", value)
|
|
3432
3433
|
|
|
3433
3434
|
@property
|
|
3434
3435
|
@pulumi.getter(name="warmPrefixTarget")
|
|
3435
|
-
def warm_prefix_target(self) -> Optional[pulumi.Input[int]]:
|
|
3436
|
+
def warm_prefix_target(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
3436
3437
|
"""
|
|
3437
3438
|
WARM_PREFIX_TARGET will allocate one full (/28) prefix even if a single IP is consumed with the existing prefix. Ref: https://github.com/aws/amazon-vpc-cni-k8s/blob/master/docs/prefix-and-ip-target.md
|
|
3438
3439
|
"""
|
|
3439
3440
|
return pulumi.get(self, "warm_prefix_target")
|
|
3440
3441
|
|
|
3441
3442
|
@warm_prefix_target.setter
|
|
3442
|
-
def warm_prefix_target(self, value: Optional[pulumi.Input[int]]):
|
|
3443
|
+
def warm_prefix_target(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
3443
3444
|
pulumi.set(self, "warm_prefix_target", value)
|
|
3444
3445
|
|
|
3445
3446
|
|