aws-sdk-eks 1.35.0 → 1.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/lib/aws-sdk-eks.rb +3 -1
- data/lib/aws-sdk-eks/client.rb +160 -43
- data/lib/aws-sdk-eks/client_api.rb +11 -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 +290 -50
- data/lib/aws-sdk-eks/waiters.rb +8 -6
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 2502b7c20f821fb7587d2d9183a9bc7d6e566be56e2dfc4051c1762119629575
|
4
|
+
data.tar.gz: 2a133ad4ef0d4e61e1b468482ad687c9de7be1e478efaa802e94c578937680cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05e0e71a37bab3718bdb8929da4ef865273e50c98cf311a026f03414069403c71086332fef895688f06da23f1ce51b183a88f67848c0d31388ce31075ce1f4a5
|
7
|
+
data.tar.gz: 33e404741bd4c50b45fb12a0e1c6819f14ab8a28408b9bd2a1ef47ae38e852b027e5c66e341ba01660e9fc563376e009605f4305d9ca73fbf1efa5bcfc5de916
|
data/lib/aws-sdk-eks.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:
|
@@ -46,6 +48,6 @@ require_relative 'aws-sdk-eks/customizations'
|
|
46
48
|
# @service
|
47
49
|
module Aws::EKS
|
48
50
|
|
49
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.40.0'
|
50
52
|
|
51
53
|
end
|
data/lib/aws-sdk-eks/client.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:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
32
|
|
@@ -69,6 +72,7 @@ module Aws::EKS
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
74
78
|
|
@@ -105,7 +109,7 @@ module Aws::EKS
|
|
105
109
|
# @option options [required, String] :region
|
106
110
|
# The AWS region to connect to. The configured `:region` is
|
107
111
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
109
113
|
#
|
110
114
|
# * `Aws.config[:region]`
|
111
115
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +165,7 @@ module Aws::EKS
|
|
161
165
|
# @option options [String] :endpoint
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
169
|
#
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +180,7 @@ module Aws::EKS
|
|
176
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
181
|
#
|
178
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
184
|
#
|
181
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
186
|
# The log formatter.
|
@@ -269,8 +273,7 @@ module Aws::EKS
|
|
269
273
|
#
|
270
274
|
# @option options [Integer] :http_read_timeout (60) The default
|
271
275
|
# number of seconds to wait for response data. This value can
|
272
|
-
# safely be set
|
273
|
-
# per-request on the session yielded by {#session_for}.
|
276
|
+
# safely be set per-request on the session.
|
274
277
|
#
|
275
278
|
# @option options [Float] :http_idle_timeout (5) The number of
|
276
279
|
# seconds a connection is allowed to sit idle before it is
|
@@ -282,7 +285,7 @@ module Aws::EKS
|
|
282
285
|
# request body. This option has no effect unless the request has
|
283
286
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
284
287
|
# disables this behaviour. This value can safely be set per
|
285
|
-
# request on the session
|
288
|
+
# request on the session.
|
286
289
|
#
|
287
290
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
288
291
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -372,9 +375,9 @@ module Aws::EKS
|
|
372
375
|
#
|
373
376
|
# @option params [required, String] :role_arn
|
374
377
|
# The Amazon Resource Name (ARN) of the IAM role that provides
|
375
|
-
# permissions for
|
376
|
-
# on your behalf. For more information, see [Amazon EKS
|
377
|
-
# Role][1] in the <i> <i>Amazon EKS User Guide</i> </i>.
|
378
|
+
# permissions for the Kubernetes control plane to make calls to AWS API
|
379
|
+
# operations on your behalf. For more information, see [Amazon EKS
|
380
|
+
# Service IAM Role][1] in the <i> <i>Amazon EKS User Guide</i> </i>.
|
378
381
|
#
|
379
382
|
#
|
380
383
|
#
|
@@ -674,17 +677,20 @@ module Aws::EKS
|
|
674
677
|
# only create a node group for your cluster that is equal to the current
|
675
678
|
# Kubernetes version for the cluster. All node groups are created with
|
676
679
|
# the latest AMI release version for the respective minor Kubernetes
|
677
|
-
# version of the cluster
|
680
|
+
# version of the cluster, unless you deploy a custom AMI using a launch
|
681
|
+
# template. For more information about using launch templates, see
|
682
|
+
# [Launch template support][1].
|
678
683
|
#
|
679
684
|
# An Amazon EKS managed node group is an Amazon EC2 Auto Scaling group
|
680
685
|
# and associated Amazon EC2 instances that are managed by AWS for an
|
681
686
|
# Amazon EKS cluster. Each node group uses a version of the Amazon
|
682
687
|
# EKS-optimized Amazon Linux 2 AMI. For more information, see [Managed
|
683
|
-
# Node Groups][
|
688
|
+
# Node Groups][2] in the *Amazon EKS User Guide*.
|
684
689
|
#
|
685
690
|
#
|
686
691
|
#
|
687
|
-
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/
|
692
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
693
|
+
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html
|
688
694
|
#
|
689
695
|
# @option params [required, String] :cluster_name
|
690
696
|
# The name of the cluster to create the node group in.
|
@@ -698,28 +704,68 @@ module Aws::EKS
|
|
698
704
|
#
|
699
705
|
# @option params [Integer] :disk_size
|
700
706
|
# The root device disk size (in GiB) for your node group instances. The
|
701
|
-
# default disk size is 20 GiB.
|
707
|
+
# default disk size is 20 GiB. If you specify `launchTemplate`, then
|
708
|
+
# don't specify `diskSize`, or the node group deployment will fail. For
|
709
|
+
# more information about using launch templates with Amazon EKS, see
|
710
|
+
# [Launch template support][1] in the Amazon EKS User Guide.
|
711
|
+
#
|
712
|
+
#
|
713
|
+
#
|
714
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
702
715
|
#
|
703
716
|
# @option params [required, Array<String>] :subnets
|
704
717
|
# The subnets to use for the Auto Scaling group that is created for your
|
705
718
|
# node group. These subnets must have the tag key
|
706
719
|
# `kubernetes.io/cluster/CLUSTER_NAME` with a value of `shared`, where
|
707
|
-
# `CLUSTER_NAME` is replaced with the name of your cluster.
|
720
|
+
# `CLUSTER_NAME` is replaced with the name of your cluster. If you
|
721
|
+
# specify `launchTemplate`, then don't specify [ `SubnetId` ][1] in
|
722
|
+
# your launch template, or the node group deployment will fail. For more
|
723
|
+
# information about using launch templates with Amazon EKS, see [Launch
|
724
|
+
# template support][2] in the Amazon EKS User Guide.
|
725
|
+
#
|
726
|
+
#
|
727
|
+
#
|
728
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateNetworkInterface.html
|
729
|
+
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
708
730
|
#
|
709
731
|
# @option params [Array<String>] :instance_types
|
710
|
-
# The instance type to use for your node group.
|
711
|
-
#
|
712
|
-
#
|
713
|
-
#
|
732
|
+
# The instance type to use for your node group. You can specify a single
|
733
|
+
# instance type for a node group. The default value for `instanceTypes`
|
734
|
+
# is `t3.medium`. If you choose a GPU instance type, be sure to specify
|
735
|
+
# `AL2_x86_64_GPU` with the `amiType` parameter. If you specify
|
736
|
+
# `launchTemplate`, then don't specify `instanceTypes`, or the node
|
737
|
+
# group deployment will fail. For more information about using launch
|
738
|
+
# templates with Amazon EKS, see [Launch template support][1] in the
|
739
|
+
# Amazon EKS User Guide.
|
740
|
+
#
|
741
|
+
#
|
742
|
+
#
|
743
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
714
744
|
#
|
715
745
|
# @option params [String] :ami_type
|
716
746
|
# The AMI type for your node group. GPU instance types should use the
|
717
747
|
# `AL2_x86_64_GPU` AMI type, which uses the Amazon EKS-optimized Linux
|
718
748
|
# AMI with GPU support. Non-GPU instances should use the `AL2_x86_64`
|
719
|
-
# AMI type, which uses the Amazon EKS-optimized Linux AMI.
|
749
|
+
# AMI type, which uses the Amazon EKS-optimized Linux AMI. If you
|
750
|
+
# specify `launchTemplate`, and your launch template uses a custom AMI,
|
751
|
+
# then don't specify `amiType`, or the node group deployment will fail.
|
752
|
+
# For more information about using launch templates with Amazon EKS, see
|
753
|
+
# [Launch template support][1] in the Amazon EKS User Guide.
|
754
|
+
#
|
755
|
+
#
|
756
|
+
#
|
757
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
720
758
|
#
|
721
759
|
# @option params [Types::RemoteAccessConfig] :remote_access
|
722
|
-
# The remote access (SSH) configuration to use with your node group.
|
760
|
+
# The remote access (SSH) configuration to use with your node group. If
|
761
|
+
# you specify `launchTemplate`, then don't specify `remoteAccess`, or
|
762
|
+
# the node group deployment will fail. For more information about using
|
763
|
+
# launch templates with Amazon EKS, see [Launch template support][1] in
|
764
|
+
# the Amazon EKS User Guide.
|
765
|
+
#
|
766
|
+
#
|
767
|
+
#
|
768
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
723
769
|
#
|
724
770
|
# @option params [required, String] :node_role
|
725
771
|
# The Amazon Resource Name (ARN) of the IAM role to associate with your
|
@@ -729,11 +775,17 @@ module Aws::EKS
|
|
729
775
|
# Before you can launch worker nodes and register them into a cluster,
|
730
776
|
# you must create an IAM role for those worker nodes to use when they
|
731
777
|
# are launched. For more information, see [Amazon EKS Worker Node IAM
|
732
|
-
# Role][1] in the <i> <i>Amazon EKS User Guide</i> </i>.
|
778
|
+
# Role][1] in the <i> <i>Amazon EKS User Guide</i> </i>. If you specify
|
779
|
+
# `launchTemplate`, then don't specify [ `IamInstanceProfile` ][2] in
|
780
|
+
# your launch template, or the node group deployment will fail. For more
|
781
|
+
# information about using launch templates with Amazon EKS, see [Launch
|
782
|
+
# template support][3] in the Amazon EKS User Guide.
|
733
783
|
#
|
734
784
|
#
|
735
785
|
#
|
736
786
|
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/worker_node_IAM_role.html
|
787
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_IamInstanceProfile.html
|
788
|
+
# [3]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
737
789
|
#
|
738
790
|
# @option params [Hash<String,String>] :labels
|
739
791
|
# The Kubernetes labels to be applied to the nodes in the node group
|
@@ -753,21 +805,40 @@ module Aws::EKS
|
|
753
805
|
# **A suitable default value is auto-generated.** You should normally
|
754
806
|
# not need to pass this option.**
|
755
807
|
#
|
808
|
+
# @option params [Types::LaunchTemplateSpecification] :launch_template
|
809
|
+
# An object representing a node group's launch template specification.
|
810
|
+
# If specified, then do not specify `instanceTypes`, `diskSize`, or
|
811
|
+
# `remoteAccess`. If specified, make sure that the launch template meets
|
812
|
+
# the requirements in `launchTemplateSpecification`.
|
813
|
+
#
|
756
814
|
# @option params [String] :version
|
757
815
|
# The Kubernetes version to use for your managed nodes. By default, the
|
758
816
|
# Kubernetes version of the cluster is used, and this is the only
|
759
|
-
# accepted specified value.
|
817
|
+
# accepted specified value. If you specify `launchTemplate`, and your
|
818
|
+
# launch template uses a custom AMI, then don't specify `version`, or
|
819
|
+
# the node group deployment will fail. For more information about using
|
820
|
+
# launch templates with Amazon EKS, see [Launch template support][1] in
|
821
|
+
# the Amazon EKS User Guide.
|
822
|
+
#
|
823
|
+
#
|
824
|
+
#
|
825
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
760
826
|
#
|
761
827
|
# @option params [String] :release_version
|
762
828
|
# The AMI version of the Amazon EKS-optimized AMI to use with your node
|
763
829
|
# group. By default, the latest available AMI version for the node
|
764
830
|
# group's current Kubernetes version is used. For more information, see
|
765
831
|
# [Amazon EKS-Optimized Linux AMI Versions][1] in the *Amazon EKS User
|
766
|
-
# Guide*.
|
832
|
+
# Guide*. If you specify `launchTemplate`, and your launch template uses
|
833
|
+
# a custom AMI, then don't specify `releaseVersion`, or the node group
|
834
|
+
# deployment will fail. For more information about using launch
|
835
|
+
# templates with Amazon EKS, see [Launch template support][2] in the
|
836
|
+
# Amazon EKS User Guide.
|
767
837
|
#
|
768
838
|
#
|
769
839
|
#
|
770
840
|
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html
|
841
|
+
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
771
842
|
#
|
772
843
|
# @return [Types::CreateNodegroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
773
844
|
#
|
@@ -786,7 +857,7 @@ module Aws::EKS
|
|
786
857
|
# disk_size: 1,
|
787
858
|
# subnets: ["String"], # required
|
788
859
|
# instance_types: ["String"],
|
789
|
-
# ami_type: "AL2_x86_64", # accepts AL2_x86_64, AL2_x86_64_GPU
|
860
|
+
# ami_type: "AL2_x86_64", # accepts AL2_x86_64, AL2_x86_64_GPU, AL2_ARM_64
|
790
861
|
# remote_access: {
|
791
862
|
# ec2_ssh_key: "String",
|
792
863
|
# source_security_groups: ["String"],
|
@@ -799,6 +870,11 @@ module Aws::EKS
|
|
799
870
|
# "TagKey" => "TagValue",
|
800
871
|
# },
|
801
872
|
# client_request_token: "String",
|
873
|
+
# launch_template: {
|
874
|
+
# name: "String",
|
875
|
+
# version: "String",
|
876
|
+
# id: "String",
|
877
|
+
# },
|
802
878
|
# version: "String",
|
803
879
|
# release_version: "String",
|
804
880
|
# })
|
@@ -823,7 +899,7 @@ module Aws::EKS
|
|
823
899
|
# resp.nodegroup.remote_access.ec2_ssh_key #=> String
|
824
900
|
# resp.nodegroup.remote_access.source_security_groups #=> Array
|
825
901
|
# resp.nodegroup.remote_access.source_security_groups[0] #=> String
|
826
|
-
# resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU"
|
902
|
+
# resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64"
|
827
903
|
# resp.nodegroup.node_role #=> String
|
828
904
|
# resp.nodegroup.labels #=> Hash
|
829
905
|
# resp.nodegroup.labels["labelKey"] #=> String
|
@@ -836,6 +912,9 @@ module Aws::EKS
|
|
836
912
|
# resp.nodegroup.health.issues[0].message #=> String
|
837
913
|
# resp.nodegroup.health.issues[0].resource_ids #=> Array
|
838
914
|
# resp.nodegroup.health.issues[0].resource_ids[0] #=> String
|
915
|
+
# resp.nodegroup.launch_template.name #=> String
|
916
|
+
# resp.nodegroup.launch_template.version #=> String
|
917
|
+
# resp.nodegroup.launch_template.id #=> String
|
839
918
|
# resp.nodegroup.tags #=> Hash
|
840
919
|
# resp.nodegroup.tags["TagKey"] #=> String
|
841
920
|
#
|
@@ -1030,7 +1109,7 @@ module Aws::EKS
|
|
1030
1109
|
# resp.nodegroup.remote_access.ec2_ssh_key #=> String
|
1031
1110
|
# resp.nodegroup.remote_access.source_security_groups #=> Array
|
1032
1111
|
# resp.nodegroup.remote_access.source_security_groups[0] #=> String
|
1033
|
-
# resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU"
|
1112
|
+
# resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64"
|
1034
1113
|
# resp.nodegroup.node_role #=> String
|
1035
1114
|
# resp.nodegroup.labels #=> Hash
|
1036
1115
|
# resp.nodegroup.labels["labelKey"] #=> String
|
@@ -1043,6 +1122,9 @@ module Aws::EKS
|
|
1043
1122
|
# resp.nodegroup.health.issues[0].message #=> String
|
1044
1123
|
# resp.nodegroup.health.issues[0].resource_ids #=> Array
|
1045
1124
|
# resp.nodegroup.health.issues[0].resource_ids[0] #=> String
|
1125
|
+
# resp.nodegroup.launch_template.name #=> String
|
1126
|
+
# resp.nodegroup.launch_template.version #=> String
|
1127
|
+
# resp.nodegroup.launch_template.id #=> String
|
1046
1128
|
# resp.nodegroup.tags #=> Hash
|
1047
1129
|
# resp.nodegroup.tags["TagKey"] #=> String
|
1048
1130
|
#
|
@@ -1154,7 +1236,7 @@ module Aws::EKS
|
|
1154
1236
|
# resp.cluster.encryption_config[0].provider.key_arn #=> String
|
1155
1237
|
#
|
1156
1238
|
#
|
1157
|
-
# The following waiters are defined for this operation (see {Client#
|
1239
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
1158
1240
|
#
|
1159
1241
|
# * cluster_active
|
1160
1242
|
# * cluster_deleted
|
@@ -1253,7 +1335,7 @@ module Aws::EKS
|
|
1253
1335
|
# resp.nodegroup.remote_access.ec2_ssh_key #=> String
|
1254
1336
|
# resp.nodegroup.remote_access.source_security_groups #=> Array
|
1255
1337
|
# resp.nodegroup.remote_access.source_security_groups[0] #=> String
|
1256
|
-
# resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU"
|
1338
|
+
# resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64"
|
1257
1339
|
# resp.nodegroup.node_role #=> String
|
1258
1340
|
# resp.nodegroup.labels #=> Hash
|
1259
1341
|
# resp.nodegroup.labels["labelKey"] #=> String
|
@@ -1266,11 +1348,14 @@ module Aws::EKS
|
|
1266
1348
|
# resp.nodegroup.health.issues[0].message #=> String
|
1267
1349
|
# resp.nodegroup.health.issues[0].resource_ids #=> Array
|
1268
1350
|
# resp.nodegroup.health.issues[0].resource_ids[0] #=> String
|
1351
|
+
# resp.nodegroup.launch_template.name #=> String
|
1352
|
+
# resp.nodegroup.launch_template.version #=> String
|
1353
|
+
# resp.nodegroup.launch_template.id #=> String
|
1269
1354
|
# resp.nodegroup.tags #=> Hash
|
1270
1355
|
# resp.nodegroup.tags["TagKey"] #=> String
|
1271
1356
|
#
|
1272
1357
|
#
|
1273
|
-
# The following waiters are defined for this operation (see {Client#
|
1358
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
1274
1359
|
#
|
1275
1360
|
# * nodegroup_active
|
1276
1361
|
# * nodegroup_deleted
|
@@ -1946,12 +2031,20 @@ module Aws::EKS
|
|
1946
2031
|
# Updates the Kubernetes version or AMI version of an Amazon EKS managed
|
1947
2032
|
# node group.
|
1948
2033
|
#
|
1949
|
-
# You can update
|
1950
|
-
#
|
1951
|
-
#
|
1952
|
-
#
|
1953
|
-
#
|
1954
|
-
#
|
2034
|
+
# You can update a node group using a launch template only if the node
|
2035
|
+
# group was originally deployed with a launch template. If you need to
|
2036
|
+
# update a custom AMI in a node group that was deployed with a launch
|
2037
|
+
# template, then update your custom AMI, specify the new ID in a new
|
2038
|
+
# version of the launch template, and then update the node group to the
|
2039
|
+
# new version of the launch template.
|
2040
|
+
#
|
2041
|
+
# If you update without a launch template, then you can update to the
|
2042
|
+
# latest available AMI version of a node group's current Kubernetes
|
2043
|
+
# version by not specifying a Kubernetes version in the request. You can
|
2044
|
+
# update to the latest AMI version of your cluster's current Kubernetes
|
2045
|
+
# version by specifying your cluster's Kubernetes version in the
|
2046
|
+
# request. For more information, see [Amazon EKS-Optimized Linux AMI
|
2047
|
+
# Versions][1] in the *Amazon EKS User Guide*.
|
1955
2048
|
#
|
1956
2049
|
# You cannot roll back a node group to an earlier Kubernetes version or
|
1957
2050
|
# AMI version.
|
@@ -1977,17 +2070,36 @@ module Aws::EKS
|
|
1977
2070
|
# The Kubernetes version to update to. If no version is specified, then
|
1978
2071
|
# the Kubernetes version of the node group does not change. You can
|
1979
2072
|
# specify the Kubernetes version of the cluster to update the node group
|
1980
|
-
# to the latest AMI version of the cluster's Kubernetes version.
|
2073
|
+
# to the latest AMI version of the cluster's Kubernetes version. If you
|
2074
|
+
# specify `launchTemplate`, and your launch template uses a custom AMI,
|
2075
|
+
# then don't specify `version`, or the node group update will fail. For
|
2076
|
+
# more information about using launch templates with Amazon EKS, see
|
2077
|
+
# [Launch template support][1] in the Amazon EKS User Guide.
|
2078
|
+
#
|
2079
|
+
#
|
2080
|
+
#
|
2081
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
1981
2082
|
#
|
1982
2083
|
# @option params [String] :release_version
|
1983
2084
|
# The AMI version of the Amazon EKS-optimized AMI to use for the update.
|
1984
2085
|
# By default, the latest available AMI version for the node group's
|
1985
2086
|
# Kubernetes version is used. For more information, see [Amazon
|
1986
2087
|
# EKS-Optimized Linux AMI Versions ][1] in the *Amazon EKS User Guide*.
|
2088
|
+
# If you specify `launchTemplate`, and your launch template uses a
|
2089
|
+
# custom AMI, then don't specify `releaseVersion`, or the node group
|
2090
|
+
# update will fail. For more information about using launch templates
|
2091
|
+
# with Amazon EKS, see [Launch template support][2] in the Amazon EKS
|
2092
|
+
# User Guide.
|
1987
2093
|
#
|
1988
2094
|
#
|
1989
2095
|
#
|
1990
2096
|
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html
|
2097
|
+
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
2098
|
+
#
|
2099
|
+
# @option params [Types::LaunchTemplateSpecification] :launch_template
|
2100
|
+
# An object representing a node group's launch template specification.
|
2101
|
+
# You can only update a node group using a launch template if the node
|
2102
|
+
# group was originally deployed with a launch template.
|
1991
2103
|
#
|
1992
2104
|
# @option params [Boolean] :force
|
1993
2105
|
# Force the update if the existing node group's pods are unable to be
|
@@ -2014,6 +2126,11 @@ module Aws::EKS
|
|
2014
2126
|
# nodegroup_name: "String", # required
|
2015
2127
|
# version: "String",
|
2016
2128
|
# release_version: "String",
|
2129
|
+
# launch_template: {
|
2130
|
+
# name: "String",
|
2131
|
+
# version: "String",
|
2132
|
+
# id: "String",
|
2133
|
+
# },
|
2017
2134
|
# force: false,
|
2018
2135
|
# client_request_token: "String",
|
2019
2136
|
# })
|
@@ -2055,7 +2172,7 @@ module Aws::EKS
|
|
2055
2172
|
params: params,
|
2056
2173
|
config: config)
|
2057
2174
|
context[:gem_name] = 'aws-sdk-eks'
|
2058
|
-
context[:gem_version] = '1.
|
2175
|
+
context[:gem_version] = '1.40.0'
|
2059
2176
|
Seahorse::Client::Request.new(handlers, context)
|
2060
2177
|
end
|
2061
2178
|
|
@@ -2121,12 +2238,12 @@ module Aws::EKS
|
|
2121
2238
|
# The following table lists the valid waiter names, the operations they call,
|
2122
2239
|
# and the default `:delay` and `:max_attempts` values.
|
2123
2240
|
#
|
2124
|
-
# | waiter_name | params
|
2125
|
-
# | ----------------- |
|
2126
|
-
# | cluster_active | {#describe_cluster} | 30 | 40 |
|
2127
|
-
# | cluster_deleted | {#describe_cluster} | 30 | 40 |
|
2128
|
-
# | nodegroup_active | {#describe_nodegroup} | 30 | 80 |
|
2129
|
-
# | nodegroup_deleted | {#describe_nodegroup} | 30 | 40 |
|
2241
|
+
# | waiter_name | params | :delay | :max_attempts |
|
2242
|
+
# | ----------------- | --------------------------- | -------- | ------------- |
|
2243
|
+
# | cluster_active | {Client#describe_cluster} | 30 | 40 |
|
2244
|
+
# | cluster_deleted | {Client#describe_cluster} | 30 | 40 |
|
2245
|
+
# | nodegroup_active | {Client#describe_nodegroup} | 30 | 80 |
|
2246
|
+
# | nodegroup_deleted | {Client#describe_nodegroup} | 30 | 40 |
|
2130
2247
|
#
|
2131
2248
|
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
2132
2249
|
# because the waiter has entered a state that it will not transition
|