aws-sdk-eks 1.81.0 → 1.83.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 +4 -4
- data/CHANGELOG.md +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-eks/client.rb +70 -50
- data/lib/aws-sdk-eks/endpoint_provider.rb +41 -104
- data/lib/aws-sdk-eks/types.rb +83 -66
- data/lib/aws-sdk-eks.rb +1 -1
- 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: 7acb8eb05cbb40939efd267379f329fee4facce5d3a92b5a3e1296d43a303b67
|
|
4
|
+
data.tar.gz: 37df9a600243db868cfaf0017a715610b432bab43d9740a745760a781dce4e49
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 29a49f1d27d6990925c56e62d4254ee01c1c7cabdac186019326e097b08d4aa6e40b69937e21f7527a8431364bdbd0bc08ce550969162b1e3ba625c8d2a4eed2
|
|
7
|
+
data.tar.gz: 57a3274547a62cacd5d463e98285c992eb45f6693cfdaccec2cc970540d073e0f93f74450231a0012a156f58506ee59b87de9269e30c3fac04e0f5f3bfc20391
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.83.0 (2023-01-18)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
|
10
|
+
|
|
11
|
+
1.82.0 (2022-12-15)
|
|
12
|
+
------------------
|
|
13
|
+
|
|
14
|
+
* Feature - Add support for Windows managed nodes groups.
|
|
15
|
+
|
|
4
16
|
1.81.0 (2022-12-07)
|
|
5
17
|
------------------
|
|
6
18
|
|
|
@@ -415,4 +427,4 @@ Unreleased Changes
|
|
|
415
427
|
1.0.0 (2018-06-04)
|
|
416
428
|
------------------
|
|
417
429
|
|
|
418
|
-
* Feature - Initial release of `aws-sdk-eks`.
|
|
430
|
+
* Feature - Initial release of `aws-sdk-eks`.
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.83.0
|
data/lib/aws-sdk-eks/client.rb
CHANGED
|
@@ -533,8 +533,8 @@ module Aws::EKS
|
|
|
533
533
|
# The name of the cluster to create the add-on for.
|
|
534
534
|
#
|
|
535
535
|
# @option params [required, String] :addon_name
|
|
536
|
-
# The name of the add-on. The name must match one of the names
|
|
537
|
-
#
|
|
536
|
+
# The name of the add-on. The name must match one of the names that [
|
|
537
|
+
# `DescribeAddonVersions` ][1] returns.
|
|
538
538
|
#
|
|
539
539
|
#
|
|
540
540
|
#
|
|
@@ -606,8 +606,8 @@ module Aws::EKS
|
|
|
606
606
|
# define both.
|
|
607
607
|
#
|
|
608
608
|
# @option params [String] :configuration_values
|
|
609
|
-
# The set of configuration values for the add-on
|
|
610
|
-
# values
|
|
609
|
+
# The set of configuration values for the add-on that's created. The
|
|
610
|
+
# values that you provide are validated against the schema in [
|
|
611
611
|
# `DescribeAddonConfiguration` ][1].
|
|
612
612
|
#
|
|
613
613
|
#
|
|
@@ -1063,9 +1063,13 @@ module Aws::EKS
|
|
|
1063
1063
|
#
|
|
1064
1064
|
# An Amazon EKS managed node group is an Amazon EC2 Auto Scaling group
|
|
1065
1065
|
# and associated Amazon EC2 instances that are managed by Amazon Web
|
|
1066
|
-
# Services for an Amazon EKS cluster.
|
|
1067
|
-
#
|
|
1068
|
-
#
|
|
1066
|
+
# Services for an Amazon EKS cluster. For more information, see [Managed
|
|
1067
|
+
# node groups][2] in the *Amazon EKS User Guide*.
|
|
1068
|
+
#
|
|
1069
|
+
# <note markdown="1"> Windows AMI types are only supported for commercial Regions that
|
|
1070
|
+
# support Windows Amazon EKS.
|
|
1071
|
+
#
|
|
1072
|
+
# </note>
|
|
1069
1073
|
#
|
|
1070
1074
|
#
|
|
1071
1075
|
#
|
|
@@ -1084,7 +1088,8 @@ module Aws::EKS
|
|
|
1084
1088
|
#
|
|
1085
1089
|
# @option params [Integer] :disk_size
|
|
1086
1090
|
# The root device disk size (in GiB) for your node group instances. The
|
|
1087
|
-
# default disk size is 20 GiB
|
|
1091
|
+
# default disk size is 20 GiB for Linux and Bottlerocket. The default
|
|
1092
|
+
# disk size is 50 GiB for Windows. If you specify `launchTemplate`, then
|
|
1088
1093
|
# don't specify `diskSize`, or the node group deployment will fail. For
|
|
1089
1094
|
# more information about using launch templates with Amazon EKS, see
|
|
1090
1095
|
# [Launch template support][1] in the *Amazon EKS User Guide*.
|
|
@@ -1108,11 +1113,11 @@ module Aws::EKS
|
|
|
1108
1113
|
#
|
|
1109
1114
|
# @option params [Array<String>] :instance_types
|
|
1110
1115
|
# Specify the instance types for a node group. If you specify a GPU
|
|
1111
|
-
# instance type,
|
|
1112
|
-
# parameter. If you specify `launchTemplate`, then
|
|
1113
|
-
# or one instance type in your launch template *or*
|
|
1114
|
-
# instance types for `instanceTypes`. If however,
|
|
1115
|
-
# instance type in your launch template *and* specify any
|
|
1116
|
+
# instance type, make sure to also specify an applicable GPU AMI type
|
|
1117
|
+
# with the `amiType` parameter. If you specify `launchTemplate`, then
|
|
1118
|
+
# you can specify zero or one instance type in your launch template *or*
|
|
1119
|
+
# you can specify 0-20 instance types for `instanceTypes`. If however,
|
|
1120
|
+
# you specify an instance type in your launch template *and* specify any
|
|
1116
1121
|
# `instanceTypes`, the node group deployment will fail. If you don't
|
|
1117
1122
|
# specify an instance type in a launch template or for `instanceTypes`,
|
|
1118
1123
|
# then `t3.medium` is used, by default. If you specify `Spot` for
|
|
@@ -1127,23 +1132,23 @@ module Aws::EKS
|
|
|
1127
1132
|
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
|
1128
1133
|
#
|
|
1129
1134
|
# @option params [String] :ami_type
|
|
1130
|
-
# The AMI type for your node group.
|
|
1131
|
-
#
|
|
1132
|
-
#
|
|
1133
|
-
#
|
|
1134
|
-
#
|
|
1135
|
-
#
|
|
1136
|
-
#
|
|
1137
|
-
# EKS, see [Launch template support][1] in the *Amazon EKS User Guide*.
|
|
1135
|
+
# The AMI type for your node group. If you specify `launchTemplate`, and
|
|
1136
|
+
# your launch template uses a custom AMI, then don't specify `amiType`,
|
|
1137
|
+
# or the node group deployment will fail. If your launch template uses a
|
|
1138
|
+
# Windows custom AMI, then add `eks:kube-proxy-windows` to your Windows
|
|
1139
|
+
# nodes `rolearn` in the `aws-auth` `ConfigMap`. For more information
|
|
1140
|
+
# about using launch templates with Amazon EKS, see [Launch template
|
|
1141
|
+
# support][1] in the *Amazon EKS User Guide*.
|
|
1138
1142
|
#
|
|
1139
1143
|
#
|
|
1140
1144
|
#
|
|
1141
1145
|
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
|
1142
1146
|
#
|
|
1143
1147
|
# @option params [Types::RemoteAccessConfig] :remote_access
|
|
1144
|
-
# The remote access
|
|
1145
|
-
#
|
|
1146
|
-
#
|
|
1148
|
+
# The remote access configuration to use with your node group. For
|
|
1149
|
+
# Linux, the protocol is SSH. For Windows, the protocol is RDP. If you
|
|
1150
|
+
# specify `launchTemplate`, then don't specify `remoteAccess`, or the
|
|
1151
|
+
# node group deployment will fail. For more information about using
|
|
1147
1152
|
# launch templates with Amazon EKS, see [Launch template support][1] in
|
|
1148
1153
|
# the *Amazon EKS User Guide*.
|
|
1149
1154
|
#
|
|
@@ -1225,18 +1230,24 @@ module Aws::EKS
|
|
|
1225
1230
|
# @option params [String] :release_version
|
|
1226
1231
|
# The AMI version of the Amazon EKS optimized AMI to use with your node
|
|
1227
1232
|
# group. By default, the latest available AMI version for the node
|
|
1228
|
-
# group's current Kubernetes version is used. For
|
|
1229
|
-
# [Amazon EKS optimized Amazon Linux
|
|
1230
|
-
# EKS User Guide*.
|
|
1231
|
-
#
|
|
1232
|
-
#
|
|
1233
|
-
#
|
|
1234
|
-
#
|
|
1233
|
+
# group's current Kubernetes version is used. For information about
|
|
1234
|
+
# Linux versions, see [Amazon EKS optimized Amazon Linux AMI
|
|
1235
|
+
# versions][1] in the *Amazon EKS User Guide*. Amazon EKS managed node
|
|
1236
|
+
# groups support the November 2022 and later releases of the Windows
|
|
1237
|
+
# AMIs. For information about Windows versions, see [Amazon EKS
|
|
1238
|
+
# optimized Windows AMI versions][2] in the *Amazon EKS User Guide*.
|
|
1239
|
+
#
|
|
1240
|
+
# If you specify `launchTemplate`, and your launch template uses a
|
|
1241
|
+
# custom AMI, then don't specify `releaseVersion`, or the node group
|
|
1242
|
+
# deployment will fail. For more information about using launch
|
|
1243
|
+
# templates with Amazon EKS, see [Launch template support][3] in the
|
|
1244
|
+
# *Amazon EKS User Guide*.
|
|
1235
1245
|
#
|
|
1236
1246
|
#
|
|
1237
1247
|
#
|
|
1238
1248
|
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html
|
|
1239
|
-
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/
|
|
1249
|
+
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/eks-ami-versions-windows.html
|
|
1250
|
+
# [3]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
|
1240
1251
|
#
|
|
1241
1252
|
# @return [Types::CreateNodegroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1242
1253
|
#
|
|
@@ -1255,7 +1266,7 @@ module Aws::EKS
|
|
|
1255
1266
|
# disk_size: 1,
|
|
1256
1267
|
# subnets: ["String"], # required
|
|
1257
1268
|
# instance_types: ["String"],
|
|
1258
|
-
# ami_type: "AL2_x86_64", # accepts AL2_x86_64, AL2_x86_64_GPU, AL2_ARM_64, CUSTOM, BOTTLEROCKET_ARM_64, BOTTLEROCKET_x86_64, BOTTLEROCKET_ARM_64_NVIDIA, BOTTLEROCKET_x86_64_NVIDIA
|
|
1269
|
+
# ami_type: "AL2_x86_64", # accepts AL2_x86_64, AL2_x86_64_GPU, AL2_ARM_64, CUSTOM, BOTTLEROCKET_ARM_64, BOTTLEROCKET_x86_64, BOTTLEROCKET_ARM_64_NVIDIA, BOTTLEROCKET_x86_64_NVIDIA, WINDOWS_CORE_2019_x86_64, WINDOWS_FULL_2019_x86_64, WINDOWS_CORE_2022_x86_64, WINDOWS_FULL_2022_x86_64
|
|
1259
1270
|
# remote_access: {
|
|
1260
1271
|
# ec2_ssh_key: "String",
|
|
1261
1272
|
# source_security_groups: ["String"],
|
|
@@ -1310,7 +1321,7 @@ module Aws::EKS
|
|
|
1310
1321
|
# resp.nodegroup.remote_access.ec2_ssh_key #=> String
|
|
1311
1322
|
# resp.nodegroup.remote_access.source_security_groups #=> Array
|
|
1312
1323
|
# resp.nodegroup.remote_access.source_security_groups[0] #=> String
|
|
1313
|
-
# resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM", "BOTTLEROCKET_ARM_64", "BOTTLEROCKET_x86_64", "BOTTLEROCKET_ARM_64_NVIDIA", "BOTTLEROCKET_x86_64_NVIDIA"
|
|
1324
|
+
# resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM", "BOTTLEROCKET_ARM_64", "BOTTLEROCKET_x86_64", "BOTTLEROCKET_ARM_64_NVIDIA", "BOTTLEROCKET_x86_64_NVIDIA", "WINDOWS_CORE_2019_x86_64", "WINDOWS_FULL_2019_x86_64", "WINDOWS_CORE_2022_x86_64", "WINDOWS_FULL_2022_x86_64"
|
|
1314
1325
|
# resp.nodegroup.node_role #=> String
|
|
1315
1326
|
# resp.nodegroup.labels #=> Hash
|
|
1316
1327
|
# resp.nodegroup.labels["labelKey"] #=> String
|
|
@@ -1611,7 +1622,7 @@ module Aws::EKS
|
|
|
1611
1622
|
# resp.nodegroup.remote_access.ec2_ssh_key #=> String
|
|
1612
1623
|
# resp.nodegroup.remote_access.source_security_groups #=> Array
|
|
1613
1624
|
# resp.nodegroup.remote_access.source_security_groups[0] #=> String
|
|
1614
|
-
# resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM", "BOTTLEROCKET_ARM_64", "BOTTLEROCKET_x86_64", "BOTTLEROCKET_ARM_64_NVIDIA", "BOTTLEROCKET_x86_64_NVIDIA"
|
|
1625
|
+
# resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM", "BOTTLEROCKET_ARM_64", "BOTTLEROCKET_x86_64", "BOTTLEROCKET_ARM_64_NVIDIA", "BOTTLEROCKET_x86_64_NVIDIA", "WINDOWS_CORE_2019_x86_64", "WINDOWS_FULL_2019_x86_64", "WINDOWS_CORE_2022_x86_64", "WINDOWS_FULL_2022_x86_64"
|
|
1615
1626
|
# resp.nodegroup.node_role #=> String
|
|
1616
1627
|
# resp.nodegroup.labels #=> Hash
|
|
1617
1628
|
# resp.nodegroup.labels["labelKey"] #=> String
|
|
@@ -1787,8 +1798,8 @@ module Aws::EKS
|
|
|
1787
1798
|
# Returns configuration options.
|
|
1788
1799
|
#
|
|
1789
1800
|
# @option params [required, String] :addon_name
|
|
1790
|
-
# The name of the add-on. The name must match one of the names
|
|
1791
|
-
#
|
|
1801
|
+
# The name of the add-on. The name must match one of the names that [
|
|
1802
|
+
# `DescribeAddonVersions` ][1] returns.
|
|
1792
1803
|
#
|
|
1793
1804
|
#
|
|
1794
1805
|
#
|
|
@@ -2195,7 +2206,7 @@ module Aws::EKS
|
|
|
2195
2206
|
# resp.nodegroup.remote_access.ec2_ssh_key #=> String
|
|
2196
2207
|
# resp.nodegroup.remote_access.source_security_groups #=> Array
|
|
2197
2208
|
# resp.nodegroup.remote_access.source_security_groups[0] #=> String
|
|
2198
|
-
# resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM", "BOTTLEROCKET_ARM_64", "BOTTLEROCKET_x86_64", "BOTTLEROCKET_ARM_64_NVIDIA", "BOTTLEROCKET_x86_64_NVIDIA"
|
|
2209
|
+
# resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM", "BOTTLEROCKET_ARM_64", "BOTTLEROCKET_x86_64", "BOTTLEROCKET_ARM_64_NVIDIA", "BOTTLEROCKET_x86_64_NVIDIA", "WINDOWS_CORE_2019_x86_64", "WINDOWS_FULL_2019_x86_64", "WINDOWS_CORE_2022_x86_64", "WINDOWS_FULL_2022_x86_64"
|
|
2199
2210
|
# resp.nodegroup.node_role #=> String
|
|
2200
2211
|
# resp.nodegroup.labels #=> Hash
|
|
2201
2212
|
# resp.nodegroup.labels["labelKey"] #=> String
|
|
@@ -3011,9 +3022,9 @@ module Aws::EKS
|
|
|
3011
3022
|
# not need to pass this option.**
|
|
3012
3023
|
#
|
|
3013
3024
|
# @option params [String] :configuration_values
|
|
3014
|
-
# The set of configuration values for the add-on
|
|
3015
|
-
# values
|
|
3016
|
-
# [DescribeAddonConfiguration][1]
|
|
3025
|
+
# The set of configuration values for the add-on that's created. The
|
|
3026
|
+
# values that you provide are validated against the schema in
|
|
3027
|
+
# [DescribeAddonConfiguration][1].
|
|
3017
3028
|
#
|
|
3018
3029
|
#
|
|
3019
3030
|
#
|
|
@@ -3366,8 +3377,10 @@ module Aws::EKS
|
|
|
3366
3377
|
# version by not specifying a Kubernetes version in the request. You can
|
|
3367
3378
|
# update to the latest AMI version of your cluster's current Kubernetes
|
|
3368
3379
|
# version by specifying your cluster's Kubernetes version in the
|
|
3369
|
-
# request. For
|
|
3370
|
-
#
|
|
3380
|
+
# request. For information about Linux versions, see [Amazon EKS
|
|
3381
|
+
# optimized Amazon Linux AMI versions][1] in the *Amazon EKS User
|
|
3382
|
+
# Guide*. For information about Windows versions, see [Amazon EKS
|
|
3383
|
+
# optimized Windows AMI versions][2] in the *Amazon EKS User Guide*.
|
|
3371
3384
|
#
|
|
3372
3385
|
# You cannot roll back a node group to an earlier Kubernetes version or
|
|
3373
3386
|
# AMI version.
|
|
@@ -3381,6 +3394,7 @@ module Aws::EKS
|
|
|
3381
3394
|
#
|
|
3382
3395
|
#
|
|
3383
3396
|
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html
|
|
3397
|
+
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/eks-ami-versions-windows.html
|
|
3384
3398
|
#
|
|
3385
3399
|
# @option params [required, String] :cluster_name
|
|
3386
3400
|
# The name of the Amazon EKS cluster that is associated with the managed
|
|
@@ -3406,18 +3420,24 @@ module Aws::EKS
|
|
|
3406
3420
|
# @option params [String] :release_version
|
|
3407
3421
|
# The AMI version of the Amazon EKS optimized AMI to use for the update.
|
|
3408
3422
|
# By default, the latest available AMI version for the node group's
|
|
3409
|
-
# Kubernetes version is used. For
|
|
3410
|
-
# optimized Amazon Linux
|
|
3411
|
-
# Guide*.
|
|
3412
|
-
#
|
|
3423
|
+
# Kubernetes version is used. For information about Linux versions, see
|
|
3424
|
+
# [Amazon EKS optimized Amazon Linux AMI versions][1] in the *Amazon EKS
|
|
3425
|
+
# User Guide*. Amazon EKS managed node groups support the November 2022
|
|
3426
|
+
# and later releases of the Windows AMIs. For information about Windows
|
|
3427
|
+
# versions, see [Amazon EKS optimized Windows AMI versions][2] in the
|
|
3428
|
+
# *Amazon EKS User Guide*.
|
|
3429
|
+
#
|
|
3430
|
+
# If you specify `launchTemplate`, and your launch template uses a
|
|
3431
|
+
# custom AMI, then don't specify `releaseVersion`, or the node group
|
|
3413
3432
|
# update will fail. For more information about using launch templates
|
|
3414
|
-
# with Amazon EKS, see [Launch template support][
|
|
3433
|
+
# with Amazon EKS, see [Launch template support][3] in the *Amazon EKS
|
|
3415
3434
|
# User Guide*.
|
|
3416
3435
|
#
|
|
3417
3436
|
#
|
|
3418
3437
|
#
|
|
3419
3438
|
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html
|
|
3420
|
-
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/
|
|
3439
|
+
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/eks-ami-versions-windows.html
|
|
3440
|
+
# [3]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
|
3421
3441
|
#
|
|
3422
3442
|
# @option params [Types::LaunchTemplateSpecification] :launch_template
|
|
3423
3443
|
# An object representing a node group's launch template specification.
|
|
@@ -3495,7 +3515,7 @@ module Aws::EKS
|
|
|
3495
3515
|
params: params,
|
|
3496
3516
|
config: config)
|
|
3497
3517
|
context[:gem_name] = 'aws-sdk-eks'
|
|
3498
|
-
context[:gem_version] = '1.
|
|
3518
|
+
context[:gem_version] = '1.83.0'
|
|
3499
3519
|
Seahorse::Client::Request.new(handlers, context)
|
|
3500
3520
|
end
|
|
3501
3521
|
|
|
@@ -9,112 +9,49 @@
|
|
|
9
9
|
|
|
10
10
|
module Aws::EKS
|
|
11
11
|
class EndpointProvider
|
|
12
|
-
def
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
12
|
+
def resolve_endpoint(parameters)
|
|
13
|
+
region = parameters.region
|
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
|
15
|
+
use_fips = parameters.use_fips
|
|
16
|
+
endpoint = parameters.endpoint
|
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
|
21
|
+
end
|
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
|
24
|
+
end
|
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
|
26
|
+
end
|
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://eks-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
30
|
+
end
|
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
|
32
|
+
end
|
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
|
35
|
+
if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://fips.eks.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
37
|
+
end
|
|
38
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
|
39
|
+
return Aws::Endpoints::Endpoint.new(url: "https://eks.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
40
|
+
end
|
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://eks-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
42
|
+
end
|
|
43
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
|
44
|
+
end
|
|
45
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
46
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
|
47
|
+
return Aws::Endpoints::Endpoint.new(url: "https://eks.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
48
|
+
end
|
|
49
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
|
50
|
+
end
|
|
51
|
+
return Aws::Endpoints::Endpoint.new(url: "https://eks.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
21
52
|
end
|
|
22
|
-
|
|
23
|
-
end
|
|
53
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
|
24
54
|
|
|
25
|
-
def resolve_endpoint(parameters)
|
|
26
|
-
@provider.resolve_endpoint(parameters)
|
|
27
55
|
end
|
|
28
|
-
|
|
29
|
-
# @api private
|
|
30
|
-
RULES = <<-JSON
|
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
|
|
33
|
-
YXRpb24iOiJUaGUgQVdTIHJlZ2lvbiB1c2VkIHRvIGRpc3BhdGNoIHRoZSBy
|
|
34
|
-
ZXF1ZXN0LiIsInR5cGUiOiJTdHJpbmcifSwiVXNlRHVhbFN0YWNrIjp7ImJ1
|
|
35
|
-
aWx0SW4iOiJBV1M6OlVzZUR1YWxTdGFjayIsInJlcXVpcmVkIjp0cnVlLCJk
|
|
36
|
-
ZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRhdGlvbiI6IldoZW4gdHJ1ZSwgdXNl
|
|
37
|
-
IHRoZSBkd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yBlbmFi
|
|
112
|
-
bGVkIGJ1dCB0aGlzIHBhcnRpdGlvbiBkb2VzIG5vdCBzdXBwb3J0IER1YWxT
|
|
113
|
-
dGFjayIsInR5cGUiOiJlcnJvciJ9XX0seyJjb25kaXRpb25zIjpbXSwiZW5k
|
|
114
|
-
cG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9la3Mue1JlZ2lvbn0ue1BhcnRpdGlv
|
|
115
|
-
blJlc3VsdCNkbnNTdWZmaXh9IiwicHJvcGVydGllcyI6e30sImhlYWRlcnMi
|
|
116
|
-
Ont9fSwidHlwZSI6ImVuZHBvaW50In1dfV19
|
|
117
|
-
|
|
118
|
-
JSON
|
|
119
56
|
end
|
|
120
57
|
end
|
data/lib/aws-sdk-eks/types.rb
CHANGED
|
@@ -54,7 +54,7 @@ module Aws::EKS
|
|
|
54
54
|
# @return [String]
|
|
55
55
|
#
|
|
56
56
|
# @!attribute [rw] health
|
|
57
|
-
# An object
|
|
57
|
+
# An object that represents the health of the add-on.
|
|
58
58
|
# @return [Types::AddonHealth]
|
|
59
59
|
#
|
|
60
60
|
# @!attribute [rw] addon_arn
|
|
@@ -70,8 +70,8 @@ module Aws::EKS
|
|
|
70
70
|
# @return [Time]
|
|
71
71
|
#
|
|
72
72
|
# @!attribute [rw] service_account_role_arn
|
|
73
|
-
# The Amazon Resource Name (ARN) of the IAM role that
|
|
74
|
-
# Kubernetes service account
|
|
73
|
+
# The Amazon Resource Name (ARN) of the IAM role that's bound to the
|
|
74
|
+
# Kubernetes service account that the add-on uses.
|
|
75
75
|
# @return [String]
|
|
76
76
|
#
|
|
77
77
|
# @!attribute [rw] tags
|
|
@@ -95,7 +95,7 @@ module Aws::EKS
|
|
|
95
95
|
# @return [Types::MarketplaceInformation]
|
|
96
96
|
#
|
|
97
97
|
# @!attribute [rw] configuration_values
|
|
98
|
-
# The
|
|
98
|
+
# The configuration values that you provided.
|
|
99
99
|
# @return [String]
|
|
100
100
|
#
|
|
101
101
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/Addon AWS API Documentation
|
|
@@ -705,8 +705,8 @@ module Aws::EKS
|
|
|
705
705
|
# @return [String]
|
|
706
706
|
#
|
|
707
707
|
# @!attribute [rw] addon_name
|
|
708
|
-
# The name of the add-on. The name must match one of the names
|
|
709
|
-
#
|
|
708
|
+
# The name of the add-on. The name must match one of the names that [
|
|
709
|
+
# `DescribeAddonVersions` ][1] returns.
|
|
710
710
|
#
|
|
711
711
|
#
|
|
712
712
|
#
|
|
@@ -784,9 +784,9 @@ module Aws::EKS
|
|
|
784
784
|
# @return [Hash<String,String>]
|
|
785
785
|
#
|
|
786
786
|
# @!attribute [rw] configuration_values
|
|
787
|
-
# The set of configuration values for the add-on
|
|
788
|
-
#
|
|
789
|
-
#
|
|
787
|
+
# The set of configuration values for the add-on that's created. The
|
|
788
|
+
# values that you provide are validated against the schema in [
|
|
789
|
+
# `DescribeAddonConfiguration` ][1].
|
|
790
790
|
#
|
|
791
791
|
#
|
|
792
792
|
#
|
|
@@ -1042,11 +1042,12 @@ module Aws::EKS
|
|
|
1042
1042
|
#
|
|
1043
1043
|
# @!attribute [rw] disk_size
|
|
1044
1044
|
# The root device disk size (in GiB) for your node group instances.
|
|
1045
|
-
# The default disk size is 20 GiB
|
|
1046
|
-
#
|
|
1047
|
-
#
|
|
1048
|
-
#
|
|
1049
|
-
#
|
|
1045
|
+
# The default disk size is 20 GiB for Linux and Bottlerocket. The
|
|
1046
|
+
# default disk size is 50 GiB for Windows. If you specify
|
|
1047
|
+
# `launchTemplate`, then don't specify `diskSize`, or the node group
|
|
1048
|
+
# deployment will fail. For more information about using launch
|
|
1049
|
+
# templates with Amazon EKS, see [Launch template support][1] in the
|
|
1050
|
+
# *Amazon EKS User Guide*.
|
|
1050
1051
|
#
|
|
1051
1052
|
#
|
|
1052
1053
|
#
|
|
@@ -1069,13 +1070,13 @@ module Aws::EKS
|
|
|
1069
1070
|
#
|
|
1070
1071
|
# @!attribute [rw] instance_types
|
|
1071
1072
|
# Specify the instance types for a node group. If you specify a GPU
|
|
1072
|
-
# instance type,
|
|
1073
|
-
# `amiType` parameter. If you specify `launchTemplate`, then
|
|
1074
|
-
# specify zero or one instance type in your launch template
|
|
1075
|
-
# can specify 0-20 instance types for `instanceTypes`. If
|
|
1076
|
-
# specify an instance type in your launch template *and*
|
|
1077
|
-
# `instanceTypes`, the node group deployment will fail. If
|
|
1078
|
-
# specify an instance type in a launch template or for
|
|
1073
|
+
# instance type, make sure to also specify an applicable GPU AMI type
|
|
1074
|
+
# with the `amiType` parameter. If you specify `launchTemplate`, then
|
|
1075
|
+
# you can specify zero or one instance type in your launch template
|
|
1076
|
+
# *or* you can specify 0-20 instance types for `instanceTypes`. If
|
|
1077
|
+
# however, you specify an instance type in your launch template *and*
|
|
1078
|
+
# specify any `instanceTypes`, the node group deployment will fail. If
|
|
1079
|
+
# you don't specify an instance type in a launch template or for
|
|
1079
1080
|
# `instanceTypes`, then `t3.medium` is used, by default. If you
|
|
1080
1081
|
# specify `Spot` for `capacityType`, then we recommend specifying
|
|
1081
1082
|
# multiple values for `instanceTypes`. For more information, see
|
|
@@ -1089,15 +1090,14 @@ module Aws::EKS
|
|
|
1089
1090
|
# @return [Array<String>]
|
|
1090
1091
|
#
|
|
1091
1092
|
# @!attribute [rw] ami_type
|
|
1092
|
-
# The AMI type for your node group.
|
|
1093
|
-
#
|
|
1094
|
-
# `
|
|
1095
|
-
#
|
|
1096
|
-
#
|
|
1097
|
-
#
|
|
1098
|
-
#
|
|
1099
|
-
#
|
|
1100
|
-
# Guide*.
|
|
1093
|
+
# The AMI type for your node group. If you specify `launchTemplate`,
|
|
1094
|
+
# and your launch template uses a custom AMI, then don't specify
|
|
1095
|
+
# `amiType`, or the node group deployment will fail. If your launch
|
|
1096
|
+
# template uses a Windows custom AMI, then add
|
|
1097
|
+
# `eks:kube-proxy-windows` to your Windows nodes `rolearn` in the
|
|
1098
|
+
# `aws-auth` `ConfigMap`. For more information about using launch
|
|
1099
|
+
# templates with Amazon EKS, see [Launch template support][1] in the
|
|
1100
|
+
# *Amazon EKS User Guide*.
|
|
1101
1101
|
#
|
|
1102
1102
|
#
|
|
1103
1103
|
#
|
|
@@ -1105,11 +1105,12 @@ module Aws::EKS
|
|
|
1105
1105
|
# @return [String]
|
|
1106
1106
|
#
|
|
1107
1107
|
# @!attribute [rw] remote_access
|
|
1108
|
-
# The remote access
|
|
1109
|
-
#
|
|
1110
|
-
#
|
|
1111
|
-
#
|
|
1112
|
-
#
|
|
1108
|
+
# The remote access configuration to use with your node group. For
|
|
1109
|
+
# Linux, the protocol is SSH. For Windows, the protocol is RDP. If you
|
|
1110
|
+
# specify `launchTemplate`, then don't specify `remoteAccess`, or the
|
|
1111
|
+
# node group deployment will fail. For more information about using
|
|
1112
|
+
# launch templates with Amazon EKS, see [Launch template support][1]
|
|
1113
|
+
# in the *Amazon EKS User Guide*.
|
|
1113
1114
|
#
|
|
1114
1115
|
#
|
|
1115
1116
|
#
|
|
@@ -1200,19 +1201,24 @@ module Aws::EKS
|
|
|
1200
1201
|
# @!attribute [rw] release_version
|
|
1201
1202
|
# The AMI version of the Amazon EKS optimized AMI to use with your
|
|
1202
1203
|
# node group. By default, the latest available AMI version for the
|
|
1203
|
-
# node group's current Kubernetes version is used. For
|
|
1204
|
-
#
|
|
1205
|
-
# versions][1] in the *Amazon EKS User Guide*.
|
|
1206
|
-
#
|
|
1207
|
-
#
|
|
1208
|
-
#
|
|
1209
|
-
#
|
|
1210
|
-
#
|
|
1204
|
+
# node group's current Kubernetes version is used. For information
|
|
1205
|
+
# about Linux versions, see [Amazon EKS optimized Amazon Linux AMI
|
|
1206
|
+
# versions][1] in the *Amazon EKS User Guide*. Amazon EKS managed node
|
|
1207
|
+
# groups support the November 2022 and later releases of the Windows
|
|
1208
|
+
# AMIs. For information about Windows versions, see [Amazon EKS
|
|
1209
|
+
# optimized Windows AMI versions][2] in the *Amazon EKS User Guide*.
|
|
1210
|
+
#
|
|
1211
|
+
# If you specify `launchTemplate`, and your launch template uses a
|
|
1212
|
+
# custom AMI, then don't specify `releaseVersion`, or the node group
|
|
1213
|
+
# deployment will fail. For more information about using launch
|
|
1214
|
+
# templates with Amazon EKS, see [Launch template support][3] in the
|
|
1215
|
+
# *Amazon EKS User Guide*.
|
|
1211
1216
|
#
|
|
1212
1217
|
#
|
|
1213
1218
|
#
|
|
1214
1219
|
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html
|
|
1215
|
-
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/
|
|
1220
|
+
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/eks-ami-versions-windows.html
|
|
1221
|
+
# [3]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
|
1216
1222
|
# @return [String]
|
|
1217
1223
|
#
|
|
1218
1224
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateNodegroupRequest AWS API Documentation
|
|
@@ -1407,8 +1413,8 @@ module Aws::EKS
|
|
|
1407
1413
|
end
|
|
1408
1414
|
|
|
1409
1415
|
# @!attribute [rw] addon_name
|
|
1410
|
-
# The name of the add-on. The name must match one of the names
|
|
1411
|
-
#
|
|
1416
|
+
# The name of the add-on. The name must match one of the names that [
|
|
1417
|
+
# `DescribeAddonVersions` ][1] returns.
|
|
1412
1418
|
#
|
|
1413
1419
|
#
|
|
1414
1420
|
#
|
|
@@ -1447,8 +1453,8 @@ module Aws::EKS
|
|
|
1447
1453
|
# @return [String]
|
|
1448
1454
|
#
|
|
1449
1455
|
# @!attribute [rw] configuration_schema
|
|
1450
|
-
# A JSON schema used to validate
|
|
1451
|
-
#
|
|
1456
|
+
# A JSON schema that's used to validate the configuration values that
|
|
1457
|
+
# you provide when an addon is created or updated.
|
|
1452
1458
|
# @return [String]
|
|
1453
1459
|
#
|
|
1454
1460
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeAddonConfigurationResponse AWS API Documentation
|
|
@@ -2215,7 +2221,7 @@ module Aws::EKS
|
|
|
2215
2221
|
# assigned from. Kubernetes assigns addresses from an IPv4 CIDR block
|
|
2216
2222
|
# assigned to a subnet that the node is in. If you didn't specify a
|
|
2217
2223
|
# CIDR block when you created the cluster, then Kubernetes assigns
|
|
2218
|
-
# addresses from either the 10.100.0.0/16 or 172.20.0.0/16 CIDR
|
|
2224
|
+
# addresses from either the `10.100.0.0/16` or `172.20.0.0/16` CIDR
|
|
2219
2225
|
# blocks. If this was specified, then it was specified when the
|
|
2220
2226
|
# cluster was created and it can't be changed.
|
|
2221
2227
|
# @return [String]
|
|
@@ -3391,19 +3397,24 @@ module Aws::EKS
|
|
|
3391
3397
|
# communication with the nodes in the managed node group. For more
|
|
3392
3398
|
# information, see [Amazon EC2 key pairs and Linux instances][1] in
|
|
3393
3399
|
# the *Amazon Elastic Compute Cloud User Guide for Linux Instances*.
|
|
3400
|
+
# For Windows, an Amazon EC2 SSH key is used to obtain the RDP
|
|
3401
|
+
# password. For more information, see [Amazon EC2 key pairs and
|
|
3402
|
+
# Windows instances][2] in the *Amazon Elastic Compute Cloud User
|
|
3403
|
+
# Guide for Windows Instances*.
|
|
3394
3404
|
#
|
|
3395
3405
|
#
|
|
3396
3406
|
#
|
|
3397
3407
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html
|
|
3408
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-key-pairs.html
|
|
3398
3409
|
# @return [String]
|
|
3399
3410
|
#
|
|
3400
3411
|
# @!attribute [rw] source_security_groups
|
|
3401
|
-
# The security group
|
|
3402
|
-
# nodes. If you specify an Amazon EC2
|
|
3403
|
-
# source security group when you create a
|
|
3404
|
-
# port
|
|
3405
|
-
# information, see [Security Groups
|
|
3406
|
-
# Virtual Private Cloud User Guide*.
|
|
3412
|
+
# The security group IDs that are allowed SSH access (port 22) to the
|
|
3413
|
+
# nodes. For Windows, the port is 3389. If you specify an Amazon EC2
|
|
3414
|
+
# SSH key but don't specify a source security group when you create a
|
|
3415
|
+
# managed node group, then the port on the nodes is opened to the
|
|
3416
|
+
# internet (`0.0.0.0/0`). For more information, see [Security Groups
|
|
3417
|
+
# for Your VPC][1] in the *Amazon Virtual Private Cloud User Guide*.
|
|
3407
3418
|
#
|
|
3408
3419
|
#
|
|
3409
3420
|
#
|
|
@@ -3775,9 +3786,9 @@ module Aws::EKS
|
|
|
3775
3786
|
# @return [String]
|
|
3776
3787
|
#
|
|
3777
3788
|
# @!attribute [rw] configuration_values
|
|
3778
|
-
# The set of configuration values for the add-on
|
|
3779
|
-
#
|
|
3780
|
-
# [DescribeAddonConfiguration][1]
|
|
3789
|
+
# The set of configuration values for the add-on that's created. The
|
|
3790
|
+
# values that you provide are validated against the schema in
|
|
3791
|
+
# [DescribeAddonConfiguration][1].
|
|
3781
3792
|
#
|
|
3782
3793
|
#
|
|
3783
3794
|
#
|
|
@@ -4022,18 +4033,24 @@ module Aws::EKS
|
|
|
4022
4033
|
# @!attribute [rw] release_version
|
|
4023
4034
|
# The AMI version of the Amazon EKS optimized AMI to use for the
|
|
4024
4035
|
# update. By default, the latest available AMI version for the node
|
|
4025
|
-
# group's Kubernetes version is used. For
|
|
4026
|
-
# [Amazon EKS optimized Amazon Linux
|
|
4027
|
-
# *Amazon EKS User Guide*.
|
|
4028
|
-
#
|
|
4029
|
-
#
|
|
4030
|
-
#
|
|
4031
|
-
#
|
|
4036
|
+
# group's Kubernetes version is used. For information about Linux
|
|
4037
|
+
# versions, see [Amazon EKS optimized Amazon Linux AMI versions][1] in
|
|
4038
|
+
# the *Amazon EKS User Guide*. Amazon EKS managed node groups support
|
|
4039
|
+
# the November 2022 and later releases of the Windows AMIs. For
|
|
4040
|
+
# information about Windows versions, see [Amazon EKS optimized
|
|
4041
|
+
# Windows AMI versions][2] in the *Amazon EKS User Guide*.
|
|
4042
|
+
#
|
|
4043
|
+
# If you specify `launchTemplate`, and your launch template uses a
|
|
4044
|
+
# custom AMI, then don't specify `releaseVersion`, or the node group
|
|
4045
|
+
# update will fail. For more information about using launch templates
|
|
4046
|
+
# with Amazon EKS, see [Launch template support][3] in the *Amazon EKS
|
|
4047
|
+
# User Guide*.
|
|
4032
4048
|
#
|
|
4033
4049
|
#
|
|
4034
4050
|
#
|
|
4035
4051
|
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html
|
|
4036
|
-
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/
|
|
4052
|
+
# [2]: https://docs.aws.amazon.com/eks/latest/userguide/eks-ami-versions-windows.html
|
|
4053
|
+
# [3]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
|
|
4037
4054
|
# @return [String]
|
|
4038
4055
|
#
|
|
4039
4056
|
# @!attribute [rw] launch_template
|
data/lib/aws-sdk-eks.rb
CHANGED
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.83.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:
|
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|