aws-sdk-eks 1.38.1 → 1.43.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-eks.rb +5 -2
- data/lib/aws-sdk-eks/client.rb +178 -38
- data/lib/aws-sdk-eks/client_api.rb +21 -0
- data/lib/aws-sdk-eks/errors.rb +2 -0
- data/lib/aws-sdk-eks/resource.rb +2 -0
- data/lib/aws-sdk-eks/types.rb +358 -52
- data/lib/aws-sdk-eks/waiters.rb +2 -0
- metadata +2 -2
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -60,6 +62,9 @@ module Aws::EKS
|
|
60
62
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
61
63
|
Issue = Shapes::StructureShape.new(name: 'Issue')
|
62
64
|
IssueList = Shapes::ListShape.new(name: 'IssueList')
|
65
|
+
KubernetesNetworkConfigRequest = Shapes::StructureShape.new(name: 'KubernetesNetworkConfigRequest')
|
66
|
+
KubernetesNetworkConfigResponse = Shapes::StructureShape.new(name: 'KubernetesNetworkConfigResponse')
|
67
|
+
LaunchTemplateSpecification = Shapes::StructureShape.new(name: 'LaunchTemplateSpecification')
|
63
68
|
ListClustersRequest = Shapes::StructureShape.new(name: 'ListClustersRequest')
|
64
69
|
ListClustersRequestMaxResults = Shapes::IntegerShape.new(name: 'ListClustersRequestMaxResults')
|
65
70
|
ListClustersResponse = Shapes::StructureShape.new(name: 'ListClustersResponse')
|
@@ -150,6 +155,7 @@ module Aws::EKS
|
|
150
155
|
Cluster.add_member(:endpoint, Shapes::ShapeRef.new(shape: String, location_name: "endpoint"))
|
151
156
|
Cluster.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, location_name: "roleArn"))
|
152
157
|
Cluster.add_member(:resources_vpc_config, Shapes::ShapeRef.new(shape: VpcConfigResponse, location_name: "resourcesVpcConfig"))
|
158
|
+
Cluster.add_member(:kubernetes_network_config, Shapes::ShapeRef.new(shape: KubernetesNetworkConfigResponse, location_name: "kubernetesNetworkConfig"))
|
153
159
|
Cluster.add_member(:logging, Shapes::ShapeRef.new(shape: Logging, location_name: "logging"))
|
154
160
|
Cluster.add_member(:identity, Shapes::ShapeRef.new(shape: Identity, location_name: "identity"))
|
155
161
|
Cluster.add_member(:status, Shapes::ShapeRef.new(shape: ClusterStatus, location_name: "status"))
|
@@ -164,6 +170,7 @@ module Aws::EKS
|
|
164
170
|
CreateClusterRequest.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
|
165
171
|
CreateClusterRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "roleArn"))
|
166
172
|
CreateClusterRequest.add_member(:resources_vpc_config, Shapes::ShapeRef.new(shape: VpcConfigRequest, required: true, location_name: "resourcesVpcConfig"))
|
173
|
+
CreateClusterRequest.add_member(:kubernetes_network_config, Shapes::ShapeRef.new(shape: KubernetesNetworkConfigRequest, location_name: "kubernetesNetworkConfig"))
|
167
174
|
CreateClusterRequest.add_member(:logging, Shapes::ShapeRef.new(shape: Logging, location_name: "logging"))
|
168
175
|
CreateClusterRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
169
176
|
CreateClusterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
@@ -197,6 +204,7 @@ module Aws::EKS
|
|
197
204
|
CreateNodegroupRequest.add_member(:labels, Shapes::ShapeRef.new(shape: labelsMap, location_name: "labels"))
|
198
205
|
CreateNodegroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
199
206
|
CreateNodegroupRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
207
|
+
CreateNodegroupRequest.add_member(:launch_template, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "launchTemplate"))
|
200
208
|
CreateNodegroupRequest.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
|
201
209
|
CreateNodegroupRequest.add_member(:release_version, Shapes::ShapeRef.new(shape: String, location_name: "releaseVersion"))
|
202
210
|
CreateNodegroupRequest.struct_class = Types::CreateNodegroupRequest
|
@@ -306,6 +314,17 @@ module Aws::EKS
|
|
306
314
|
|
307
315
|
IssueList.member = Shapes::ShapeRef.new(shape: Issue)
|
308
316
|
|
317
|
+
KubernetesNetworkConfigRequest.add_member(:service_ipv_4_cidr, Shapes::ShapeRef.new(shape: String, location_name: "serviceIpv4Cidr"))
|
318
|
+
KubernetesNetworkConfigRequest.struct_class = Types::KubernetesNetworkConfigRequest
|
319
|
+
|
320
|
+
KubernetesNetworkConfigResponse.add_member(:service_ipv_4_cidr, Shapes::ShapeRef.new(shape: String, location_name: "serviceIpv4Cidr"))
|
321
|
+
KubernetesNetworkConfigResponse.struct_class = Types::KubernetesNetworkConfigResponse
|
322
|
+
|
323
|
+
LaunchTemplateSpecification.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
324
|
+
LaunchTemplateSpecification.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
|
325
|
+
LaunchTemplateSpecification.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
|
326
|
+
LaunchTemplateSpecification.struct_class = Types::LaunchTemplateSpecification
|
327
|
+
|
309
328
|
ListClustersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListClustersRequestMaxResults, location: "querystring", location_name: "maxResults"))
|
310
329
|
ListClustersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
311
330
|
ListClustersRequest.struct_class = Types::ListClustersRequest
|
@@ -377,6 +396,7 @@ module Aws::EKS
|
|
377
396
|
Nodegroup.add_member(:resources, Shapes::ShapeRef.new(shape: NodegroupResources, location_name: "resources"))
|
378
397
|
Nodegroup.add_member(:disk_size, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "diskSize"))
|
379
398
|
Nodegroup.add_member(:health, Shapes::ShapeRef.new(shape: NodegroupHealth, location_name: "health"))
|
399
|
+
Nodegroup.add_member(:launch_template, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "launchTemplate"))
|
380
400
|
Nodegroup.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
381
401
|
Nodegroup.struct_class = Types::Nodegroup
|
382
402
|
|
@@ -497,6 +517,7 @@ module Aws::EKS
|
|
497
517
|
UpdateNodegroupVersionRequest.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "nodegroupName"))
|
498
518
|
UpdateNodegroupVersionRequest.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
|
499
519
|
UpdateNodegroupVersionRequest.add_member(:release_version, Shapes::ShapeRef.new(shape: String, location_name: "releaseVersion"))
|
520
|
+
UpdateNodegroupVersionRequest.add_member(:launch_template, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "launchTemplate"))
|
500
521
|
UpdateNodegroupVersionRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "force"))
|
501
522
|
UpdateNodegroupVersionRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
502
523
|
UpdateNodegroupVersionRequest.struct_class = Types::UpdateNodegroupVersionRequest
|
data/lib/aws-sdk-eks/errors.rb
CHANGED
data/lib/aws-sdk-eks/resource.rb
CHANGED
data/lib/aws-sdk-eks/types.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -20,6 +22,7 @@ module Aws::EKS
|
|
20
22
|
#
|
21
23
|
class AutoScalingGroup < Struct.new(
|
22
24
|
:name)
|
25
|
+
SENSITIVE = []
|
23
26
|
include Aws::Structure
|
24
27
|
end
|
25
28
|
|
@@ -34,6 +37,7 @@ module Aws::EKS
|
|
34
37
|
#
|
35
38
|
class BadRequestException < Struct.new(
|
36
39
|
:message)
|
40
|
+
SENSITIVE = []
|
37
41
|
include Aws::Structure
|
38
42
|
end
|
39
43
|
|
@@ -50,6 +54,7 @@ module Aws::EKS
|
|
50
54
|
#
|
51
55
|
class Certificate < Struct.new(
|
52
56
|
:data)
|
57
|
+
SENSITIVE = []
|
53
58
|
include Aws::Structure
|
54
59
|
end
|
55
60
|
|
@@ -75,6 +80,7 @@ module Aws::EKS
|
|
75
80
|
:cluster_name,
|
76
81
|
:nodegroup_name,
|
77
82
|
:message)
|
83
|
+
SENSITIVE = []
|
78
84
|
include Aws::Structure
|
79
85
|
end
|
80
86
|
|
@@ -120,6 +126,10 @@ module Aws::EKS
|
|
120
126
|
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html
|
121
127
|
# @return [Types::VpcConfigResponse]
|
122
128
|
#
|
129
|
+
# @!attribute [rw] kubernetes_network_config
|
130
|
+
# Network configuration settings for your cluster.
|
131
|
+
# @return [Types::KubernetesNetworkConfigResponse]
|
132
|
+
#
|
123
133
|
# @!attribute [rw] logging
|
124
134
|
# The logging configuration for your cluster.
|
125
135
|
# @return [Types::Logging]
|
@@ -172,6 +182,7 @@ module Aws::EKS
|
|
172
182
|
:endpoint,
|
173
183
|
:role_arn,
|
174
184
|
:resources_vpc_config,
|
185
|
+
:kubernetes_network_config,
|
175
186
|
:logging,
|
176
187
|
:identity,
|
177
188
|
:status,
|
@@ -180,6 +191,7 @@ module Aws::EKS
|
|
180
191
|
:platform_version,
|
181
192
|
:tags,
|
182
193
|
:encryption_config)
|
194
|
+
SENSITIVE = []
|
183
195
|
include Aws::Structure
|
184
196
|
end
|
185
197
|
|
@@ -197,6 +209,9 @@ module Aws::EKS
|
|
197
209
|
# endpoint_private_access: false,
|
198
210
|
# public_access_cidrs: ["String"],
|
199
211
|
# },
|
212
|
+
# kubernetes_network_config: {
|
213
|
+
# service_ipv_4_cidr: "String",
|
214
|
+
# },
|
200
215
|
# logging: {
|
201
216
|
# cluster_logging: [
|
202
217
|
# {
|
@@ -231,9 +246,9 @@ module Aws::EKS
|
|
231
246
|
#
|
232
247
|
# @!attribute [rw] role_arn
|
233
248
|
# The Amazon Resource Name (ARN) of the IAM role that provides
|
234
|
-
# permissions for
|
235
|
-
# on your behalf. For more information, see [Amazon EKS
|
236
|
-
# Role][1] in the <i> <i>Amazon EKS User Guide</i> </i>.
|
249
|
+
# permissions for the Kubernetes control plane to make calls to AWS
|
250
|
+
# API operations on your behalf. For more information, see [Amazon EKS
|
251
|
+
# Service IAM Role][1] in the <i> <i>Amazon EKS User Guide</i> </i>.
|
237
252
|
#
|
238
253
|
#
|
239
254
|
#
|
@@ -255,6 +270,10 @@ module Aws::EKS
|
|
255
270
|
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html
|
256
271
|
# @return [Types::VpcConfigRequest]
|
257
272
|
#
|
273
|
+
# @!attribute [rw] kubernetes_network_config
|
274
|
+
# The Kubernetes network configuration for the cluster.
|
275
|
+
# @return [Types::KubernetesNetworkConfigRequest]
|
276
|
+
#
|
258
277
|
# @!attribute [rw] logging
|
259
278
|
# Enable or disable exporting the Kubernetes control plane logs for
|
260
279
|
# your cluster to CloudWatch Logs. By default, cluster control plane
|
@@ -299,10 +318,12 @@ module Aws::EKS
|
|
299
318
|
:version,
|
300
319
|
:role_arn,
|
301
320
|
:resources_vpc_config,
|
321
|
+
:kubernetes_network_config,
|
302
322
|
:logging,
|
303
323
|
:client_request_token,
|
304
324
|
:tags,
|
305
325
|
:encryption_config)
|
326
|
+
SENSITIVE = []
|
306
327
|
include Aws::Structure
|
307
328
|
end
|
308
329
|
|
@@ -314,6 +335,7 @@ module Aws::EKS
|
|
314
335
|
#
|
315
336
|
class CreateClusterResponse < Struct.new(
|
316
337
|
:cluster)
|
338
|
+
SENSITIVE = []
|
317
339
|
include Aws::Structure
|
318
340
|
end
|
319
341
|
|
@@ -400,6 +422,7 @@ module Aws::EKS
|
|
400
422
|
:selectors,
|
401
423
|
:client_request_token,
|
402
424
|
:tags)
|
425
|
+
SENSITIVE = []
|
403
426
|
include Aws::Structure
|
404
427
|
end
|
405
428
|
|
@@ -411,6 +434,7 @@ module Aws::EKS
|
|
411
434
|
#
|
412
435
|
class CreateFargateProfileResponse < Struct.new(
|
413
436
|
:fargate_profile)
|
437
|
+
SENSITIVE = []
|
414
438
|
include Aws::Structure
|
415
439
|
end
|
416
440
|
|
@@ -428,7 +452,7 @@ module Aws::EKS
|
|
428
452
|
# disk_size: 1,
|
429
453
|
# subnets: ["String"], # required
|
430
454
|
# instance_types: ["String"],
|
431
|
-
# ami_type: "AL2_x86_64", # accepts AL2_x86_64, AL2_x86_64_GPU
|
455
|
+
# ami_type: "AL2_x86_64", # accepts AL2_x86_64, AL2_x86_64_GPU, AL2_ARM_64
|
432
456
|
# remote_access: {
|
433
457
|
# ec2_ssh_key: "String",
|
434
458
|
# source_security_groups: ["String"],
|
@@ -441,6 +465,11 @@ module Aws::EKS
|
|
441
465
|
# "TagKey" => "TagValue",
|
442
466
|
# },
|
443
467
|
# client_request_token: "String",
|
468
|
+
# launch_template: {
|
469
|
+
# name: "String",
|
470
|
+
# version: "String",
|
471
|
+
# id: "String",
|
472
|
+
# },
|
444
473
|
# version: "String",
|
445
474
|
# release_version: "String",
|
446
475
|
# }
|
@@ -460,33 +489,73 @@ module Aws::EKS
|
|
460
489
|
#
|
461
490
|
# @!attribute [rw] disk_size
|
462
491
|
# The root device disk size (in GiB) for your node group instances.
|
463
|
-
# The default disk size is 20 GiB.
|
492
|
+
# The default disk size is 20 GiB. If you specify `launchTemplate`,
|
493
|
+
# then don't specify `diskSize`, or the node group deployment will
|
494
|
+
# fail. For more information about using launch templates with Amazon
|
495
|
+
# EKS, see [Launch template support][1] in the Amazon EKS User Guide.
|
496
|
+
#
|
497
|
+
#
|
498
|
+
#
|
499
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
464
500
|
# @return [Integer]
|
465
501
|
#
|
466
502
|
# @!attribute [rw] subnets
|
467
503
|
# The subnets to use for the Auto Scaling group that is created for
|
468
504
|
# your node group. These subnets must have the tag key
|
469
505
|
# `kubernetes.io/cluster/CLUSTER_NAME` with a value of `shared`, where
|
470
|
-
# `CLUSTER_NAME` is replaced with the name of your cluster.
|
506
|
+
# `CLUSTER_NAME` is replaced with the name of your cluster. If you
|
507
|
+
# specify `launchTemplate`, then don't specify [ `SubnetId` ][1] in
|
508
|
+
# your launch template, or the node group deployment will fail. For
|
509
|
+
# more information about using launch templates with Amazon EKS, see
|
510
|
+
# [Launch template support][2] in the Amazon EKS User Guide.
|
511
|
+
#
|
512
|
+
#
|
513
|
+
#
|
514
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateNetworkInterface.html
|
515
|
+
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
471
516
|
# @return [Array<String>]
|
472
517
|
#
|
473
518
|
# @!attribute [rw] instance_types
|
474
|
-
# The instance type to use for your node group.
|
475
|
-
#
|
476
|
-
#
|
477
|
-
#
|
478
|
-
#
|
519
|
+
# The instance type to use for your node group. You can specify a
|
520
|
+
# single instance type for a node group. The default value for
|
521
|
+
# `instanceTypes` is `t3.medium`. If you choose a GPU instance type,
|
522
|
+
# be sure to specify `AL2_x86_64_GPU` with the `amiType` parameter. If
|
523
|
+
# you specify `launchTemplate`, then don't specify `instanceTypes`,
|
524
|
+
# or the node group deployment will fail. For more information about
|
525
|
+
# using launch templates with Amazon EKS, see [Launch template
|
526
|
+
# support][1] in the Amazon EKS User Guide.
|
527
|
+
#
|
528
|
+
#
|
529
|
+
#
|
530
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
479
531
|
# @return [Array<String>]
|
480
532
|
#
|
481
533
|
# @!attribute [rw] ami_type
|
482
534
|
# The AMI type for your node group. GPU instance types should use the
|
483
|
-
# `AL2_x86_64_GPU` AMI type
|
484
|
-
# AMI
|
485
|
-
#
|
535
|
+
# `AL2_x86_64_GPU` AMI type. Non-GPU instances should use the
|
536
|
+
# `AL2_x86_64` AMI type. Arm instances should use the `AL2_ARM_64` AMI
|
537
|
+
# type. All types use the Amazon EKS-optimized Amazon Linux 2 AMI. If
|
538
|
+
# you specify `launchTemplate`, and your launch template uses a custom
|
539
|
+
# AMI, then don't specify `amiType`, or the node group deployment
|
540
|
+
# will fail. For more information about using launch templates with
|
541
|
+
# Amazon EKS, see [Launch template support][1] in the Amazon EKS User
|
542
|
+
# Guide.
|
543
|
+
#
|
544
|
+
#
|
545
|
+
#
|
546
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
486
547
|
# @return [String]
|
487
548
|
#
|
488
549
|
# @!attribute [rw] remote_access
|
489
550
|
# The remote access (SSH) configuration to use with your node group.
|
551
|
+
# If you specify `launchTemplate`, then don't specify `remoteAccess`,
|
552
|
+
# or the node group deployment will fail. For more information about
|
553
|
+
# using launch templates with Amazon EKS, see [Launch template
|
554
|
+
# support][1] in the Amazon EKS User Guide.
|
555
|
+
#
|
556
|
+
#
|
557
|
+
#
|
558
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
490
559
|
# @return [Types::RemoteAccessConfig]
|
491
560
|
#
|
492
561
|
# @!attribute [rw] node_role
|
@@ -497,11 +566,18 @@ module Aws::EKS
|
|
497
566
|
# policies. Before you can launch worker nodes and register them into
|
498
567
|
# a cluster, you must create an IAM role for those worker nodes to use
|
499
568
|
# when they are launched. For more information, see [Amazon EKS Worker
|
500
|
-
# Node IAM Role][1] in the <i> <i>Amazon EKS User Guide</i> </i>.
|
569
|
+
# Node IAM Role][1] in the <i> <i>Amazon EKS User Guide</i> </i>. If
|
570
|
+
# you specify `launchTemplate`, then don't specify [
|
571
|
+
# `IamInstanceProfile` ][2] in your launch template, or the node group
|
572
|
+
# deployment will fail. For more information about using launch
|
573
|
+
# templates with Amazon EKS, see [Launch template support][3] in the
|
574
|
+
# Amazon EKS User Guide.
|
501
575
|
#
|
502
576
|
#
|
503
577
|
#
|
504
578
|
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/worker_node_IAM_role.html
|
579
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_IamInstanceProfile.html
|
580
|
+
# [3]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
505
581
|
# @return [String]
|
506
582
|
#
|
507
583
|
# @!attribute [rw] labels
|
@@ -525,10 +601,25 @@ module Aws::EKS
|
|
525
601
|
# not need to pass this option.
|
526
602
|
# @return [String]
|
527
603
|
#
|
604
|
+
# @!attribute [rw] launch_template
|
605
|
+
# An object representing a node group's launch template
|
606
|
+
# specification. If specified, then do not specify `instanceTypes`,
|
607
|
+
# `diskSize`, or `remoteAccess` and make sure that the launch template
|
608
|
+
# meets the requirements in `launchTemplateSpecification`.
|
609
|
+
# @return [Types::LaunchTemplateSpecification]
|
610
|
+
#
|
528
611
|
# @!attribute [rw] version
|
529
612
|
# The Kubernetes version to use for your managed nodes. By default,
|
530
613
|
# the Kubernetes version of the cluster is used, and this is the only
|
531
|
-
# accepted specified value.
|
614
|
+
# accepted specified value. If you specify `launchTemplate`, and your
|
615
|
+
# launch template uses a custom AMI, then don't specify `version`, or
|
616
|
+
# the node group deployment will fail. For more information about
|
617
|
+
# using launch templates with Amazon EKS, see [Launch template
|
618
|
+
# support][1] in the Amazon EKS User Guide.
|
619
|
+
#
|
620
|
+
#
|
621
|
+
#
|
622
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
532
623
|
# @return [String]
|
533
624
|
#
|
534
625
|
# @!attribute [rw] release_version
|
@@ -536,11 +627,16 @@ module Aws::EKS
|
|
536
627
|
# node group. By default, the latest available AMI version for the
|
537
628
|
# node group's current Kubernetes version is used. For more
|
538
629
|
# information, see [Amazon EKS-Optimized Linux AMI Versions][1] in the
|
539
|
-
# *Amazon EKS User Guide*.
|
630
|
+
# *Amazon EKS User Guide*. If you specify `launchTemplate`, and your
|
631
|
+
# launch template uses a custom AMI, then don't specify
|
632
|
+
# `releaseVersion`, or the node group deployment will fail. For more
|
633
|
+
# information about using launch templates with Amazon EKS, see
|
634
|
+
# [Launch template support][2] in the Amazon EKS User Guide.
|
540
635
|
#
|
541
636
|
#
|
542
637
|
#
|
543
638
|
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html
|
639
|
+
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
544
640
|
# @return [String]
|
545
641
|
#
|
546
642
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateNodegroupRequest AWS API Documentation
|
@@ -558,8 +654,10 @@ module Aws::EKS
|
|
558
654
|
:labels,
|
559
655
|
:tags,
|
560
656
|
:client_request_token,
|
657
|
+
:launch_template,
|
561
658
|
:version,
|
562
659
|
:release_version)
|
660
|
+
SENSITIVE = []
|
563
661
|
include Aws::Structure
|
564
662
|
end
|
565
663
|
|
@@ -571,6 +669,7 @@ module Aws::EKS
|
|
571
669
|
#
|
572
670
|
class CreateNodegroupResponse < Struct.new(
|
573
671
|
:nodegroup)
|
672
|
+
SENSITIVE = []
|
574
673
|
include Aws::Structure
|
575
674
|
end
|
576
675
|
|
@@ -589,6 +688,7 @@ module Aws::EKS
|
|
589
688
|
#
|
590
689
|
class DeleteClusterRequest < Struct.new(
|
591
690
|
:name)
|
691
|
+
SENSITIVE = []
|
592
692
|
include Aws::Structure
|
593
693
|
end
|
594
694
|
|
@@ -600,6 +700,7 @@ module Aws::EKS
|
|
600
700
|
#
|
601
701
|
class DeleteClusterResponse < Struct.new(
|
602
702
|
:cluster)
|
703
|
+
SENSITIVE = []
|
603
704
|
include Aws::Structure
|
604
705
|
end
|
605
706
|
|
@@ -625,6 +726,7 @@ module Aws::EKS
|
|
625
726
|
class DeleteFargateProfileRequest < Struct.new(
|
626
727
|
:cluster_name,
|
627
728
|
:fargate_profile_name)
|
729
|
+
SENSITIVE = []
|
628
730
|
include Aws::Structure
|
629
731
|
end
|
630
732
|
|
@@ -636,6 +738,7 @@ module Aws::EKS
|
|
636
738
|
#
|
637
739
|
class DeleteFargateProfileResponse < Struct.new(
|
638
740
|
:fargate_profile)
|
741
|
+
SENSITIVE = []
|
639
742
|
include Aws::Structure
|
640
743
|
end
|
641
744
|
|
@@ -661,6 +764,7 @@ module Aws::EKS
|
|
661
764
|
class DeleteNodegroupRequest < Struct.new(
|
662
765
|
:cluster_name,
|
663
766
|
:nodegroup_name)
|
767
|
+
SENSITIVE = []
|
664
768
|
include Aws::Structure
|
665
769
|
end
|
666
770
|
|
@@ -672,6 +776,7 @@ module Aws::EKS
|
|
672
776
|
#
|
673
777
|
class DeleteNodegroupResponse < Struct.new(
|
674
778
|
:nodegroup)
|
779
|
+
SENSITIVE = []
|
675
780
|
include Aws::Structure
|
676
781
|
end
|
677
782
|
|
@@ -690,6 +795,7 @@ module Aws::EKS
|
|
690
795
|
#
|
691
796
|
class DescribeClusterRequest < Struct.new(
|
692
797
|
:name)
|
798
|
+
SENSITIVE = []
|
693
799
|
include Aws::Structure
|
694
800
|
end
|
695
801
|
|
@@ -701,6 +807,7 @@ module Aws::EKS
|
|
701
807
|
#
|
702
808
|
class DescribeClusterResponse < Struct.new(
|
703
809
|
:cluster)
|
810
|
+
SENSITIVE = []
|
704
811
|
include Aws::Structure
|
705
812
|
end
|
706
813
|
|
@@ -726,6 +833,7 @@ module Aws::EKS
|
|
726
833
|
class DescribeFargateProfileRequest < Struct.new(
|
727
834
|
:cluster_name,
|
728
835
|
:fargate_profile_name)
|
836
|
+
SENSITIVE = []
|
729
837
|
include Aws::Structure
|
730
838
|
end
|
731
839
|
|
@@ -737,6 +845,7 @@ module Aws::EKS
|
|
737
845
|
#
|
738
846
|
class DescribeFargateProfileResponse < Struct.new(
|
739
847
|
:fargate_profile)
|
848
|
+
SENSITIVE = []
|
740
849
|
include Aws::Structure
|
741
850
|
end
|
742
851
|
|
@@ -761,6 +870,7 @@ module Aws::EKS
|
|
761
870
|
class DescribeNodegroupRequest < Struct.new(
|
762
871
|
:cluster_name,
|
763
872
|
:nodegroup_name)
|
873
|
+
SENSITIVE = []
|
764
874
|
include Aws::Structure
|
765
875
|
end
|
766
876
|
|
@@ -772,6 +882,7 @@ module Aws::EKS
|
|
772
882
|
#
|
773
883
|
class DescribeNodegroupResponse < Struct.new(
|
774
884
|
:nodegroup)
|
885
|
+
SENSITIVE = []
|
775
886
|
include Aws::Structure
|
776
887
|
end
|
777
888
|
|
@@ -802,6 +913,7 @@ module Aws::EKS
|
|
802
913
|
:name,
|
803
914
|
:update_id,
|
804
915
|
:nodegroup_name)
|
916
|
+
SENSITIVE = []
|
805
917
|
include Aws::Structure
|
806
918
|
end
|
807
919
|
|
@@ -813,6 +925,7 @@ module Aws::EKS
|
|
813
925
|
#
|
814
926
|
class DescribeUpdateResponse < Struct.new(
|
815
927
|
:update)
|
928
|
+
SENSITIVE = []
|
816
929
|
include Aws::Structure
|
817
930
|
end
|
818
931
|
|
@@ -843,6 +956,7 @@ module Aws::EKS
|
|
843
956
|
class EncryptionConfig < Struct.new(
|
844
957
|
:resources,
|
845
958
|
:provider)
|
959
|
+
SENSITIVE = []
|
846
960
|
include Aws::Structure
|
847
961
|
end
|
848
962
|
|
@@ -889,6 +1003,7 @@ module Aws::EKS
|
|
889
1003
|
:error_code,
|
890
1004
|
:error_message,
|
891
1005
|
:resource_ids)
|
1006
|
+
SENSITIVE = []
|
892
1007
|
include Aws::Structure
|
893
1008
|
end
|
894
1009
|
|
@@ -955,6 +1070,7 @@ module Aws::EKS
|
|
955
1070
|
:selectors,
|
956
1071
|
:status,
|
957
1072
|
:tags)
|
1073
|
+
SENSITIVE = []
|
958
1074
|
include Aws::Structure
|
959
1075
|
end
|
960
1076
|
|
@@ -985,6 +1101,7 @@ module Aws::EKS
|
|
985
1101
|
class FargateProfileSelector < Struct.new(
|
986
1102
|
:namespace,
|
987
1103
|
:labels)
|
1104
|
+
SENSITIVE = []
|
988
1105
|
include Aws::Structure
|
989
1106
|
end
|
990
1107
|
|
@@ -1004,6 +1121,7 @@ module Aws::EKS
|
|
1004
1121
|
#
|
1005
1122
|
class Identity < Struct.new(
|
1006
1123
|
:oidc)
|
1124
|
+
SENSITIVE = []
|
1007
1125
|
include Aws::Structure
|
1008
1126
|
end
|
1009
1127
|
|
@@ -1032,6 +1150,7 @@ module Aws::EKS
|
|
1032
1150
|
:nodegroup_name,
|
1033
1151
|
:fargate_profile_name,
|
1034
1152
|
:message)
|
1153
|
+
SENSITIVE = []
|
1035
1154
|
include Aws::Structure
|
1036
1155
|
end
|
1037
1156
|
|
@@ -1055,6 +1174,7 @@ module Aws::EKS
|
|
1055
1174
|
:cluster_name,
|
1056
1175
|
:nodegroup_name,
|
1057
1176
|
:message)
|
1177
|
+
SENSITIVE = []
|
1058
1178
|
include Aws::Structure
|
1059
1179
|
end
|
1060
1180
|
|
@@ -1083,6 +1203,14 @@ module Aws::EKS
|
|
1083
1203
|
# version that Amazon EKS created. You may be able to revert to the
|
1084
1204
|
# version that Amazon EKS created to recover.
|
1085
1205
|
#
|
1206
|
+
# * **Ec2SubnetInvalidConfiguration**\: One or more Amazon EC2 subnets
|
1207
|
+
# specified for a node group do not automatically assign public IP
|
1208
|
+
# addresses to instances launched into it. If you want your
|
1209
|
+
# instances to be assigned a public IP address, then you need to
|
1210
|
+
# enable the `auto-assign public IP address` setting for the subnet.
|
1211
|
+
# See [Modifying the public IPv4 addressing attribute for your
|
1212
|
+
# subnet][1] in the Amazon VPC User Guide.
|
1213
|
+
#
|
1086
1214
|
# * **IamInstanceProfileNotFound**\: We couldn't find the IAM
|
1087
1215
|
# instance profile for your managed node group. You may be able to
|
1088
1216
|
# recreate an instance profile with the same settings to recover.
|
@@ -1096,7 +1224,7 @@ module Aws::EKS
|
|
1096
1224
|
#
|
1097
1225
|
# * **NodeCreationFailure**\: Your launched instances are unable to
|
1098
1226
|
# register with your Amazon EKS cluster. Common causes of this
|
1099
|
-
# failure are insufficient [worker node IAM role][
|
1227
|
+
# failure are insufficient [worker node IAM role][2] permissions or
|
1100
1228
|
# lack of outbound internet access for the nodes.
|
1101
1229
|
#
|
1102
1230
|
# * **InstanceLimitExceeded**\: Your AWS account is unable to launch
|
@@ -1115,7 +1243,8 @@ module Aws::EKS
|
|
1115
1243
|
#
|
1116
1244
|
#
|
1117
1245
|
#
|
1118
|
-
# [1]: https://docs.aws.amazon.com/
|
1246
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-ip-addressing.html#subnet-public-ip
|
1247
|
+
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/worker_node_IAM_role.html
|
1119
1248
|
# @return [String]
|
1120
1249
|
#
|
1121
1250
|
# @!attribute [rw] message
|
@@ -1132,6 +1261,116 @@ module Aws::EKS
|
|
1132
1261
|
:code,
|
1133
1262
|
:message,
|
1134
1263
|
:resource_ids)
|
1264
|
+
SENSITIVE = []
|
1265
|
+
include Aws::Structure
|
1266
|
+
end
|
1267
|
+
|
1268
|
+
# The Kubernetes network configuration for the cluster.
|
1269
|
+
#
|
1270
|
+
# @note When making an API call, you may pass KubernetesNetworkConfigRequest
|
1271
|
+
# data as a hash:
|
1272
|
+
#
|
1273
|
+
# {
|
1274
|
+
# service_ipv_4_cidr: "String",
|
1275
|
+
# }
|
1276
|
+
#
|
1277
|
+
# @!attribute [rw] service_ipv_4_cidr
|
1278
|
+
# The CIDR block to assign Kubernetes service IP addresses from. If
|
1279
|
+
# you don't specify a block, Kubernetes assigns addresses from either
|
1280
|
+
# the 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. We recommend that
|
1281
|
+
# you specify a block that does not overlap with resources in other
|
1282
|
+
# networks that are peered or connected to your VPC. The block must
|
1283
|
+
# meet the following requirements:
|
1284
|
+
#
|
1285
|
+
# * Within one of the following private IP address blocks: 10.0.0.0/8,
|
1286
|
+
# 172.16.0.0.0/12, or 192.168.0.0/16.
|
1287
|
+
#
|
1288
|
+
# * Doesn't overlap with any CIDR block assigned to the VPC that you
|
1289
|
+
# selected for VPC.
|
1290
|
+
#
|
1291
|
+
# * Between /24 and /12.
|
1292
|
+
#
|
1293
|
+
# You can only specify a custom CIDR block when you create a cluster
|
1294
|
+
# and can't change this value once the cluster is created.
|
1295
|
+
# @return [String]
|
1296
|
+
#
|
1297
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/KubernetesNetworkConfigRequest AWS API Documentation
|
1298
|
+
#
|
1299
|
+
class KubernetesNetworkConfigRequest < Struct.new(
|
1300
|
+
:service_ipv_4_cidr)
|
1301
|
+
SENSITIVE = []
|
1302
|
+
include Aws::Structure
|
1303
|
+
end
|
1304
|
+
|
1305
|
+
# The Kubernetes network configuration for the cluster.
|
1306
|
+
#
|
1307
|
+
# @!attribute [rw] service_ipv_4_cidr
|
1308
|
+
# The CIDR block that Kubernetes service IP addresses are assigned
|
1309
|
+
# from. If you didn't specify a CIDR block, then Kubernetes assigns
|
1310
|
+
# addresses from either the 10.100.0.0/16 or 172.20.0.0/16 CIDR
|
1311
|
+
# blocks. If this was specified, then it was specified when the
|
1312
|
+
# cluster was created and it cannot be changed.
|
1313
|
+
# @return [String]
|
1314
|
+
#
|
1315
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/KubernetesNetworkConfigResponse AWS API Documentation
|
1316
|
+
#
|
1317
|
+
class KubernetesNetworkConfigResponse < Struct.new(
|
1318
|
+
:service_ipv_4_cidr)
|
1319
|
+
SENSITIVE = []
|
1320
|
+
include Aws::Structure
|
1321
|
+
end
|
1322
|
+
|
1323
|
+
# An object representing a node group launch template specification. The
|
1324
|
+
# launch template cannot include [ `SubnetId` ][1], [
|
1325
|
+
# `IamInstanceProfile` ][2], [ `RequestSpotInstances` ][3], [
|
1326
|
+
# `HibernationOptions` ][4], or [ `TerminateInstances` ][5], or the node
|
1327
|
+
# group deployment or update will fail. For more information about
|
1328
|
+
# launch templates, see [ `CreateLaunchTemplate` ][6] in the Amazon EC2
|
1329
|
+
# API Reference. For more information about using launch templates with
|
1330
|
+
# Amazon EKS, see [Launch template support][7] in the Amazon EKS User
|
1331
|
+
# Guide.
|
1332
|
+
#
|
1333
|
+
# Specify either `name` or `id`, but not both.
|
1334
|
+
#
|
1335
|
+
#
|
1336
|
+
#
|
1337
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateNetworkInterface.html
|
1338
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_IamInstanceProfile.html
|
1339
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html
|
1340
|
+
# [4]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_HibernationOptionsRequest.html
|
1341
|
+
# [5]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_TerminateInstances.html
|
1342
|
+
# [6]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplate.html
|
1343
|
+
# [7]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
1344
|
+
#
|
1345
|
+
# @note When making an API call, you may pass LaunchTemplateSpecification
|
1346
|
+
# data as a hash:
|
1347
|
+
#
|
1348
|
+
# {
|
1349
|
+
# name: "String",
|
1350
|
+
# version: "String",
|
1351
|
+
# id: "String",
|
1352
|
+
# }
|
1353
|
+
#
|
1354
|
+
# @!attribute [rw] name
|
1355
|
+
# The name of the launch template.
|
1356
|
+
# @return [String]
|
1357
|
+
#
|
1358
|
+
# @!attribute [rw] version
|
1359
|
+
# The version of the launch template to use. If no version is
|
1360
|
+
# specified, then the template's default version is used.
|
1361
|
+
# @return [String]
|
1362
|
+
#
|
1363
|
+
# @!attribute [rw] id
|
1364
|
+
# The ID of the launch template.
|
1365
|
+
# @return [String]
|
1366
|
+
#
|
1367
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/LaunchTemplateSpecification AWS API Documentation
|
1368
|
+
#
|
1369
|
+
class LaunchTemplateSpecification < Struct.new(
|
1370
|
+
:name,
|
1371
|
+
:version,
|
1372
|
+
:id)
|
1373
|
+
SENSITIVE = []
|
1135
1374
|
include Aws::Structure
|
1136
1375
|
end
|
1137
1376
|
|
@@ -1172,6 +1411,7 @@ module Aws::EKS
|
|
1172
1411
|
class ListClustersRequest < Struct.new(
|
1173
1412
|
:max_results,
|
1174
1413
|
:next_token)
|
1414
|
+
SENSITIVE = []
|
1175
1415
|
include Aws::Structure
|
1176
1416
|
end
|
1177
1417
|
|
@@ -1192,6 +1432,7 @@ module Aws::EKS
|
|
1192
1432
|
class ListClustersResponse < Struct.new(
|
1193
1433
|
:clusters,
|
1194
1434
|
:next_token)
|
1435
|
+
SENSITIVE = []
|
1195
1436
|
include Aws::Structure
|
1196
1437
|
end
|
1197
1438
|
|
@@ -1235,6 +1476,7 @@ module Aws::EKS
|
|
1235
1476
|
:cluster_name,
|
1236
1477
|
:max_results,
|
1237
1478
|
:next_token)
|
1479
|
+
SENSITIVE = []
|
1238
1480
|
include Aws::Structure
|
1239
1481
|
end
|
1240
1482
|
|
@@ -1256,6 +1498,7 @@ module Aws::EKS
|
|
1256
1498
|
class ListFargateProfilesResponse < Struct.new(
|
1257
1499
|
:fargate_profile_names,
|
1258
1500
|
:next_token)
|
1501
|
+
SENSITIVE = []
|
1259
1502
|
include Aws::Structure
|
1260
1503
|
end
|
1261
1504
|
|
@@ -1298,6 +1541,7 @@ module Aws::EKS
|
|
1298
1541
|
:cluster_name,
|
1299
1542
|
:max_results,
|
1300
1543
|
:next_token)
|
1544
|
+
SENSITIVE = []
|
1301
1545
|
include Aws::Structure
|
1302
1546
|
end
|
1303
1547
|
|
@@ -1319,6 +1563,7 @@ module Aws::EKS
|
|
1319
1563
|
class ListNodegroupsResponse < Struct.new(
|
1320
1564
|
:nodegroups,
|
1321
1565
|
:next_token)
|
1566
|
+
SENSITIVE = []
|
1322
1567
|
include Aws::Structure
|
1323
1568
|
end
|
1324
1569
|
|
@@ -1339,6 +1584,7 @@ module Aws::EKS
|
|
1339
1584
|
#
|
1340
1585
|
class ListTagsForResourceRequest < Struct.new(
|
1341
1586
|
:resource_arn)
|
1587
|
+
SENSITIVE = []
|
1342
1588
|
include Aws::Structure
|
1343
1589
|
end
|
1344
1590
|
|
@@ -1350,6 +1596,7 @@ module Aws::EKS
|
|
1350
1596
|
#
|
1351
1597
|
class ListTagsForResourceResponse < Struct.new(
|
1352
1598
|
:tags)
|
1599
|
+
SENSITIVE = []
|
1353
1600
|
include Aws::Structure
|
1354
1601
|
end
|
1355
1602
|
|
@@ -1396,6 +1643,7 @@ module Aws::EKS
|
|
1396
1643
|
:nodegroup_name,
|
1397
1644
|
:next_token,
|
1398
1645
|
:max_results)
|
1646
|
+
SENSITIVE = []
|
1399
1647
|
include Aws::Structure
|
1400
1648
|
end
|
1401
1649
|
|
@@ -1415,6 +1663,7 @@ module Aws::EKS
|
|
1415
1663
|
class ListUpdatesResponse < Struct.new(
|
1416
1664
|
:update_ids,
|
1417
1665
|
:next_token)
|
1666
|
+
SENSITIVE = []
|
1418
1667
|
include Aws::Structure
|
1419
1668
|
end
|
1420
1669
|
|
@@ -1445,6 +1694,7 @@ module Aws::EKS
|
|
1445
1694
|
class LogSetup < Struct.new(
|
1446
1695
|
:types,
|
1447
1696
|
:enabled)
|
1697
|
+
SENSITIVE = []
|
1448
1698
|
include Aws::Structure
|
1449
1699
|
end
|
1450
1700
|
|
@@ -1471,6 +1721,7 @@ module Aws::EKS
|
|
1471
1721
|
#
|
1472
1722
|
class Logging < Struct.new(
|
1473
1723
|
:cluster_logging)
|
1724
|
+
SENSITIVE = []
|
1474
1725
|
include Aws::Structure
|
1475
1726
|
end
|
1476
1727
|
|
@@ -1494,13 +1745,11 @@ module Aws::EKS
|
|
1494
1745
|
# @return [String]
|
1495
1746
|
#
|
1496
1747
|
# @!attribute [rw] release_version
|
1497
|
-
#
|
1498
|
-
#
|
1499
|
-
#
|
1500
|
-
#
|
1501
|
-
#
|
1502
|
-
#
|
1503
|
-
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html
|
1748
|
+
# If the node group was deployed using a launch template with a custom
|
1749
|
+
# AMI, then this is the AMI ID that was specified in the launch
|
1750
|
+
# template. For node groups that weren't deployed using a launch
|
1751
|
+
# template, this is the version of the Amazon EKS-optimized AMI that
|
1752
|
+
# the node group was deployed with.
|
1504
1753
|
# @return [String]
|
1505
1754
|
#
|
1506
1755
|
# @!attribute [rw] created_at
|
@@ -1523,42 +1772,35 @@ module Aws::EKS
|
|
1523
1772
|
# @return [Types::NodegroupScalingConfig]
|
1524
1773
|
#
|
1525
1774
|
# @!attribute [rw] instance_types
|
1526
|
-
#
|
1775
|
+
# If the node group wasn't deployed with a launch template, then this
|
1776
|
+
# is the instance type that is associated with the node group. If the
|
1777
|
+
# node group was deployed with a launch template, then this is `null`.
|
1527
1778
|
# @return [Array<String>]
|
1528
1779
|
#
|
1529
1780
|
# @!attribute [rw] subnets
|
1530
|
-
# The subnets
|
1531
|
-
# with your node group.
|
1532
|
-
# `kubernetes.io/cluster/CLUSTER_NAME`, where `CLUSTER_NAME` is
|
1533
|
-
# replaced with the name of your cluster.
|
1781
|
+
# The subnets that were specified for the Auto Scaling group that is
|
1782
|
+
# associated with your node group.
|
1534
1783
|
# @return [Array<String>]
|
1535
1784
|
#
|
1536
1785
|
# @!attribute [rw] remote_access
|
1537
|
-
#
|
1538
|
-
# node
|
1786
|
+
# If the node group wasn't deployed with a launch template, then this
|
1787
|
+
# is the remote access configuration that is associated with the node
|
1788
|
+
# group. If the node group was deployed with a launch template, then
|
1789
|
+
# this is `null`.
|
1539
1790
|
# @return [Types::RemoteAccessConfig]
|
1540
1791
|
#
|
1541
1792
|
# @!attribute [rw] ami_type
|
1542
|
-
#
|
1543
|
-
#
|
1544
|
-
#
|
1545
|
-
#
|
1546
|
-
# Linux AMI.
|
1793
|
+
# If the node group was deployed using a launch template with a custom
|
1794
|
+
# AMI, then this is `CUSTOM`. For node groups that weren't deployed
|
1795
|
+
# using a launch template, this is the AMI type that was specified in
|
1796
|
+
# the node group configuration.
|
1547
1797
|
# @return [String]
|
1548
1798
|
#
|
1549
1799
|
# @!attribute [rw] node_role
|
1550
1800
|
# The IAM role associated with your node group. The Amazon EKS worker
|
1551
1801
|
# node `kubelet` daemon makes calls to AWS APIs on your behalf. Worker
|
1552
1802
|
# nodes receive permissions for these API calls through an IAM
|
1553
|
-
# instance profile and associated policies.
|
1554
|
-
# worker nodes and register them into a cluster, you must create an
|
1555
|
-
# IAM role for those worker nodes to use when they are launched. For
|
1556
|
-
# more information, see [Amazon EKS Worker Node IAM Role][1] in the
|
1557
|
-
# <i> <i>Amazon EKS User Guide</i> </i>.
|
1558
|
-
#
|
1559
|
-
#
|
1560
|
-
#
|
1561
|
-
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/worker_node_IAM_role.html
|
1803
|
+
# instance profile and associated policies.
|
1562
1804
|
# @return [String]
|
1563
1805
|
#
|
1564
1806
|
# @!attribute [rw] labels
|
@@ -1577,8 +1819,9 @@ module Aws::EKS
|
|
1577
1819
|
# @return [Types::NodegroupResources]
|
1578
1820
|
#
|
1579
1821
|
# @!attribute [rw] disk_size
|
1580
|
-
#
|
1581
|
-
#
|
1822
|
+
# If the node group wasn't deployed with a launch template, then this
|
1823
|
+
# is the disk size in the node group configuration. If the node group
|
1824
|
+
# was deployed with a launch template, then this is `null`.
|
1582
1825
|
# @return [Integer]
|
1583
1826
|
#
|
1584
1827
|
# @!attribute [rw] health
|
@@ -1586,6 +1829,11 @@ module Aws::EKS
|
|
1586
1829
|
# node group's health, they are listed here.
|
1587
1830
|
# @return [Types::NodegroupHealth]
|
1588
1831
|
#
|
1832
|
+
# @!attribute [rw] launch_template
|
1833
|
+
# If a launch template was used to create the node group, then this is
|
1834
|
+
# the launch template that was used.
|
1835
|
+
# @return [Types::LaunchTemplateSpecification]
|
1836
|
+
#
|
1589
1837
|
# @!attribute [rw] tags
|
1590
1838
|
# The metadata applied to the node group to assist with categorization
|
1591
1839
|
# and organization. Each tag consists of a key and an optional value,
|
@@ -1615,7 +1863,9 @@ module Aws::EKS
|
|
1615
1863
|
:resources,
|
1616
1864
|
:disk_size,
|
1617
1865
|
:health,
|
1866
|
+
:launch_template,
|
1618
1867
|
:tags)
|
1868
|
+
SENSITIVE = []
|
1619
1869
|
include Aws::Structure
|
1620
1870
|
end
|
1621
1871
|
|
@@ -1629,6 +1879,7 @@ module Aws::EKS
|
|
1629
1879
|
#
|
1630
1880
|
class NodegroupHealth < Struct.new(
|
1631
1881
|
:issues)
|
1882
|
+
SENSITIVE = []
|
1632
1883
|
include Aws::Structure
|
1633
1884
|
end
|
1634
1885
|
|
@@ -1649,11 +1900,14 @@ module Aws::EKS
|
|
1649
1900
|
class NodegroupResources < Struct.new(
|
1650
1901
|
:auto_scaling_groups,
|
1651
1902
|
:remote_access_security_group)
|
1903
|
+
SENSITIVE = []
|
1652
1904
|
include Aws::Structure
|
1653
1905
|
end
|
1654
1906
|
|
1655
1907
|
# An object representing the scaling configuration details for the Auto
|
1656
|
-
# Scaling group that is associated with your node group.
|
1908
|
+
# Scaling group that is associated with your node group. If you specify
|
1909
|
+
# a value for any property, then you must specify values for all of the
|
1910
|
+
# properties.
|
1657
1911
|
#
|
1658
1912
|
# @note When making an API call, you may pass NodegroupScalingConfig
|
1659
1913
|
# data as a hash:
|
@@ -1686,6 +1940,7 @@ module Aws::EKS
|
|
1686
1940
|
:min_size,
|
1687
1941
|
:max_size,
|
1688
1942
|
:desired_size)
|
1943
|
+
SENSITIVE = []
|
1689
1944
|
include Aws::Structure
|
1690
1945
|
end
|
1691
1946
|
|
@@ -1699,6 +1954,7 @@ module Aws::EKS
|
|
1699
1954
|
#
|
1700
1955
|
class NotFoundException < Struct.new(
|
1701
1956
|
:message)
|
1957
|
+
SENSITIVE = []
|
1702
1958
|
include Aws::Structure
|
1703
1959
|
end
|
1704
1960
|
|
@@ -1717,6 +1973,7 @@ module Aws::EKS
|
|
1717
1973
|
#
|
1718
1974
|
class OIDC < Struct.new(
|
1719
1975
|
:issuer)
|
1976
|
+
SENSITIVE = []
|
1720
1977
|
include Aws::Structure
|
1721
1978
|
end
|
1722
1979
|
|
@@ -1747,6 +2004,7 @@ module Aws::EKS
|
|
1747
2004
|
#
|
1748
2005
|
class Provider < Struct.new(
|
1749
2006
|
:key_arn)
|
2007
|
+
SENSITIVE = []
|
1750
2008
|
include Aws::Structure
|
1751
2009
|
end
|
1752
2010
|
|
@@ -1790,6 +2048,7 @@ module Aws::EKS
|
|
1790
2048
|
class RemoteAccessConfig < Struct.new(
|
1791
2049
|
:ec2_ssh_key,
|
1792
2050
|
:source_security_groups)
|
2051
|
+
SENSITIVE = []
|
1793
2052
|
include Aws::Structure
|
1794
2053
|
end
|
1795
2054
|
|
@@ -1812,6 +2071,7 @@ module Aws::EKS
|
|
1812
2071
|
:cluster_name,
|
1813
2072
|
:nodegroup_name,
|
1814
2073
|
:message)
|
2074
|
+
SENSITIVE = []
|
1815
2075
|
include Aws::Structure
|
1816
2076
|
end
|
1817
2077
|
|
@@ -1834,6 +2094,7 @@ module Aws::EKS
|
|
1834
2094
|
:cluster_name,
|
1835
2095
|
:nodegroup_name,
|
1836
2096
|
:message)
|
2097
|
+
SENSITIVE = []
|
1837
2098
|
include Aws::Structure
|
1838
2099
|
end
|
1839
2100
|
|
@@ -1864,6 +2125,7 @@ module Aws::EKS
|
|
1864
2125
|
:nodegroup_name,
|
1865
2126
|
:fargate_profile_name,
|
1866
2127
|
:message)
|
2128
|
+
SENSITIVE = []
|
1867
2129
|
include Aws::Structure
|
1868
2130
|
end
|
1869
2131
|
|
@@ -1886,6 +2148,7 @@ module Aws::EKS
|
|
1886
2148
|
:cluster_name,
|
1887
2149
|
:nodegroup_name,
|
1888
2150
|
:message)
|
2151
|
+
SENSITIVE = []
|
1889
2152
|
include Aws::Structure
|
1890
2153
|
end
|
1891
2154
|
|
@@ -1898,6 +2161,7 @@ module Aws::EKS
|
|
1898
2161
|
#
|
1899
2162
|
class ServiceUnavailableException < Struct.new(
|
1900
2163
|
:message)
|
2164
|
+
SENSITIVE = []
|
1901
2165
|
include Aws::Structure
|
1902
2166
|
end
|
1903
2167
|
|
@@ -1927,6 +2191,7 @@ module Aws::EKS
|
|
1927
2191
|
class TagResourceRequest < Struct.new(
|
1928
2192
|
:resource_arn,
|
1929
2193
|
:tags)
|
2194
|
+
SENSITIVE = []
|
1930
2195
|
include Aws::Structure
|
1931
2196
|
end
|
1932
2197
|
|
@@ -1962,6 +2227,7 @@ module Aws::EKS
|
|
1962
2227
|
:cluster_name,
|
1963
2228
|
:nodegroup_name,
|
1964
2229
|
:valid_zones)
|
2230
|
+
SENSITIVE = []
|
1965
2231
|
include Aws::Structure
|
1966
2232
|
end
|
1967
2233
|
|
@@ -1988,6 +2254,7 @@ module Aws::EKS
|
|
1988
2254
|
class UntagResourceRequest < Struct.new(
|
1989
2255
|
:resource_arn,
|
1990
2256
|
:tag_keys)
|
2257
|
+
SENSITIVE = []
|
1991
2258
|
include Aws::Structure
|
1992
2259
|
end
|
1993
2260
|
|
@@ -2031,6 +2298,7 @@ module Aws::EKS
|
|
2031
2298
|
:params,
|
2032
2299
|
:created_at,
|
2033
2300
|
:errors)
|
2301
|
+
SENSITIVE = []
|
2034
2302
|
include Aws::Structure
|
2035
2303
|
end
|
2036
2304
|
|
@@ -2100,6 +2368,7 @@ module Aws::EKS
|
|
2100
2368
|
:resources_vpc_config,
|
2101
2369
|
:logging,
|
2102
2370
|
:client_request_token)
|
2371
|
+
SENSITIVE = []
|
2103
2372
|
include Aws::Structure
|
2104
2373
|
end
|
2105
2374
|
|
@@ -2111,6 +2380,7 @@ module Aws::EKS
|
|
2111
2380
|
#
|
2112
2381
|
class UpdateClusterConfigResponse < Struct.new(
|
2113
2382
|
:update)
|
2383
|
+
SENSITIVE = []
|
2114
2384
|
include Aws::Structure
|
2115
2385
|
end
|
2116
2386
|
|
@@ -2145,6 +2415,7 @@ module Aws::EKS
|
|
2145
2415
|
:name,
|
2146
2416
|
:version,
|
2147
2417
|
:client_request_token)
|
2418
|
+
SENSITIVE = []
|
2148
2419
|
include Aws::Structure
|
2149
2420
|
end
|
2150
2421
|
|
@@ -2156,6 +2427,7 @@ module Aws::EKS
|
|
2156
2427
|
#
|
2157
2428
|
class UpdateClusterVersionResponse < Struct.new(
|
2158
2429
|
:update)
|
2430
|
+
SENSITIVE = []
|
2159
2431
|
include Aws::Structure
|
2160
2432
|
end
|
2161
2433
|
|
@@ -2185,6 +2457,7 @@ module Aws::EKS
|
|
2185
2457
|
class UpdateLabelsPayload < Struct.new(
|
2186
2458
|
:add_or_update_labels,
|
2187
2459
|
:remove_labels)
|
2460
|
+
SENSITIVE = []
|
2188
2461
|
include Aws::Structure
|
2189
2462
|
end
|
2190
2463
|
|
@@ -2243,6 +2516,7 @@ module Aws::EKS
|
|
2243
2516
|
:labels,
|
2244
2517
|
:scaling_config,
|
2245
2518
|
:client_request_token)
|
2519
|
+
SENSITIVE = []
|
2246
2520
|
include Aws::Structure
|
2247
2521
|
end
|
2248
2522
|
|
@@ -2254,6 +2528,7 @@ module Aws::EKS
|
|
2254
2528
|
#
|
2255
2529
|
class UpdateNodegroupConfigResponse < Struct.new(
|
2256
2530
|
:update)
|
2531
|
+
SENSITIVE = []
|
2257
2532
|
include Aws::Structure
|
2258
2533
|
end
|
2259
2534
|
|
@@ -2265,6 +2540,11 @@ module Aws::EKS
|
|
2265
2540
|
# nodegroup_name: "String", # required
|
2266
2541
|
# version: "String",
|
2267
2542
|
# release_version: "String",
|
2543
|
+
# launch_template: {
|
2544
|
+
# name: "String",
|
2545
|
+
# version: "String",
|
2546
|
+
# id: "String",
|
2547
|
+
# },
|
2268
2548
|
# force: false,
|
2269
2549
|
# client_request_token: "String",
|
2270
2550
|
# }
|
@@ -2283,7 +2563,15 @@ module Aws::EKS
|
|
2283
2563
|
# then the Kubernetes version of the node group does not change. You
|
2284
2564
|
# can specify the Kubernetes version of the cluster to update the node
|
2285
2565
|
# group to the latest AMI version of the cluster's Kubernetes
|
2286
|
-
# version.
|
2566
|
+
# version. If you specify `launchTemplate`, and your launch template
|
2567
|
+
# uses a custom AMI, then don't specify `version`, or the node group
|
2568
|
+
# update will fail. For more information about using launch templates
|
2569
|
+
# with Amazon EKS, see [Launch template support][1] in the Amazon EKS
|
2570
|
+
# User Guide.
|
2571
|
+
#
|
2572
|
+
#
|
2573
|
+
#
|
2574
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
2287
2575
|
# @return [String]
|
2288
2576
|
#
|
2289
2577
|
# @!attribute [rw] release_version
|
@@ -2291,13 +2579,25 @@ module Aws::EKS
|
|
2291
2579
|
# update. By default, the latest available AMI version for the node
|
2292
2580
|
# group's Kubernetes version is used. For more information, see
|
2293
2581
|
# [Amazon EKS-Optimized Linux AMI Versions ][1] in the *Amazon EKS
|
2294
|
-
# User Guide*.
|
2582
|
+
# User Guide*. If you specify `launchTemplate`, and your launch
|
2583
|
+
# template uses a custom AMI, then don't specify `releaseVersion`, or
|
2584
|
+
# the node group update will fail. For more information about using
|
2585
|
+
# launch templates with Amazon EKS, see [Launch template support][2]
|
2586
|
+
# in the Amazon EKS User Guide.
|
2295
2587
|
#
|
2296
2588
|
#
|
2297
2589
|
#
|
2298
2590
|
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html
|
2591
|
+
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
2299
2592
|
# @return [String]
|
2300
2593
|
#
|
2594
|
+
# @!attribute [rw] launch_template
|
2595
|
+
# An object representing a node group's launch template
|
2596
|
+
# specification. You can only update a node group using a launch
|
2597
|
+
# template if the node group was originally deployed with a launch
|
2598
|
+
# template.
|
2599
|
+
# @return [Types::LaunchTemplateSpecification]
|
2600
|
+
#
|
2301
2601
|
# @!attribute [rw] force
|
2302
2602
|
# Force the update if the existing node group's pods are unable to be
|
2303
2603
|
# drained due to a pod disruption budget issue. If an update fails
|
@@ -2321,8 +2621,10 @@ module Aws::EKS
|
|
2321
2621
|
:nodegroup_name,
|
2322
2622
|
:version,
|
2323
2623
|
:release_version,
|
2624
|
+
:launch_template,
|
2324
2625
|
:force,
|
2325
2626
|
:client_request_token)
|
2627
|
+
SENSITIVE = []
|
2326
2628
|
include Aws::Structure
|
2327
2629
|
end
|
2328
2630
|
|
@@ -2334,6 +2636,7 @@ module Aws::EKS
|
|
2334
2636
|
#
|
2335
2637
|
class UpdateNodegroupVersionResponse < Struct.new(
|
2336
2638
|
:update)
|
2639
|
+
SENSITIVE = []
|
2337
2640
|
include Aws::Structure
|
2338
2641
|
end
|
2339
2642
|
|
@@ -2352,6 +2655,7 @@ module Aws::EKS
|
|
2352
2655
|
class UpdateParam < Struct.new(
|
2353
2656
|
:type,
|
2354
2657
|
:value)
|
2658
|
+
SENSITIVE = []
|
2355
2659
|
include Aws::Structure
|
2356
2660
|
end
|
2357
2661
|
|
@@ -2439,6 +2743,7 @@ module Aws::EKS
|
|
2439
2743
|
:endpoint_public_access,
|
2440
2744
|
:endpoint_private_access,
|
2441
2745
|
:public_access_cidrs)
|
2746
|
+
SENSITIVE = []
|
2442
2747
|
include Aws::Structure
|
2443
2748
|
end
|
2444
2749
|
|
@@ -2514,6 +2819,7 @@ module Aws::EKS
|
|
2514
2819
|
:endpoint_public_access,
|
2515
2820
|
:endpoint_private_access,
|
2516
2821
|
:public_access_cidrs)
|
2822
|
+
SENSITIVE = []
|
2517
2823
|
include Aws::Structure
|
2518
2824
|
end
|
2519
2825
|
|