aws-sdk-eks 1.53.0 → 1.58.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-eks.rb +1 -1
- data/lib/aws-sdk-eks/client.rb +111 -79
- data/lib/aws-sdk-eks/client_api.rb +10 -0
- data/lib/aws-sdk-eks/types.rb +113 -56
- data/lib/aws-sdk-eks/waiters.rb +103 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 504c392eb711be133f1ee159b923875b37cb5a40ec84b4b3200d0d5f2b7851bb
|
4
|
+
data.tar.gz: 817f0de9c1969bfec50966a73e23e4d101c2b0840e24d5026257aa15e7689b77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6785dddde0f39e3b9bc335e1c9d72d75d145daffa50deb15acdaf0694695bd1241f86c802e2a3524175c1e866f1a6b0d3c830e0a22dba15991e598cf72d9dc8
|
7
|
+
data.tar.gz: 56e33dec786b2d756b60bfeb9c75229ccae4d0eea152afc6965d58649c3327431a4c81fb4ab046e8860596f2258f4d2ce6ab2a850bc84803d427795f9bad158b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,31 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.58.0 (2021-07-12)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation updates for Wesley to support the parallel node upgrade feature.
|
8
|
+
|
9
|
+
1.57.0 (2021-07-08)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added waiters for EKS FargateProfiles.
|
13
|
+
|
14
|
+
1.56.0 (2021-07-06)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Adding new error code UnsupportedAddonModification for Addons in EKS
|
18
|
+
|
19
|
+
1.55.0 (2021-06-07)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Added updateConfig option that allows customers to control upgrade velocity in Managed Node Group.
|
23
|
+
|
24
|
+
1.54.0 (2021-05-19)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Update the EKS AddonActive waiter.
|
28
|
+
|
4
29
|
1.53.0 (2021-05-10)
|
5
30
|
------------------
|
6
31
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.58.0
|
data/lib/aws-sdk-eks.rb
CHANGED
data/lib/aws-sdk-eks/client.rb
CHANGED
@@ -332,7 +332,7 @@ module Aws::EKS
|
|
332
332
|
# You can use this API to enable encryption on existing clusters which
|
333
333
|
# do not have encryption already enabled. This allows you to implement a
|
334
334
|
# defense-in-depth security strategy without migrating applications to
|
335
|
-
# new EKS clusters.
|
335
|
+
# new Amazon EKS clusters.
|
336
336
|
#
|
337
337
|
# @option params [required, String] :cluster_name
|
338
338
|
# The name of the cluster that you are associating with encryption
|
@@ -373,11 +373,11 @@ module Aws::EKS
|
|
373
373
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
374
374
|
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
|
375
375
|
# resp.update.params #=> Array
|
376
|
-
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
|
376
|
+
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts", "MaxUnavailable", "MaxUnavailablePercentage"
|
377
377
|
# resp.update.params[0].value #=> String
|
378
378
|
# resp.update.created_at #=> Time
|
379
379
|
# resp.update.errors #=> Array
|
380
|
-
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied"
|
380
|
+
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
|
381
381
|
# resp.update.errors[0].error_message #=> String
|
382
382
|
# resp.update.errors[0].resource_ids #=> Array
|
383
383
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -457,11 +457,11 @@ module Aws::EKS
|
|
457
457
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
458
458
|
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
|
459
459
|
# resp.update.params #=> Array
|
460
|
-
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
|
460
|
+
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts", "MaxUnavailable", "MaxUnavailablePercentage"
|
461
461
|
# resp.update.params[0].value #=> String
|
462
462
|
# resp.update.created_at #=> Time
|
463
463
|
# resp.update.errors #=> Array
|
464
|
-
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied"
|
464
|
+
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
|
465
465
|
# resp.update.errors[0].error_message #=> String
|
466
466
|
# resp.update.errors[0].resource_ids #=> Array
|
467
467
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -491,11 +491,11 @@ module Aws::EKS
|
|
491
491
|
#
|
492
492
|
# @option params [required, String] :addon_name
|
493
493
|
# The name of the add-on. The name must match one of the names returned
|
494
|
-
# by [ `
|
494
|
+
# by [ `DescribeAddonVersions` ][1].
|
495
495
|
#
|
496
496
|
#
|
497
497
|
#
|
498
|
-
# [1]: https://docs.aws.amazon.com/eks/latest/APIReference/
|
498
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonVersions.html
|
499
499
|
#
|
500
500
|
# @option params [String] :addon_version
|
501
501
|
# The version of the add-on. The version must match one of the versions
|
@@ -566,7 +566,7 @@ module Aws::EKS
|
|
566
566
|
# resp.addon.status #=> String, one of "CREATING", "ACTIVE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETE_FAILED", "DEGRADED"
|
567
567
|
# resp.addon.addon_version #=> String
|
568
568
|
# resp.addon.health.issues #=> Array
|
569
|
-
# resp.addon.health.issues[0].code #=> String, one of "AccessDenied", "InternalFailure", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied"
|
569
|
+
# resp.addon.health.issues[0].code #=> String, one of "AccessDenied", "InternalFailure", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
|
570
570
|
# resp.addon.health.issues[0].message #=> String
|
571
571
|
# resp.addon.health.issues[0].resource_ids #=> Array
|
572
572
|
# resp.addon.health.issues[0].resource_ids[0] #=> String
|
@@ -590,10 +590,10 @@ module Aws::EKS
|
|
590
590
|
#
|
591
591
|
# The Amazon EKS control plane consists of control plane instances that
|
592
592
|
# run the Kubernetes software, such as `etcd` and the API server. The
|
593
|
-
# control plane runs in an account managed by
|
594
|
-
# API is exposed via the Amazon EKS API server endpoint.
|
595
|
-
# cluster control plane is single-tenant and unique and
|
596
|
-
# set of Amazon EC2 instances.
|
593
|
+
# control plane runs in an account managed by Amazon Web Services, and
|
594
|
+
# the Kubernetes API is exposed via the Amazon EKS API server endpoint.
|
595
|
+
# Each Amazon EKS cluster control plane is single-tenant and unique and
|
596
|
+
# runs on its own set of Amazon EC2 instances.
|
597
597
|
#
|
598
598
|
# The cluster control plane is provisioned across multiple Availability
|
599
599
|
# Zones and fronted by an Elastic Load Balancing Network Load Balancer.
|
@@ -602,9 +602,9 @@ module Aws::EKS
|
|
602
602
|
# the nodes (for example, to support `kubectl exec`, `logs`, and `proxy`
|
603
603
|
# data flows).
|
604
604
|
#
|
605
|
-
# Amazon EKS nodes run in your
|
606
|
-
# cluster's control plane via the Kubernetes API server
|
607
|
-
# certificate file that is created for your cluster.
|
605
|
+
# Amazon EKS nodes run in your Amazon Web Services account and connect
|
606
|
+
# to your cluster's control plane via the Kubernetes API server
|
607
|
+
# endpoint and a certificate file that is created for your cluster.
|
608
608
|
#
|
609
609
|
# Cluster creation typically takes several minutes. After you create an
|
610
610
|
# Amazon EKS cluster, you must configure your Kubernetes tooling to
|
@@ -626,9 +626,10 @@ module Aws::EKS
|
|
626
626
|
#
|
627
627
|
# @option params [required, String] :role_arn
|
628
628
|
# The Amazon Resource Name (ARN) of the IAM role that provides
|
629
|
-
# permissions for the Kubernetes control plane to make calls to
|
630
|
-
# operations on your behalf. For more information, see
|
631
|
-
# Service IAM Role][1] in the <i> <i>Amazon EKS User
|
629
|
+
# permissions for the Kubernetes control plane to make calls to Amazon
|
630
|
+
# Web Services API operations on your behalf. For more information, see
|
631
|
+
# [Amazon EKS Service IAM Role][1] in the <i> <i>Amazon EKS User
|
632
|
+
# Guide</i> </i>.
|
632
633
|
#
|
633
634
|
#
|
634
635
|
#
|
@@ -655,12 +656,12 @@ module Aws::EKS
|
|
655
656
|
# Enable or disable exporting the Kubernetes control plane logs for your
|
656
657
|
# cluster to CloudWatch Logs. By default, cluster control plane logs
|
657
658
|
# aren't exported to CloudWatch Logs. For more information, see [Amazon
|
658
|
-
# EKS Cluster
|
659
|
+
# EKS Cluster control plane logs][1] in the <i> <i>Amazon EKS User
|
659
660
|
# Guide</i> </i>.
|
660
661
|
#
|
661
662
|
# <note markdown="1"> CloudWatch Logs ingestion, archive storage, and data scanning rates
|
662
663
|
# apply to exported control plane logs. For more information, see
|
663
|
-
# [
|
664
|
+
# [CloudWatch Pricing][2].
|
664
665
|
#
|
665
666
|
# </note>
|
666
667
|
#
|
@@ -795,9 +796,9 @@ module Aws::EKS
|
|
795
796
|
req.send_request(options)
|
796
797
|
end
|
797
798
|
|
798
|
-
# Creates an
|
799
|
-
#
|
800
|
-
#
|
799
|
+
# Creates an Fargate profile for your Amazon EKS cluster. You must have
|
800
|
+
# at least one Fargate profile in a cluster to be able to run pods on
|
801
|
+
# Fargate.
|
801
802
|
#
|
802
803
|
# The Fargate profile allows an administrator to declare which pods run
|
803
804
|
# on Fargate and specify which pods run on which Fargate profile. This
|
@@ -827,8 +828,8 @@ module Aws::EKS
|
|
827
828
|
# must wait for that Fargate profile to finish deleting before you can
|
828
829
|
# create any other profiles in that cluster.
|
829
830
|
#
|
830
|
-
# For more information, see [
|
831
|
-
#
|
831
|
+
# For more information, see [Fargate Profile][3] in the *Amazon EKS User
|
832
|
+
# Guide*.
|
832
833
|
#
|
833
834
|
#
|
834
835
|
#
|
@@ -940,10 +941,10 @@ module Aws::EKS
|
|
940
941
|
# [Launch template support][1].
|
941
942
|
#
|
942
943
|
# An Amazon EKS managed node group is an Amazon EC2 Auto Scaling group
|
943
|
-
# and associated Amazon EC2 instances that are managed by
|
944
|
-
# Amazon EKS cluster. Each node group uses a version of
|
945
|
-
# optimized Amazon Linux 2 AMI. For more information, see
|
946
|
-
# Groups][2] in the *Amazon EKS User Guide*.
|
944
|
+
# and associated Amazon EC2 instances that are managed by Amazon Web
|
945
|
+
# Services for an Amazon EKS cluster. Each node group uses a version of
|
946
|
+
# the Amazon EKS optimized Amazon Linux 2 AMI. For more information, see
|
947
|
+
# [Managed Node Groups][2] in the *Amazon EKS User Guide*.
|
947
948
|
#
|
948
949
|
#
|
949
950
|
#
|
@@ -1032,16 +1033,16 @@ module Aws::EKS
|
|
1032
1033
|
# @option params [required, String] :node_role
|
1033
1034
|
# The Amazon Resource Name (ARN) of the IAM role to associate with your
|
1034
1035
|
# node group. The Amazon EKS worker node `kubelet` daemon makes calls to
|
1035
|
-
#
|
1036
|
-
# through an IAM instance profile and associated
|
1037
|
-
# can launch nodes and register them into a
|
1038
|
-
# IAM role for those nodes to use when they
|
1039
|
-
# information, see [Amazon EKS node IAM role][1]
|
1040
|
-
# EKS User Guide</i> </i>. If you specify
|
1041
|
-
# specify [ `IamInstanceProfile` ][2] in
|
1042
|
-
# node group deployment will fail. For more
|
1043
|
-
# launch templates with Amazon EKS, see [Launch
|
1044
|
-
# the Amazon EKS User Guide.
|
1036
|
+
# Amazon Web Services APIs on your behalf. Nodes receive permissions for
|
1037
|
+
# these API calls through an IAM instance profile and associated
|
1038
|
+
# policies. Before you can launch nodes and register them into a
|
1039
|
+
# cluster, you must create an IAM role for those nodes to use when they
|
1040
|
+
# are launched. For more information, see [Amazon EKS node IAM role][1]
|
1041
|
+
# in the <i> <i>Amazon EKS User Guide</i> </i>. If you specify
|
1042
|
+
# `launchTemplate`, then don't specify [ `IamInstanceProfile` ][2] in
|
1043
|
+
# your launch template, or the node group deployment will fail. For more
|
1044
|
+
# information about using launch templates with Amazon EKS, see [Launch
|
1045
|
+
# template support][3] in the Amazon EKS User Guide.
|
1045
1046
|
#
|
1046
1047
|
#
|
1047
1048
|
#
|
@@ -1076,6 +1077,9 @@ module Aws::EKS
|
|
1076
1077
|
# `remoteAccess` and make sure that the launch template meets the
|
1077
1078
|
# requirements in `launchTemplateSpecification`.
|
1078
1079
|
#
|
1080
|
+
# @option params [Types::NodegroupUpdateConfig] :update_config
|
1081
|
+
# The node group update configuration.
|
1082
|
+
#
|
1079
1083
|
# @option params [String] :capacity_type
|
1080
1084
|
# The capacity type for your node group.
|
1081
1085
|
#
|
@@ -1150,6 +1154,10 @@ module Aws::EKS
|
|
1150
1154
|
# version: "String",
|
1151
1155
|
# id: "String",
|
1152
1156
|
# },
|
1157
|
+
# update_config: {
|
1158
|
+
# max_unavailable: 1,
|
1159
|
+
# max_unavailable_percentage: 1,
|
1160
|
+
# },
|
1153
1161
|
# capacity_type: "ON_DEMAND", # accepts ON_DEMAND, SPOT
|
1154
1162
|
# version: "String",
|
1155
1163
|
# release_version: "String",
|
@@ -1193,6 +1201,8 @@ module Aws::EKS
|
|
1193
1201
|
# resp.nodegroup.health.issues[0].message #=> String
|
1194
1202
|
# resp.nodegroup.health.issues[0].resource_ids #=> Array
|
1195
1203
|
# resp.nodegroup.health.issues[0].resource_ids[0] #=> String
|
1204
|
+
# resp.nodegroup.update_config.max_unavailable #=> Integer
|
1205
|
+
# resp.nodegroup.update_config.max_unavailable_percentage #=> Integer
|
1196
1206
|
# resp.nodegroup.launch_template.name #=> String
|
1197
1207
|
# resp.nodegroup.launch_template.version #=> String
|
1198
1208
|
# resp.nodegroup.launch_template.id #=> String
|
@@ -1243,7 +1253,7 @@ module Aws::EKS
|
|
1243
1253
|
# resp.addon.status #=> String, one of "CREATING", "ACTIVE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETE_FAILED", "DEGRADED"
|
1244
1254
|
# resp.addon.addon_version #=> String
|
1245
1255
|
# resp.addon.health.issues #=> Array
|
1246
|
-
# resp.addon.health.issues[0].code #=> String, one of "AccessDenied", "InternalFailure", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied"
|
1256
|
+
# resp.addon.health.issues[0].code #=> String, one of "AccessDenied", "InternalFailure", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
|
1247
1257
|
# resp.addon.health.issues[0].message #=> String
|
1248
1258
|
# resp.addon.health.issues[0].resource_ids #=> Array
|
1249
1259
|
# resp.addon.health.issues[0].resource_ids[0] #=> String
|
@@ -1350,7 +1360,7 @@ module Aws::EKS
|
|
1350
1360
|
req.send_request(options)
|
1351
1361
|
end
|
1352
1362
|
|
1353
|
-
# Deletes an
|
1363
|
+
# Deletes an Fargate profile.
|
1354
1364
|
#
|
1355
1365
|
# When you delete a Fargate profile, any pods running on Fargate that
|
1356
1366
|
# were created with the profile are deleted. If those pods match another
|
@@ -1464,6 +1474,8 @@ module Aws::EKS
|
|
1464
1474
|
# resp.nodegroup.health.issues[0].message #=> String
|
1465
1475
|
# resp.nodegroup.health.issues[0].resource_ids #=> Array
|
1466
1476
|
# resp.nodegroup.health.issues[0].resource_ids[0] #=> String
|
1477
|
+
# resp.nodegroup.update_config.max_unavailable #=> Integer
|
1478
|
+
# resp.nodegroup.update_config.max_unavailable_percentage #=> Integer
|
1467
1479
|
# resp.nodegroup.launch_template.name #=> String
|
1468
1480
|
# resp.nodegroup.launch_template.version #=> String
|
1469
1481
|
# resp.nodegroup.launch_template.id #=> String
|
@@ -1510,7 +1522,7 @@ module Aws::EKS
|
|
1510
1522
|
# resp.addon.status #=> String, one of "CREATING", "ACTIVE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETE_FAILED", "DEGRADED"
|
1511
1523
|
# resp.addon.addon_version #=> String
|
1512
1524
|
# resp.addon.health.issues #=> Array
|
1513
|
-
# resp.addon.health.issues[0].code #=> String, one of "AccessDenied", "InternalFailure", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied"
|
1525
|
+
# resp.addon.health.issues[0].code #=> String, one of "AccessDenied", "InternalFailure", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
|
1514
1526
|
# resp.addon.health.issues[0].message #=> String
|
1515
1527
|
# resp.addon.health.issues[0].resource_ids #=> Array
|
1516
1528
|
# resp.addon.health.issues[0].resource_ids[0] #=> String
|
@@ -1720,7 +1732,7 @@ module Aws::EKS
|
|
1720
1732
|
req.send_request(options)
|
1721
1733
|
end
|
1722
1734
|
|
1723
|
-
# Returns descriptive information about an
|
1735
|
+
# Returns descriptive information about an Fargate profile.
|
1724
1736
|
#
|
1725
1737
|
# @option params [required, String] :cluster_name
|
1726
1738
|
# The name of the Amazon EKS cluster associated with the Fargate
|
@@ -1757,6 +1769,12 @@ module Aws::EKS
|
|
1757
1769
|
# resp.fargate_profile.tags #=> Hash
|
1758
1770
|
# resp.fargate_profile.tags["TagKey"] #=> String
|
1759
1771
|
#
|
1772
|
+
#
|
1773
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
1774
|
+
#
|
1775
|
+
# * fargate_profile_active
|
1776
|
+
# * fargate_profile_deleted
|
1777
|
+
#
|
1760
1778
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeFargateProfile AWS API Documentation
|
1761
1779
|
#
|
1762
1780
|
# @overload describe_fargate_profile(params = {})
|
@@ -1873,6 +1891,8 @@ module Aws::EKS
|
|
1873
1891
|
# resp.nodegroup.health.issues[0].message #=> String
|
1874
1892
|
# resp.nodegroup.health.issues[0].resource_ids #=> Array
|
1875
1893
|
# resp.nodegroup.health.issues[0].resource_ids[0] #=> String
|
1894
|
+
# resp.nodegroup.update_config.max_unavailable #=> Integer
|
1895
|
+
# resp.nodegroup.update_config.max_unavailable_percentage #=> Integer
|
1876
1896
|
# resp.nodegroup.launch_template.name #=> String
|
1877
1897
|
# resp.nodegroup.launch_template.version #=> String
|
1878
1898
|
# resp.nodegroup.launch_template.id #=> String
|
@@ -1937,11 +1957,11 @@ module Aws::EKS
|
|
1937
1957
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
1938
1958
|
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
|
1939
1959
|
# resp.update.params #=> Array
|
1940
|
-
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
|
1960
|
+
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts", "MaxUnavailable", "MaxUnavailablePercentage"
|
1941
1961
|
# resp.update.params[0].value #=> String
|
1942
1962
|
# resp.update.created_at #=> Time
|
1943
1963
|
# resp.update.errors #=> Array
|
1944
|
-
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied"
|
1964
|
+
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
|
1945
1965
|
# resp.update.errors[0].error_message #=> String
|
1946
1966
|
# resp.update.errors[0].resource_ids #=> Array
|
1947
1967
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -1958,7 +1978,7 @@ module Aws::EKS
|
|
1958
1978
|
# Disassociates an identity provider configuration from a cluster. If
|
1959
1979
|
# you disassociate an identity provider from your cluster, users
|
1960
1980
|
# included in the provider can no longer access the cluster. However,
|
1961
|
-
# you can still access the cluster with
|
1981
|
+
# you can still access the cluster with Amazon Web Services IAM users.
|
1962
1982
|
#
|
1963
1983
|
# @option params [required, String] :cluster_name
|
1964
1984
|
# The name of the cluster to disassociate an identity provider from.
|
@@ -1994,11 +2014,11 @@ module Aws::EKS
|
|
1994
2014
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
1995
2015
|
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
|
1996
2016
|
# resp.update.params #=> Array
|
1997
|
-
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
|
2017
|
+
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts", "MaxUnavailable", "MaxUnavailablePercentage"
|
1998
2018
|
# resp.update.params[0].value #=> String
|
1999
2019
|
# resp.update.created_at #=> Time
|
2000
2020
|
# resp.update.errors #=> Array
|
2001
|
-
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied"
|
2021
|
+
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
|
2002
2022
|
# resp.update.errors[0].error_message #=> String
|
2003
2023
|
# resp.update.errors[0].resource_ids #=> Array
|
2004
2024
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -2069,8 +2089,8 @@ module Aws::EKS
|
|
2069
2089
|
req.send_request(options)
|
2070
2090
|
end
|
2071
2091
|
|
2072
|
-
# Lists the Amazon EKS clusters in your
|
2073
|
-
# Region.
|
2092
|
+
# Lists the Amazon EKS clusters in your Amazon Web Services account in
|
2093
|
+
# the specified Region.
|
2074
2094
|
#
|
2075
2095
|
# @option params [Integer] :max_results
|
2076
2096
|
# The maximum number of cluster results returned by `ListClusters` in
|
@@ -2139,11 +2159,11 @@ module Aws::EKS
|
|
2139
2159
|
req.send_request(options)
|
2140
2160
|
end
|
2141
2161
|
|
2142
|
-
# Lists the
|
2143
|
-
#
|
2162
|
+
# Lists the Fargate profiles associated with the specified cluster in
|
2163
|
+
# your Amazon Web Services account in the specified Region.
|
2144
2164
|
#
|
2145
2165
|
# @option params [required, String] :cluster_name
|
2146
|
-
# The name of the Amazon EKS cluster that you would like to
|
2166
|
+
# The name of the Amazon EKS cluster that you would like to list Fargate
|
2147
2167
|
# profiles in.
|
2148
2168
|
#
|
2149
2169
|
# @option params [Integer] :max_results
|
@@ -2250,8 +2270,8 @@ module Aws::EKS
|
|
2250
2270
|
end
|
2251
2271
|
|
2252
2272
|
# Lists the Amazon EKS managed node groups associated with the specified
|
2253
|
-
# cluster in your
|
2254
|
-
# groups are not listed.
|
2273
|
+
# cluster in your Amazon Web Services account in the specified Region.
|
2274
|
+
# Self-managed node groups are not listed.
|
2255
2275
|
#
|
2256
2276
|
# @option params [required, String] :cluster_name
|
2257
2277
|
# The name of the Amazon EKS cluster that you would like to list node
|
@@ -2351,7 +2371,8 @@ module Aws::EKS
|
|
2351
2371
|
end
|
2352
2372
|
|
2353
2373
|
# Lists the updates associated with an Amazon EKS cluster or managed
|
2354
|
-
# node group in your
|
2374
|
+
# node group in your Amazon Web Services account, in the specified
|
2375
|
+
# Region.
|
2355
2376
|
#
|
2356
2377
|
# @option params [required, String] :name
|
2357
2378
|
# The name of the Amazon EKS cluster to list updates for.
|
@@ -2548,11 +2569,11 @@ module Aws::EKS
|
|
2548
2569
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
2549
2570
|
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
|
2550
2571
|
# resp.update.params #=> Array
|
2551
|
-
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
|
2572
|
+
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts", "MaxUnavailable", "MaxUnavailablePercentage"
|
2552
2573
|
# resp.update.params[0].value #=> String
|
2553
2574
|
# resp.update.created_at #=> Time
|
2554
2575
|
# resp.update.errors #=> Array
|
2555
|
-
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied"
|
2576
|
+
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
|
2556
2577
|
# resp.update.errors[0].error_message #=> String
|
2557
2578
|
# resp.update.errors[0].resource_ids #=> Array
|
2558
2579
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -2579,14 +2600,14 @@ module Aws::EKS
|
|
2579
2600
|
#
|
2580
2601
|
# <note markdown="1"> CloudWatch Logs ingestion, archive storage, and data scanning rates
|
2581
2602
|
# apply to exported control plane logs. For more information, see
|
2582
|
-
# [
|
2603
|
+
# [CloudWatch Pricing][2].
|
2583
2604
|
#
|
2584
2605
|
# </note>
|
2585
2606
|
#
|
2586
2607
|
# You can also use this API operation to enable or disable public and
|
2587
2608
|
# private access to your cluster's Kubernetes API server endpoint. By
|
2588
2609
|
# default, public access is enabled, and private access is disabled. For
|
2589
|
-
# more information, see [Amazon EKS
|
2610
|
+
# more information, see [Amazon EKS cluster endpoint access control][3]
|
2590
2611
|
# in the <i> <i>Amazon EKS User Guide</i> </i>.
|
2591
2612
|
#
|
2592
2613
|
# You can't update the subnets or security group IDs for an existing
|
@@ -2615,12 +2636,12 @@ module Aws::EKS
|
|
2615
2636
|
# Enable or disable exporting the Kubernetes control plane logs for your
|
2616
2637
|
# cluster to CloudWatch Logs. By default, cluster control plane logs
|
2617
2638
|
# aren't exported to CloudWatch Logs. For more information, see [Amazon
|
2618
|
-
# EKS
|
2639
|
+
# EKS cluster control plane logs][1] in the <i> <i>Amazon EKS User
|
2619
2640
|
# Guide</i> </i>.
|
2620
2641
|
#
|
2621
2642
|
# <note markdown="1"> CloudWatch Logs ingestion, archive storage, and data scanning rates
|
2622
2643
|
# apply to exported control plane logs. For more information, see
|
2623
|
-
# [
|
2644
|
+
# [CloudWatch Pricing][2].
|
2624
2645
|
#
|
2625
2646
|
# </note>
|
2626
2647
|
#
|
@@ -2668,11 +2689,11 @@ module Aws::EKS
|
|
2668
2689
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
2669
2690
|
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
|
2670
2691
|
# resp.update.params #=> Array
|
2671
|
-
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
|
2692
|
+
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts", "MaxUnavailable", "MaxUnavailablePercentage"
|
2672
2693
|
# resp.update.params[0].value #=> String
|
2673
2694
|
# resp.update.created_at #=> Time
|
2674
2695
|
# resp.update.errors #=> Array
|
2675
|
-
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied"
|
2696
|
+
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
|
2676
2697
|
# resp.update.errors[0].error_message #=> String
|
2677
2698
|
# resp.update.errors[0].resource_ids #=> Array
|
2678
2699
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -2732,11 +2753,11 @@ module Aws::EKS
|
|
2732
2753
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
2733
2754
|
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
|
2734
2755
|
# resp.update.params #=> Array
|
2735
|
-
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
|
2756
|
+
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts", "MaxUnavailable", "MaxUnavailablePercentage"
|
2736
2757
|
# resp.update.params[0].value #=> String
|
2737
2758
|
# resp.update.created_at #=> Time
|
2738
2759
|
# resp.update.errors #=> Array
|
2739
|
-
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied"
|
2760
|
+
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
|
2740
2761
|
# resp.update.errors[0].error_message #=> String
|
2741
2762
|
# resp.update.errors[0].resource_ids #=> Array
|
2742
2763
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -2776,6 +2797,9 @@ module Aws::EKS
|
|
2776
2797
|
# The scaling configuration details for the Auto Scaling group after the
|
2777
2798
|
# update.
|
2778
2799
|
#
|
2800
|
+
# @option params [Types::NodegroupUpdateConfig] :update_config
|
2801
|
+
# The node group update configuration.
|
2802
|
+
#
|
2779
2803
|
# @option params [String] :client_request_token
|
2780
2804
|
# Unique, case-sensitive identifier that you provide to ensure the
|
2781
2805
|
# idempotency of the request.
|
@@ -2819,6 +2843,10 @@ module Aws::EKS
|
|
2819
2843
|
# max_size: 1,
|
2820
2844
|
# desired_size: 1,
|
2821
2845
|
# },
|
2846
|
+
# update_config: {
|
2847
|
+
# max_unavailable: 1,
|
2848
|
+
# max_unavailable_percentage: 1,
|
2849
|
+
# },
|
2822
2850
|
# client_request_token: "String",
|
2823
2851
|
# })
|
2824
2852
|
#
|
@@ -2828,11 +2856,11 @@ module Aws::EKS
|
|
2828
2856
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
2829
2857
|
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
|
2830
2858
|
# resp.update.params #=> Array
|
2831
|
-
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
|
2859
|
+
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts", "MaxUnavailable", "MaxUnavailablePercentage"
|
2832
2860
|
# resp.update.params[0].value #=> String
|
2833
2861
|
# resp.update.created_at #=> Time
|
2834
2862
|
# resp.update.errors #=> Array
|
2835
|
-
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied"
|
2863
|
+
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
|
2836
2864
|
# resp.update.errors[0].error_message #=> String
|
2837
2865
|
# resp.update.errors[0].resource_ids #=> Array
|
2838
2866
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -2959,11 +2987,11 @@ module Aws::EKS
|
|
2959
2987
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
2960
2988
|
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
|
2961
2989
|
# resp.update.params #=> Array
|
2962
|
-
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
|
2990
|
+
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts", "MaxUnavailable", "MaxUnavailablePercentage"
|
2963
2991
|
# resp.update.params[0].value #=> String
|
2964
2992
|
# resp.update.created_at #=> Time
|
2965
2993
|
# resp.update.errors #=> Array
|
2966
|
-
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied"
|
2994
|
+
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
|
2967
2995
|
# resp.update.errors[0].error_message #=> String
|
2968
2996
|
# resp.update.errors[0].resource_ids #=> Array
|
2969
2997
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -2990,7 +3018,7 @@ module Aws::EKS
|
|
2990
3018
|
params: params,
|
2991
3019
|
config: config)
|
2992
3020
|
context[:gem_name] = 'aws-sdk-eks'
|
2993
|
-
context[:gem_version] = '1.
|
3021
|
+
context[:gem_version] = '1.58.0'
|
2994
3022
|
Seahorse::Client::Request.new(handlers, context)
|
2995
3023
|
end
|
2996
3024
|
|
@@ -3056,14 +3084,16 @@ module Aws::EKS
|
|
3056
3084
|
# The following table lists the valid waiter names, the operations they call,
|
3057
3085
|
# and the default `:delay` and `:max_attempts` values.
|
3058
3086
|
#
|
3059
|
-
# | waiter_name
|
3060
|
-
# |
|
3061
|
-
# | addon_active
|
3062
|
-
# | addon_deleted
|
3063
|
-
# | cluster_active
|
3064
|
-
# | cluster_deleted
|
3065
|
-
# |
|
3066
|
-
# |
|
3087
|
+
# | waiter_name | params | :delay | :max_attempts |
|
3088
|
+
# | ----------------------- | --------------------------------- | -------- | ------------- |
|
3089
|
+
# | addon_active | {Client#describe_addon} | 10 | 60 |
|
3090
|
+
# | addon_deleted | {Client#describe_addon} | 10 | 60 |
|
3091
|
+
# | cluster_active | {Client#describe_cluster} | 30 | 40 |
|
3092
|
+
# | cluster_deleted | {Client#describe_cluster} | 30 | 40 |
|
3093
|
+
# | fargate_profile_active | {Client#describe_fargate_profile} | 10 | 60 |
|
3094
|
+
# | fargate_profile_deleted | {Client#describe_fargate_profile} | 30 | 60 |
|
3095
|
+
# | nodegroup_active | {Client#describe_nodegroup} | 30 | 80 |
|
3096
|
+
# | nodegroup_deleted | {Client#describe_nodegroup} | 30 | 40 |
|
3067
3097
|
#
|
3068
3098
|
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
3069
3099
|
# because the waiter has entered a state that it will not transition
|
@@ -3118,6 +3148,8 @@ module Aws::EKS
|
|
3118
3148
|
addon_deleted: Waiters::AddonDeleted,
|
3119
3149
|
cluster_active: Waiters::ClusterActive,
|
3120
3150
|
cluster_deleted: Waiters::ClusterDeleted,
|
3151
|
+
fargate_profile_active: Waiters::FargateProfileActive,
|
3152
|
+
fargate_profile_deleted: Waiters::FargateProfileDeleted,
|
3121
3153
|
nodegroup_active: Waiters::NodegroupActive,
|
3122
3154
|
nodegroup_deleted: Waiters::NodegroupDeleted
|
3123
3155
|
}
|
@@ -128,10 +128,13 @@ module Aws::EKS
|
|
128
128
|
NodegroupResources = Shapes::StructureShape.new(name: 'NodegroupResources')
|
129
129
|
NodegroupScalingConfig = Shapes::StructureShape.new(name: 'NodegroupScalingConfig')
|
130
130
|
NodegroupStatus = Shapes::StringShape.new(name: 'NodegroupStatus')
|
131
|
+
NodegroupUpdateConfig = Shapes::StructureShape.new(name: 'NodegroupUpdateConfig')
|
132
|
+
NonZeroInteger = Shapes::IntegerShape.new(name: 'NonZeroInteger')
|
131
133
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
132
134
|
OIDC = Shapes::StructureShape.new(name: 'OIDC')
|
133
135
|
OidcIdentityProviderConfig = Shapes::StructureShape.new(name: 'OidcIdentityProviderConfig')
|
134
136
|
OidcIdentityProviderConfigRequest = Shapes::StructureShape.new(name: 'OidcIdentityProviderConfigRequest')
|
137
|
+
PercentCapacity = Shapes::IntegerShape.new(name: 'PercentCapacity')
|
135
138
|
Provider = Shapes::StructureShape.new(name: 'Provider')
|
136
139
|
RemoteAccessConfig = Shapes::StructureShape.new(name: 'RemoteAccessConfig')
|
137
140
|
ResolveConflicts = Shapes::StringShape.new(name: 'ResolveConflicts')
|
@@ -336,6 +339,7 @@ module Aws::EKS
|
|
336
339
|
CreateNodegroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
337
340
|
CreateNodegroupRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
338
341
|
CreateNodegroupRequest.add_member(:launch_template, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "launchTemplate"))
|
342
|
+
CreateNodegroupRequest.add_member(:update_config, Shapes::ShapeRef.new(shape: NodegroupUpdateConfig, location_name: "updateConfig"))
|
339
343
|
CreateNodegroupRequest.add_member(:capacity_type, Shapes::ShapeRef.new(shape: CapacityTypes, location_name: "capacityType"))
|
340
344
|
CreateNodegroupRequest.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
|
341
345
|
CreateNodegroupRequest.add_member(:release_version, Shapes::ShapeRef.new(shape: String, location_name: "releaseVersion"))
|
@@ -600,6 +604,7 @@ module Aws::EKS
|
|
600
604
|
Nodegroup.add_member(:resources, Shapes::ShapeRef.new(shape: NodegroupResources, location_name: "resources"))
|
601
605
|
Nodegroup.add_member(:disk_size, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "diskSize"))
|
602
606
|
Nodegroup.add_member(:health, Shapes::ShapeRef.new(shape: NodegroupHealth, location_name: "health"))
|
607
|
+
Nodegroup.add_member(:update_config, Shapes::ShapeRef.new(shape: NodegroupUpdateConfig, location_name: "updateConfig"))
|
603
608
|
Nodegroup.add_member(:launch_template, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "launchTemplate"))
|
604
609
|
Nodegroup.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
605
610
|
Nodegroup.struct_class = Types::Nodegroup
|
@@ -616,6 +621,10 @@ module Aws::EKS
|
|
616
621
|
NodegroupScalingConfig.add_member(:desired_size, Shapes::ShapeRef.new(shape: ZeroCapacity, location_name: "desiredSize"))
|
617
622
|
NodegroupScalingConfig.struct_class = Types::NodegroupScalingConfig
|
618
623
|
|
624
|
+
NodegroupUpdateConfig.add_member(:max_unavailable, Shapes::ShapeRef.new(shape: NonZeroInteger, location_name: "maxUnavailable"))
|
625
|
+
NodegroupUpdateConfig.add_member(:max_unavailable_percentage, Shapes::ShapeRef.new(shape: PercentCapacity, location_name: "maxUnavailablePercentage"))
|
626
|
+
NodegroupUpdateConfig.struct_class = Types::NodegroupUpdateConfig
|
627
|
+
|
619
628
|
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
620
629
|
NotFoundException.struct_class = Types::NotFoundException
|
621
630
|
|
@@ -755,6 +764,7 @@ module Aws::EKS
|
|
755
764
|
UpdateNodegroupConfigRequest.add_member(:labels, Shapes::ShapeRef.new(shape: UpdateLabelsPayload, location_name: "labels"))
|
756
765
|
UpdateNodegroupConfigRequest.add_member(:taints, Shapes::ShapeRef.new(shape: UpdateTaintsPayload, location_name: "taints"))
|
757
766
|
UpdateNodegroupConfigRequest.add_member(:scaling_config, Shapes::ShapeRef.new(shape: NodegroupScalingConfig, location_name: "scalingConfig"))
|
767
|
+
UpdateNodegroupConfigRequest.add_member(:update_config, Shapes::ShapeRef.new(shape: NodegroupUpdateConfig, location_name: "updateConfig"))
|
758
768
|
UpdateNodegroupConfigRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
759
769
|
UpdateNodegroupConfigRequest.struct_class = Types::UpdateNodegroupConfigRequest
|
760
770
|
|
data/lib/aws-sdk-eks/types.rb
CHANGED
@@ -393,8 +393,8 @@ module Aws::EKS
|
|
393
393
|
#
|
394
394
|
# @!attribute [rw] role_arn
|
395
395
|
# The Amazon Resource Name (ARN) of the IAM role that provides
|
396
|
-
# permissions for the Kubernetes control plane to make calls to
|
397
|
-
# API operations on your behalf.
|
396
|
+
# permissions for the Kubernetes control plane to make calls to Amazon
|
397
|
+
# Web Services API operations on your behalf.
|
398
398
|
# @return [String]
|
399
399
|
#
|
400
400
|
# @!attribute [rw] resources_vpc_config
|
@@ -524,11 +524,11 @@ module Aws::EKS
|
|
524
524
|
#
|
525
525
|
# @!attribute [rw] addon_name
|
526
526
|
# The name of the add-on. The name must match one of the names
|
527
|
-
# returned by [ `
|
527
|
+
# returned by [ `DescribeAddonVersions` ][1].
|
528
528
|
#
|
529
529
|
#
|
530
530
|
#
|
531
|
-
# [1]: https://docs.aws.amazon.com/eks/latest/APIReference/
|
531
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonVersions.html
|
532
532
|
# @return [String]
|
533
533
|
#
|
534
534
|
# @!attribute [rw] addon_version
|
@@ -657,9 +657,10 @@ module Aws::EKS
|
|
657
657
|
#
|
658
658
|
# @!attribute [rw] role_arn
|
659
659
|
# The Amazon Resource Name (ARN) of the IAM role that provides
|
660
|
-
# permissions for the Kubernetes control plane to make calls to
|
661
|
-
# API operations on your behalf. For more information,
|
662
|
-
# Service IAM Role][1] in the <i> <i>Amazon EKS User
|
660
|
+
# permissions for the Kubernetes control plane to make calls to Amazon
|
661
|
+
# Web Services API operations on your behalf. For more information,
|
662
|
+
# see [Amazon EKS Service IAM Role][1] in the <i> <i>Amazon EKS User
|
663
|
+
# Guide</i> </i>.
|
663
664
|
#
|
664
665
|
#
|
665
666
|
#
|
@@ -689,12 +690,12 @@ module Aws::EKS
|
|
689
690
|
# Enable or disable exporting the Kubernetes control plane logs for
|
690
691
|
# your cluster to CloudWatch Logs. By default, cluster control plane
|
691
692
|
# logs aren't exported to CloudWatch Logs. For more information, see
|
692
|
-
# [Amazon EKS Cluster
|
693
|
+
# [Amazon EKS Cluster control plane logs][1] in the <i> <i>Amazon EKS
|
693
694
|
# User Guide</i> </i>.
|
694
695
|
#
|
695
696
|
# <note markdown="1"> CloudWatch Logs ingestion, archive storage, and data scanning rates
|
696
697
|
# apply to exported control plane logs. For more information, see
|
697
|
-
# [
|
698
|
+
# [CloudWatch Pricing][2].
|
698
699
|
#
|
699
700
|
# </note>
|
700
701
|
#
|
@@ -888,6 +889,10 @@ module Aws::EKS
|
|
888
889
|
# version: "String",
|
889
890
|
# id: "String",
|
890
891
|
# },
|
892
|
+
# update_config: {
|
893
|
+
# max_unavailable: 1,
|
894
|
+
# max_unavailable_percentage: 1,
|
895
|
+
# },
|
891
896
|
# capacity_type: "ON_DEMAND", # accepts ON_DEMAND, SPOT
|
892
897
|
# version: "String",
|
893
898
|
# release_version: "String",
|
@@ -984,12 +989,12 @@ module Aws::EKS
|
|
984
989
|
# @!attribute [rw] node_role
|
985
990
|
# The Amazon Resource Name (ARN) of the IAM role to associate with
|
986
991
|
# your node group. The Amazon EKS worker node `kubelet` daemon makes
|
987
|
-
# calls to
|
988
|
-
# these API calls through an IAM instance profile and
|
989
|
-
# policies. Before you can launch nodes and register them
|
990
|
-
# cluster, you must create an IAM role for those nodes to use
|
991
|
-
# they are launched. For more information, see [Amazon EKS node
|
992
|
-
# role][1] in the <i> <i>Amazon EKS User Guide</i> </i>. If you
|
992
|
+
# calls to Amazon Web Services APIs on your behalf. Nodes receive
|
993
|
+
# permissions for these API calls through an IAM instance profile and
|
994
|
+
# associated policies. Before you can launch nodes and register them
|
995
|
+
# into a cluster, you must create an IAM role for those nodes to use
|
996
|
+
# when they are launched. For more information, see [Amazon EKS node
|
997
|
+
# IAM role][1] in the <i> <i>Amazon EKS User Guide</i> </i>. If you
|
993
998
|
# specify `launchTemplate`, then don't specify [ `IamInstanceProfile`
|
994
999
|
# ][2] in your launch template, or the node group deployment will
|
995
1000
|
# fail. For more information about using launch templates with Amazon
|
@@ -1034,6 +1039,10 @@ module Aws::EKS
|
|
1034
1039
|
# meets the requirements in `launchTemplateSpecification`.
|
1035
1040
|
# @return [Types::LaunchTemplateSpecification]
|
1036
1041
|
#
|
1042
|
+
# @!attribute [rw] update_config
|
1043
|
+
# The node group update configuration.
|
1044
|
+
# @return [Types::NodegroupUpdateConfig]
|
1045
|
+
#
|
1037
1046
|
# @!attribute [rw] capacity_type
|
1038
1047
|
# The capacity type for your node group.
|
1039
1048
|
# @return [String]
|
@@ -1086,6 +1095,7 @@ module Aws::EKS
|
|
1086
1095
|
:tags,
|
1087
1096
|
:client_request_token,
|
1088
1097
|
:launch_template,
|
1098
|
+
:update_config,
|
1089
1099
|
:capacity_type,
|
1090
1100
|
:version,
|
1091
1101
|
:release_version)
|
@@ -1646,8 +1656,8 @@ module Aws::EKS
|
|
1646
1656
|
# @return [Array<String>]
|
1647
1657
|
#
|
1648
1658
|
# @!attribute [rw] provider
|
1649
|
-
#
|
1650
|
-
#
|
1659
|
+
# Key Management Service (KMS) key. Either the ARN or the alias can be
|
1660
|
+
# used.
|
1651
1661
|
# @return [Types::Provider]
|
1652
1662
|
#
|
1653
1663
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/EncryptionConfig AWS API Documentation
|
@@ -1706,7 +1716,7 @@ module Aws::EKS
|
|
1706
1716
|
include Aws::Structure
|
1707
1717
|
end
|
1708
1718
|
|
1709
|
-
# An object representing an
|
1719
|
+
# An object representing an Fargate profile.
|
1710
1720
|
#
|
1711
1721
|
# @!attribute [rw] fargate_profile_name
|
1712
1722
|
# The name of the Fargate profile.
|
@@ -1773,7 +1783,7 @@ module Aws::EKS
|
|
1773
1783
|
include Aws::Structure
|
1774
1784
|
end
|
1775
1785
|
|
1776
|
-
# An object representing an
|
1786
|
+
# An object representing an Fargate profile selector.
|
1777
1787
|
#
|
1778
1788
|
# @note When making an API call, you may pass FargateProfileSelector
|
1779
1789
|
# data as a hash:
|
@@ -1979,9 +1989,10 @@ module Aws::EKS
|
|
1979
1989
|
# managed node group. You may be able to recreate an IAM role with
|
1980
1990
|
# the same settings to recover.
|
1981
1991
|
#
|
1982
|
-
# * **InstanceLimitExceeded**\: Your
|
1983
|
-
# any more instances of the specified instance
|
1984
|
-
# to request an Amazon EC2 instance limit
|
1992
|
+
# * **InstanceLimitExceeded**\: Your Amazon Web Services account is
|
1993
|
+
# unable to launch any more instances of the specified instance
|
1994
|
+
# type. You may be able to request an Amazon EC2 instance limit
|
1995
|
+
# increase to recover.
|
1985
1996
|
#
|
1986
1997
|
# * **InsufficientFreeAddresses**\: One or more of the subnets
|
1987
1998
|
# associated with your managed node group does not have enough
|
@@ -2006,7 +2017,7 @@ module Aws::EKS
|
|
2006
2017
|
# @return [String]
|
2007
2018
|
#
|
2008
2019
|
# @!attribute [rw] resource_ids
|
2009
|
-
# The
|
2020
|
+
# The Amazon Web Services resources that are afflicted by this issue.
|
2010
2021
|
# @return [Array<String>]
|
2011
2022
|
#
|
2012
2023
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/Issue AWS API Documentation
|
@@ -2275,8 +2286,8 @@ module Aws::EKS
|
|
2275
2286
|
# }
|
2276
2287
|
#
|
2277
2288
|
# @!attribute [rw] cluster_name
|
2278
|
-
# The name of the Amazon EKS cluster that you would like to
|
2279
|
-
#
|
2289
|
+
# The name of the Amazon EKS cluster that you would like to list
|
2290
|
+
# Fargate profiles in.
|
2280
2291
|
# @return [String]
|
2281
2292
|
#
|
2282
2293
|
# @!attribute [rw] max_results
|
@@ -2702,9 +2713,9 @@ module Aws::EKS
|
|
2702
2713
|
#
|
2703
2714
|
# @!attribute [rw] node_role
|
2704
2715
|
# The IAM role associated with your node group. The Amazon EKS node
|
2705
|
-
# `kubelet` daemon makes calls to
|
2706
|
-
# receive permissions for these API calls through an IAM
|
2707
|
-
# profile and associated policies.
|
2716
|
+
# `kubelet` daemon makes calls to Amazon Web Services APIs on your
|
2717
|
+
# behalf. Nodes receive permissions for these API calls through an IAM
|
2718
|
+
# instance profile and associated policies.
|
2708
2719
|
# @return [String]
|
2709
2720
|
#
|
2710
2721
|
# @!attribute [rw] labels
|
@@ -2719,8 +2730,8 @@ module Aws::EKS
|
|
2719
2730
|
#
|
2720
2731
|
# @!attribute [rw] taints
|
2721
2732
|
# The Kubernetes taints to be applied to the nodes in the node group
|
2722
|
-
# when they are created. Effect is one of `
|
2723
|
-
# `
|
2733
|
+
# when they are created. Effect is one of `No_Schedule`,
|
2734
|
+
# `Prefer_No_Schedule`, or `No_Execute`. Kubernetes taints can be used
|
2724
2735
|
# together with tolerations to control how workloads are scheduled to
|
2725
2736
|
# your nodes.
|
2726
2737
|
# @return [Array<Types::Taint>]
|
@@ -2741,6 +2752,10 @@ module Aws::EKS
|
|
2741
2752
|
# node group's health, they are listed here.
|
2742
2753
|
# @return [Types::NodegroupHealth]
|
2743
2754
|
#
|
2755
|
+
# @!attribute [rw] update_config
|
2756
|
+
# The node group update configuration.
|
2757
|
+
# @return [Types::NodegroupUpdateConfig]
|
2758
|
+
#
|
2744
2759
|
# @!attribute [rw] launch_template
|
2745
2760
|
# If a launch template was used to create the node group, then this is
|
2746
2761
|
# the launch template that was used.
|
@@ -2777,6 +2792,7 @@ module Aws::EKS
|
|
2777
2792
|
:resources,
|
2778
2793
|
:disk_size,
|
2779
2794
|
:health,
|
2795
|
+
:update_config,
|
2780
2796
|
:launch_template,
|
2781
2797
|
:tags)
|
2782
2798
|
SENSITIVE = []
|
@@ -2834,7 +2850,7 @@ module Aws::EKS
|
|
2834
2850
|
#
|
2835
2851
|
# @!attribute [rw] min_size
|
2836
2852
|
# The minimum number of nodes that the managed node group can scale in
|
2837
|
-
# to.
|
2853
|
+
# to.
|
2838
2854
|
# @return [Integer]
|
2839
2855
|
#
|
2840
2856
|
# @!attribute [rw] max_size
|
@@ -2863,6 +2879,39 @@ module Aws::EKS
|
|
2863
2879
|
include Aws::Structure
|
2864
2880
|
end
|
2865
2881
|
|
2882
|
+
# The node group update configuration.
|
2883
|
+
#
|
2884
|
+
# @note When making an API call, you may pass NodegroupUpdateConfig
|
2885
|
+
# data as a hash:
|
2886
|
+
#
|
2887
|
+
# {
|
2888
|
+
# max_unavailable: 1,
|
2889
|
+
# max_unavailable_percentage: 1,
|
2890
|
+
# }
|
2891
|
+
#
|
2892
|
+
# @!attribute [rw] max_unavailable
|
2893
|
+
# The maximum number of nodes unavailable at once during a version
|
2894
|
+
# update. Nodes will be updated in parallel. This value or
|
2895
|
+
# `maxUnavailablePercentage` is required to have a value.The maximum
|
2896
|
+
# number is 100.
|
2897
|
+
# @return [Integer]
|
2898
|
+
#
|
2899
|
+
# @!attribute [rw] max_unavailable_percentage
|
2900
|
+
# The maximum percentage of nodes unavailable during a version update.
|
2901
|
+
# This percentage of nodes will be updated in parallel, up to 100
|
2902
|
+
# nodes at once. This value or `maxUnavailable` is required to have a
|
2903
|
+
# value.
|
2904
|
+
# @return [Integer]
|
2905
|
+
#
|
2906
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/NodegroupUpdateConfig AWS API Documentation
|
2907
|
+
#
|
2908
|
+
class NodegroupUpdateConfig < Struct.new(
|
2909
|
+
:max_unavailable,
|
2910
|
+
:max_unavailable_percentage)
|
2911
|
+
SENSITIVE = []
|
2912
|
+
include Aws::Structure
|
2913
|
+
end
|
2914
|
+
|
2866
2915
|
# A service resource associated with the request could not be found.
|
2867
2916
|
# Clients should not retry such requests.
|
2868
2917
|
#
|
@@ -3077,8 +3126,8 @@ module Aws::EKS
|
|
3077
3126
|
include Aws::Structure
|
3078
3127
|
end
|
3079
3128
|
|
3080
|
-
# Identifies the
|
3081
|
-
#
|
3129
|
+
# Identifies the Key Management Service (KMS) key used to encrypt the
|
3130
|
+
# secrets.
|
3082
3131
|
#
|
3083
3132
|
# @note When making an API call, you may pass Provider
|
3084
3133
|
# data as a hash:
|
@@ -3092,8 +3141,8 @@ module Aws::EKS
|
|
3092
3141
|
# be symmetric, created in the same region as the cluster, and if the
|
3093
3142
|
# KMS key was created in a different account, the user must have
|
3094
3143
|
# access to the KMS key. For more information, see [Allowing Users in
|
3095
|
-
# Other Accounts to Use a KMS key][1] in the *
|
3096
|
-
#
|
3144
|
+
# Other Accounts to Use a KMS key][1] in the *Key Management Service
|
3145
|
+
# Developer Guide*.
|
3097
3146
|
#
|
3098
3147
|
#
|
3099
3148
|
#
|
@@ -3122,8 +3171,8 @@ module Aws::EKS
|
|
3122
3171
|
# @!attribute [rw] ec2_ssh_key
|
3123
3172
|
# The Amazon EC2 SSH key that provides access for SSH communication
|
3124
3173
|
# with the nodes in the managed node group. For more information, see
|
3125
|
-
# [Amazon EC2
|
3126
|
-
# Guide for Linux Instances*.
|
3174
|
+
# [Amazon EC2 key pairs and Linux instances][1] in the *Amazon Elastic
|
3175
|
+
# Compute Cloud User Guide for Linux Instances*.
|
3127
3176
|
#
|
3128
3177
|
#
|
3129
3178
|
#
|
@@ -3576,12 +3625,12 @@ module Aws::EKS
|
|
3576
3625
|
# Enable or disable exporting the Kubernetes control plane logs for
|
3577
3626
|
# your cluster to CloudWatch Logs. By default, cluster control plane
|
3578
3627
|
# logs aren't exported to CloudWatch Logs. For more information, see
|
3579
|
-
# [Amazon EKS
|
3628
|
+
# [Amazon EKS cluster control plane logs][1] in the <i> <i>Amazon EKS
|
3580
3629
|
# User Guide</i> </i>.
|
3581
3630
|
#
|
3582
3631
|
# <note markdown="1"> CloudWatch Logs ingestion, archive storage, and data scanning rates
|
3583
3632
|
# apply to exported control plane logs. For more information, see
|
3584
|
-
# [
|
3633
|
+
# [CloudWatch Pricing][2].
|
3585
3634
|
#
|
3586
3635
|
# </note>
|
3587
3636
|
#
|
@@ -3732,6 +3781,10 @@ module Aws::EKS
|
|
3732
3781
|
# max_size: 1,
|
3733
3782
|
# desired_size: 1,
|
3734
3783
|
# },
|
3784
|
+
# update_config: {
|
3785
|
+
# max_unavailable: 1,
|
3786
|
+
# max_unavailable_percentage: 1,
|
3787
|
+
# },
|
3735
3788
|
# client_request_token: "String",
|
3736
3789
|
# }
|
3737
3790
|
#
|
@@ -3759,6 +3812,10 @@ module Aws::EKS
|
|
3759
3812
|
# the update.
|
3760
3813
|
# @return [Types::NodegroupScalingConfig]
|
3761
3814
|
#
|
3815
|
+
# @!attribute [rw] update_config
|
3816
|
+
# The node group update configuration.
|
3817
|
+
# @return [Types::NodegroupUpdateConfig]
|
3818
|
+
#
|
3762
3819
|
# @!attribute [rw] client_request_token
|
3763
3820
|
# Unique, case-sensitive identifier that you provide to ensure the
|
3764
3821
|
# idempotency of the request.
|
@@ -3775,6 +3832,7 @@ module Aws::EKS
|
|
3775
3832
|
:labels,
|
3776
3833
|
:taints,
|
3777
3834
|
:scaling_config,
|
3835
|
+
:update_config,
|
3778
3836
|
:client_request_token)
|
3779
3837
|
SENSITIVE = []
|
3780
3838
|
include Aws::Structure
|
@@ -3980,7 +4038,7 @@ module Aws::EKS
|
|
3980
4038
|
#
|
3981
4039
|
# @!attribute [rw] security_group_ids
|
3982
4040
|
# Specify one or more security groups for the cross-account elastic
|
3983
|
-
# network interfaces that Amazon EKS creates to use
|
4041
|
+
# network interfaces that Amazon EKS creates to use that allow
|
3984
4042
|
# communication between your nodes and the Kubernetes control plane.
|
3985
4043
|
# If you don't specify any security groups, then familiarize yourself
|
3986
4044
|
# with the difference between Amazon EKS defaults for clusters
|
@@ -4004,8 +4062,8 @@ module Aws::EKS
|
|
4004
4062
|
# access, your cluster's Kubernetes API server can only receive
|
4005
4063
|
# requests from within the cluster VPC. The default value for this
|
4006
4064
|
# parameter is `true`, which enables public access for your Kubernetes
|
4007
|
-
# API server. For more information, see [Amazon EKS
|
4008
|
-
#
|
4065
|
+
# API server. For more information, see [Amazon EKS cluster endpoint
|
4066
|
+
# access control][1] in the <i> <i>Amazon EKS User Guide</i> </i>.
|
4009
4067
|
#
|
4010
4068
|
#
|
4011
4069
|
#
|
@@ -4018,12 +4076,11 @@ module Aws::EKS
|
|
4018
4076
|
# access, Kubernetes API requests from within your cluster's VPC use
|
4019
4077
|
# the private VPC endpoint. The default value for this parameter is
|
4020
4078
|
# `false`, which disables private access for your Kubernetes API
|
4021
|
-
# server. If you disable private access and you have nodes or
|
4022
|
-
#
|
4023
|
-
#
|
4024
|
-
#
|
4025
|
-
#
|
4026
|
-
# </i>.
|
4079
|
+
# server. If you disable private access and you have nodes or Fargate
|
4080
|
+
# pods in the cluster, then ensure that `publicAccessCidrs` includes
|
4081
|
+
# the necessary CIDR blocks for communication with the nodes or
|
4082
|
+
# Fargate pods. For more information, see [Amazon EKS cluster endpoint
|
4083
|
+
# access control][1] in the <i> <i>Amazon EKS User Guide</i> </i>.
|
4027
4084
|
#
|
4028
4085
|
#
|
4029
4086
|
#
|
@@ -4035,9 +4092,9 @@ module Aws::EKS
|
|
4035
4092
|
# Kubernetes API server endpoint. Communication to the endpoint from
|
4036
4093
|
# addresses outside of the CIDR blocks that you specify is denied. The
|
4037
4094
|
# default value is `0.0.0.0/0`. If you've disabled private endpoint
|
4038
|
-
# access and you have nodes or
|
4095
|
+
# access and you have nodes or Fargate pods in the cluster, then
|
4039
4096
|
# ensure that you specify the necessary CIDR blocks. For more
|
4040
|
-
# information, see [Amazon EKS
|
4097
|
+
# information, see [Amazon EKS cluster endpoint access control][1] in
|
4041
4098
|
# the <i> <i>Amazon EKS User Guide</i> </i>.
|
4042
4099
|
#
|
4043
4100
|
#
|
@@ -4092,11 +4149,11 @@ module Aws::EKS
|
|
4092
4149
|
# endpoint is enabled. If the Amazon EKS private API server endpoint
|
4093
4150
|
# is enabled, Kubernetes API requests that originate from within your
|
4094
4151
|
# cluster's VPC use the private VPC endpoint instead of traversing
|
4095
|
-
# the internet. If this value is disabled and you have nodes or
|
4152
|
+
# the internet. If this value is disabled and you have nodes or
|
4096
4153
|
# Fargate pods in the cluster, then ensure that `publicAccessCidrs`
|
4097
4154
|
# includes the necessary CIDR blocks for communication with the nodes
|
4098
|
-
# or Fargate pods. For more information, see [Amazon EKS
|
4099
|
-
#
|
4155
|
+
# or Fargate pods. For more information, see [Amazon EKS cluster
|
4156
|
+
# endpoint access control][1] in the <i> <i>Amazon EKS User Guide</i>
|
4100
4157
|
# </i>.
|
4101
4158
|
#
|
4102
4159
|
#
|
@@ -4109,9 +4166,9 @@ module Aws::EKS
|
|
4109
4166
|
# Kubernetes API server endpoint. Communication to the endpoint from
|
4110
4167
|
# addresses outside of the listed CIDR blocks is denied. The default
|
4111
4168
|
# value is `0.0.0.0/0`. If you've disabled private endpoint access
|
4112
|
-
# and you have nodes or
|
4113
|
-
#
|
4114
|
-
# [Amazon EKS
|
4169
|
+
# and you have nodes or Fargate pods in the cluster, then ensure that
|
4170
|
+
# the necessary CIDR blocks are listed. For more information, see
|
4171
|
+
# [Amazon EKS cluster endpoint access control][1] in the <i> <i>Amazon
|
4115
4172
|
# EKS User Guide</i> </i>.
|
4116
4173
|
#
|
4117
4174
|
#
|
data/lib/aws-sdk-eks/waiters.rb
CHANGED
@@ -67,14 +67,16 @@ module Aws::EKS
|
|
67
67
|
# The following table lists the valid waiter names, the operations they call,
|
68
68
|
# and the default `:delay` and `:max_attempts` values.
|
69
69
|
#
|
70
|
-
# | waiter_name
|
71
|
-
# |
|
72
|
-
# | addon_active
|
73
|
-
# | addon_deleted
|
74
|
-
# | cluster_active
|
75
|
-
# | cluster_deleted
|
76
|
-
# |
|
77
|
-
# |
|
70
|
+
# | waiter_name | params | :delay | :max_attempts |
|
71
|
+
# | ----------------------- | --------------------------------- | -------- | ------------- |
|
72
|
+
# | addon_active | {Client#describe_addon} | 10 | 60 |
|
73
|
+
# | addon_deleted | {Client#describe_addon} | 10 | 60 |
|
74
|
+
# | cluster_active | {Client#describe_cluster} | 30 | 40 |
|
75
|
+
# | cluster_deleted | {Client#describe_cluster} | 30 | 40 |
|
76
|
+
# | fargate_profile_active | {Client#describe_fargate_profile} | 10 | 60 |
|
77
|
+
# | fargate_profile_deleted | {Client#describe_fargate_profile} | 30 | 60 |
|
78
|
+
# | nodegroup_active | {Client#describe_nodegroup} | 30 | 80 |
|
79
|
+
# | nodegroup_deleted | {Client#describe_nodegroup} | 30 | 40 |
|
78
80
|
#
|
79
81
|
module Waiters
|
80
82
|
|
@@ -100,6 +102,12 @@ module Aws::EKS
|
|
100
102
|
"state" => "failure",
|
101
103
|
"argument" => "addon.status"
|
102
104
|
},
|
105
|
+
{
|
106
|
+
"expected" => "DEGRADED",
|
107
|
+
"matcher" => "path",
|
108
|
+
"state" => "failure",
|
109
|
+
"argument" => "addon.status"
|
110
|
+
},
|
103
111
|
{
|
104
112
|
"expected" => "ACTIVE",
|
105
113
|
"matcher" => "path",
|
@@ -264,6 +272,93 @@ module Aws::EKS
|
|
264
272
|
|
265
273
|
end
|
266
274
|
|
275
|
+
class FargateProfileActive
|
276
|
+
|
277
|
+
# @param [Hash] options
|
278
|
+
# @option options [required, Client] :client
|
279
|
+
# @option options [Integer] :max_attempts (60)
|
280
|
+
# @option options [Integer] :delay (10)
|
281
|
+
# @option options [Proc] :before_attempt
|
282
|
+
# @option options [Proc] :before_wait
|
283
|
+
def initialize(options)
|
284
|
+
@client = options.fetch(:client)
|
285
|
+
@waiter = Aws::Waiters::Waiter.new({
|
286
|
+
max_attempts: 60,
|
287
|
+
delay: 10,
|
288
|
+
poller: Aws::Waiters::Poller.new(
|
289
|
+
operation_name: :describe_fargate_profile,
|
290
|
+
acceptors: [
|
291
|
+
{
|
292
|
+
"expected" => "CREATE_FAILED",
|
293
|
+
"matcher" => "path",
|
294
|
+
"state" => "failure",
|
295
|
+
"argument" => "fargate_profile.status"
|
296
|
+
},
|
297
|
+
{
|
298
|
+
"expected" => "ACTIVE",
|
299
|
+
"matcher" => "path",
|
300
|
+
"state" => "success",
|
301
|
+
"argument" => "fargate_profile.status"
|
302
|
+
}
|
303
|
+
]
|
304
|
+
)
|
305
|
+
}.merge(options))
|
306
|
+
end
|
307
|
+
|
308
|
+
# @option (see Client#describe_fargate_profile)
|
309
|
+
# @return (see Client#describe_fargate_profile)
|
310
|
+
def wait(params = {})
|
311
|
+
@waiter.wait(client: @client, params: params)
|
312
|
+
end
|
313
|
+
|
314
|
+
# @api private
|
315
|
+
attr_reader :waiter
|
316
|
+
|
317
|
+
end
|
318
|
+
|
319
|
+
class FargateProfileDeleted
|
320
|
+
|
321
|
+
# @param [Hash] options
|
322
|
+
# @option options [required, Client] :client
|
323
|
+
# @option options [Integer] :max_attempts (60)
|
324
|
+
# @option options [Integer] :delay (30)
|
325
|
+
# @option options [Proc] :before_attempt
|
326
|
+
# @option options [Proc] :before_wait
|
327
|
+
def initialize(options)
|
328
|
+
@client = options.fetch(:client)
|
329
|
+
@waiter = Aws::Waiters::Waiter.new({
|
330
|
+
max_attempts: 60,
|
331
|
+
delay: 30,
|
332
|
+
poller: Aws::Waiters::Poller.new(
|
333
|
+
operation_name: :describe_fargate_profile,
|
334
|
+
acceptors: [
|
335
|
+
{
|
336
|
+
"expected" => "DELETE_FAILED",
|
337
|
+
"matcher" => "path",
|
338
|
+
"state" => "failure",
|
339
|
+
"argument" => "fargate_profile.status"
|
340
|
+
},
|
341
|
+
{
|
342
|
+
"expected" => "ResourceNotFoundException",
|
343
|
+
"matcher" => "error",
|
344
|
+
"state" => "success"
|
345
|
+
}
|
346
|
+
]
|
347
|
+
)
|
348
|
+
}.merge(options))
|
349
|
+
end
|
350
|
+
|
351
|
+
# @option (see Client#describe_fargate_profile)
|
352
|
+
# @return (see Client#describe_fargate_profile)
|
353
|
+
def wait(params = {})
|
354
|
+
@waiter.wait(client: @client, params: params)
|
355
|
+
end
|
356
|
+
|
357
|
+
# @api private
|
358
|
+
attr_reader :waiter
|
359
|
+
|
360
|
+
end
|
361
|
+
|
267
362
|
class NodegroupActive
|
268
363
|
|
269
364
|
# @param [Hash] options
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-eks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.58.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|