aws-sdk-eks 1.50.0 → 1.55.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 +288 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-eks.rb +2 -2
- data/lib/aws-sdk-eks/client.rb +82 -24
- data/lib/aws-sdk-eks/client_api.rb +34 -3
- data/lib/aws-sdk-eks/errors.rb +1 -1
- data/lib/aws-sdk-eks/resource.rb +1 -1
- data/lib/aws-sdk-eks/types.rb +179 -23
- data/lib/aws-sdk-eks/waiters.rb +7 -1
- metadata +9 -7
data/lib/aws-sdk-eks/resource.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
data/lib/aws-sdk-eks/types.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -50,9 +50,9 @@ module Aws::EKS
|
|
50
50
|
# @return [String]
|
51
51
|
#
|
52
52
|
# @!attribute [rw] tags
|
53
|
-
# The metadata that you apply to the
|
53
|
+
# The metadata that you apply to the add-on to assist with
|
54
54
|
# categorization and organization. Each tag consists of a key and an
|
55
|
-
# optional value, both of which you define.
|
55
|
+
# optional value, both of which you define. Add-on tags do not
|
56
56
|
# propagate to any other resources associated with the cluster.
|
57
57
|
# @return [Hash<String,String>]
|
58
58
|
#
|
@@ -863,7 +863,7 @@ module Aws::EKS
|
|
863
863
|
# disk_size: 1,
|
864
864
|
# subnets: ["String"], # required
|
865
865
|
# instance_types: ["String"],
|
866
|
-
# ami_type: "AL2_x86_64", # accepts AL2_x86_64, AL2_x86_64_GPU, AL2_ARM_64
|
866
|
+
# ami_type: "AL2_x86_64", # accepts AL2_x86_64, AL2_x86_64_GPU, AL2_ARM_64, CUSTOM
|
867
867
|
# remote_access: {
|
868
868
|
# ec2_ssh_key: "String",
|
869
869
|
# source_security_groups: ["String"],
|
@@ -872,6 +872,13 @@ module Aws::EKS
|
|
872
872
|
# labels: {
|
873
873
|
# "labelKey" => "labelValue",
|
874
874
|
# },
|
875
|
+
# taints: [
|
876
|
+
# {
|
877
|
+
# key: "taintKey",
|
878
|
+
# value: "taintValue",
|
879
|
+
# effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
|
880
|
+
# },
|
881
|
+
# ],
|
875
882
|
# tags: {
|
876
883
|
# "TagKey" => "TagValue",
|
877
884
|
# },
|
@@ -881,6 +888,10 @@ module Aws::EKS
|
|
881
888
|
# version: "String",
|
882
889
|
# id: "String",
|
883
890
|
# },
|
891
|
+
# update_config: {
|
892
|
+
# max_unavailable: 1,
|
893
|
+
# max_unavailable_percentage: 1,
|
894
|
+
# },
|
884
895
|
# capacity_type: "ON_DEMAND", # accepts ON_DEMAND, SPOT
|
885
896
|
# version: "String",
|
886
897
|
# release_version: "String",
|
@@ -913,13 +924,11 @@ module Aws::EKS
|
|
913
924
|
#
|
914
925
|
# @!attribute [rw] subnets
|
915
926
|
# The subnets to use for the Auto Scaling group that is created for
|
916
|
-
# your node group.
|
917
|
-
# `
|
918
|
-
#
|
919
|
-
#
|
920
|
-
#
|
921
|
-
# more information about using launch templates with Amazon EKS, see
|
922
|
-
# [Launch template support][2] in the Amazon EKS User Guide.
|
927
|
+
# your node group. If you specify `launchTemplate`, then don't
|
928
|
+
# specify [ `SubnetId` ][1] in your launch template, or the node group
|
929
|
+
# deployment will fail. For more information about using launch
|
930
|
+
# templates with Amazon EKS, see [Launch template support][2] in the
|
931
|
+
# Amazon EKS User Guide.
|
923
932
|
#
|
924
933
|
#
|
925
934
|
#
|
@@ -1002,6 +1011,10 @@ module Aws::EKS
|
|
1002
1011
|
# when they are created.
|
1003
1012
|
# @return [Hash<String,String>]
|
1004
1013
|
#
|
1014
|
+
# @!attribute [rw] taints
|
1015
|
+
# The Kubernetes taints to be applied to the nodes in the node group.
|
1016
|
+
# @return [Array<Types::Taint>]
|
1017
|
+
#
|
1005
1018
|
# @!attribute [rw] tags
|
1006
1019
|
# The metadata to apply to the node group to assist with
|
1007
1020
|
# categorization and organization. Each tag consists of a key and an
|
@@ -1025,6 +1038,9 @@ module Aws::EKS
|
|
1025
1038
|
# meets the requirements in `launchTemplateSpecification`.
|
1026
1039
|
# @return [Types::LaunchTemplateSpecification]
|
1027
1040
|
#
|
1041
|
+
# @!attribute [rw] update_config
|
1042
|
+
# @return [Types::NodegroupUpdateConfig]
|
1043
|
+
#
|
1028
1044
|
# @!attribute [rw] capacity_type
|
1029
1045
|
# The capacity type for your node group.
|
1030
1046
|
# @return [String]
|
@@ -1073,9 +1089,11 @@ module Aws::EKS
|
|
1073
1089
|
:remote_access,
|
1074
1090
|
:node_role,
|
1075
1091
|
:labels,
|
1092
|
+
:taints,
|
1076
1093
|
:tags,
|
1077
1094
|
:client_request_token,
|
1078
1095
|
:launch_template,
|
1096
|
+
:update_config,
|
1079
1097
|
:capacity_type,
|
1080
1098
|
:version,
|
1081
1099
|
:release_version)
|
@@ -1636,8 +1654,8 @@ module Aws::EKS
|
|
1636
1654
|
# @return [Array<String>]
|
1637
1655
|
#
|
1638
1656
|
# @!attribute [rw] provider
|
1639
|
-
# AWS Key Management Service (AWS KMS)
|
1640
|
-
#
|
1657
|
+
# AWS Key Management Service (AWS KMS) key. Either the ARN or the
|
1658
|
+
# alias can be used.
|
1641
1659
|
# @return [Types::Provider]
|
1642
1660
|
#
|
1643
1661
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/EncryptionConfig AWS API Documentation
|
@@ -2707,6 +2725,14 @@ module Aws::EKS
|
|
2707
2725
|
# </note>
|
2708
2726
|
# @return [Hash<String,String>]
|
2709
2727
|
#
|
2728
|
+
# @!attribute [rw] taints
|
2729
|
+
# The Kubernetes taints to be applied to the nodes in the node group
|
2730
|
+
# when they are created. Effect is one of `NoSchedule`,
|
2731
|
+
# `PreferNoSchedule`, or `NoExecute`. Kubernetes taints can be used
|
2732
|
+
# together with tolerations to control how workloads are scheduled to
|
2733
|
+
# your nodes.
|
2734
|
+
# @return [Array<Types::Taint>]
|
2735
|
+
#
|
2710
2736
|
# @!attribute [rw] resources
|
2711
2737
|
# The resources associated with the node group, such as Auto Scaling
|
2712
2738
|
# groups and security groups for remote access.
|
@@ -2723,6 +2749,9 @@ module Aws::EKS
|
|
2723
2749
|
# node group's health, they are listed here.
|
2724
2750
|
# @return [Types::NodegroupHealth]
|
2725
2751
|
#
|
2752
|
+
# @!attribute [rw] update_config
|
2753
|
+
# @return [Types::NodegroupUpdateConfig]
|
2754
|
+
#
|
2726
2755
|
# @!attribute [rw] launch_template
|
2727
2756
|
# If a launch template was used to create the node group, then this is
|
2728
2757
|
# the launch template that was used.
|
@@ -2755,9 +2784,11 @@ module Aws::EKS
|
|
2755
2784
|
:ami_type,
|
2756
2785
|
:node_role,
|
2757
2786
|
:labels,
|
2787
|
+
:taints,
|
2758
2788
|
:resources,
|
2759
2789
|
:disk_size,
|
2760
2790
|
:health,
|
2791
|
+
:update_config,
|
2761
2792
|
:launch_template,
|
2762
2793
|
:tags)
|
2763
2794
|
SENSITIVE = []
|
@@ -2800,9 +2831,9 @@ module Aws::EKS
|
|
2800
2831
|
end
|
2801
2832
|
|
2802
2833
|
# An object representing the scaling configuration details for the Auto
|
2803
|
-
# Scaling group that is associated with your node group.
|
2804
|
-
#
|
2805
|
-
# properties.
|
2834
|
+
# Scaling group that is associated with your node group. When creating a
|
2835
|
+
# node group, you must specify all or none of the properties. When
|
2836
|
+
# updating a node group, you can specify any or none of the properties.
|
2806
2837
|
#
|
2807
2838
|
# @note When making an API call, you may pass NodegroupScalingConfig
|
2808
2839
|
# data as a hash:
|
@@ -2844,6 +2875,29 @@ module Aws::EKS
|
|
2844
2875
|
include Aws::Structure
|
2845
2876
|
end
|
2846
2877
|
|
2878
|
+
# @note When making an API call, you may pass NodegroupUpdateConfig
|
2879
|
+
# data as a hash:
|
2880
|
+
#
|
2881
|
+
# {
|
2882
|
+
# max_unavailable: 1,
|
2883
|
+
# max_unavailable_percentage: 1,
|
2884
|
+
# }
|
2885
|
+
#
|
2886
|
+
# @!attribute [rw] max_unavailable
|
2887
|
+
# @return [Integer]
|
2888
|
+
#
|
2889
|
+
# @!attribute [rw] max_unavailable_percentage
|
2890
|
+
# @return [Integer]
|
2891
|
+
#
|
2892
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/NodegroupUpdateConfig AWS API Documentation
|
2893
|
+
#
|
2894
|
+
class NodegroupUpdateConfig < Struct.new(
|
2895
|
+
:max_unavailable,
|
2896
|
+
:max_unavailable_percentage)
|
2897
|
+
SENSITIVE = []
|
2898
|
+
include Aws::Structure
|
2899
|
+
end
|
2900
|
+
|
2847
2901
|
# A service resource associated with the request could not be found.
|
2848
2902
|
# Clients should not retry such requests.
|
2849
2903
|
#
|
@@ -3058,8 +3112,8 @@ module Aws::EKS
|
|
3058
3112
|
include Aws::Structure
|
3059
3113
|
end
|
3060
3114
|
|
3061
|
-
# Identifies the AWS Key Management Service (AWS KMS)
|
3062
|
-
#
|
3115
|
+
# Identifies the AWS Key Management Service (AWS KMS) key used to
|
3116
|
+
# encrypt the secrets.
|
3063
3117
|
#
|
3064
3118
|
# @note When making an API call, you may pass Provider
|
3065
3119
|
# data as a hash:
|
@@ -3069,11 +3123,11 @@ module Aws::EKS
|
|
3069
3123
|
# }
|
3070
3124
|
#
|
3071
3125
|
# @!attribute [rw] key_arn
|
3072
|
-
# Amazon Resource Name (ARN) or alias of the
|
3073
|
-
#
|
3074
|
-
#
|
3075
|
-
#
|
3076
|
-
#
|
3126
|
+
# Amazon Resource Name (ARN) or alias of the KMS key. The KMS key must
|
3127
|
+
# be symmetric, created in the same region as the cluster, and if the
|
3128
|
+
# KMS key was created in a different account, the user must have
|
3129
|
+
# access to the KMS key. For more information, see [Allowing Users in
|
3130
|
+
# Other Accounts to Use a KMS key][1] in the *AWS Key Management
|
3077
3131
|
# Service Developer Guide*.
|
3078
3132
|
#
|
3079
3133
|
#
|
@@ -3292,6 +3346,39 @@ module Aws::EKS
|
|
3292
3346
|
#
|
3293
3347
|
class TagResourceResponse < Aws::EmptyStructure; end
|
3294
3348
|
|
3349
|
+
# A property that allows a node to repel a set of pods.
|
3350
|
+
#
|
3351
|
+
# @note When making an API call, you may pass Taint
|
3352
|
+
# data as a hash:
|
3353
|
+
#
|
3354
|
+
# {
|
3355
|
+
# key: "taintKey",
|
3356
|
+
# value: "taintValue",
|
3357
|
+
# effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
|
3358
|
+
# }
|
3359
|
+
#
|
3360
|
+
# @!attribute [rw] key
|
3361
|
+
# The key of the taint.
|
3362
|
+
# @return [String]
|
3363
|
+
#
|
3364
|
+
# @!attribute [rw] value
|
3365
|
+
# The value of the taint.
|
3366
|
+
# @return [String]
|
3367
|
+
#
|
3368
|
+
# @!attribute [rw] effect
|
3369
|
+
# The effect of the taint.
|
3370
|
+
# @return [String]
|
3371
|
+
#
|
3372
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/Taint AWS API Documentation
|
3373
|
+
#
|
3374
|
+
class Taint < Struct.new(
|
3375
|
+
:key,
|
3376
|
+
:value,
|
3377
|
+
:effect)
|
3378
|
+
SENSITIVE = []
|
3379
|
+
include Aws::Structure
|
3380
|
+
end
|
3381
|
+
|
3295
3382
|
# At least one of your specified cluster subnets is in an Availability
|
3296
3383
|
# Zone that does not support Amazon EKS. The exception output specifies
|
3297
3384
|
# the supported Availability Zones for your account, from which you can
|
@@ -3659,11 +3746,31 @@ module Aws::EKS
|
|
3659
3746
|
# },
|
3660
3747
|
# remove_labels: ["String"],
|
3661
3748
|
# },
|
3749
|
+
# taints: {
|
3750
|
+
# add_or_update_taints: [
|
3751
|
+
# {
|
3752
|
+
# key: "taintKey",
|
3753
|
+
# value: "taintValue",
|
3754
|
+
# effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
|
3755
|
+
# },
|
3756
|
+
# ],
|
3757
|
+
# remove_taints: [
|
3758
|
+
# {
|
3759
|
+
# key: "taintKey",
|
3760
|
+
# value: "taintValue",
|
3761
|
+
# effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
|
3762
|
+
# },
|
3763
|
+
# ],
|
3764
|
+
# },
|
3662
3765
|
# scaling_config: {
|
3663
3766
|
# min_size: 1,
|
3664
3767
|
# max_size: 1,
|
3665
3768
|
# desired_size: 1,
|
3666
3769
|
# },
|
3770
|
+
# update_config: {
|
3771
|
+
# max_unavailable: 1,
|
3772
|
+
# max_unavailable_percentage: 1,
|
3773
|
+
# },
|
3667
3774
|
# client_request_token: "String",
|
3668
3775
|
# }
|
3669
3776
|
#
|
@@ -3681,11 +3788,19 @@ module Aws::EKS
|
|
3681
3788
|
# after the update.
|
3682
3789
|
# @return [Types::UpdateLabelsPayload]
|
3683
3790
|
#
|
3791
|
+
# @!attribute [rw] taints
|
3792
|
+
# The Kubernetes taints to be applied to the nodes in the node group
|
3793
|
+
# after the update.
|
3794
|
+
# @return [Types::UpdateTaintsPayload]
|
3795
|
+
#
|
3684
3796
|
# @!attribute [rw] scaling_config
|
3685
3797
|
# The scaling configuration details for the Auto Scaling group after
|
3686
3798
|
# the update.
|
3687
3799
|
# @return [Types::NodegroupScalingConfig]
|
3688
3800
|
#
|
3801
|
+
# @!attribute [rw] update_config
|
3802
|
+
# @return [Types::NodegroupUpdateConfig]
|
3803
|
+
#
|
3689
3804
|
# @!attribute [rw] client_request_token
|
3690
3805
|
# Unique, case-sensitive identifier that you provide to ensure the
|
3691
3806
|
# idempotency of the request.
|
@@ -3700,7 +3815,9 @@ module Aws::EKS
|
|
3700
3815
|
:cluster_name,
|
3701
3816
|
:nodegroup_name,
|
3702
3817
|
:labels,
|
3818
|
+
:taints,
|
3703
3819
|
:scaling_config,
|
3820
|
+
:update_config,
|
3704
3821
|
:client_request_token)
|
3705
3822
|
SENSITIVE = []
|
3706
3823
|
include Aws::Structure
|
@@ -3845,6 +3962,45 @@ module Aws::EKS
|
|
3845
3962
|
include Aws::Structure
|
3846
3963
|
end
|
3847
3964
|
|
3965
|
+
# An object representing the details of an update to a taints payload.
|
3966
|
+
#
|
3967
|
+
# @note When making an API call, you may pass UpdateTaintsPayload
|
3968
|
+
# data as a hash:
|
3969
|
+
#
|
3970
|
+
# {
|
3971
|
+
# add_or_update_taints: [
|
3972
|
+
# {
|
3973
|
+
# key: "taintKey",
|
3974
|
+
# value: "taintValue",
|
3975
|
+
# effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
|
3976
|
+
# },
|
3977
|
+
# ],
|
3978
|
+
# remove_taints: [
|
3979
|
+
# {
|
3980
|
+
# key: "taintKey",
|
3981
|
+
# value: "taintValue",
|
3982
|
+
# effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
|
3983
|
+
# },
|
3984
|
+
# ],
|
3985
|
+
# }
|
3986
|
+
#
|
3987
|
+
# @!attribute [rw] add_or_update_taints
|
3988
|
+
# Kubernetes taints to be added or updated.
|
3989
|
+
# @return [Array<Types::Taint>]
|
3990
|
+
#
|
3991
|
+
# @!attribute [rw] remove_taints
|
3992
|
+
# Kubernetes taints to be removed.
|
3993
|
+
# @return [Array<Types::Taint>]
|
3994
|
+
#
|
3995
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateTaintsPayload AWS API Documentation
|
3996
|
+
#
|
3997
|
+
class UpdateTaintsPayload < Struct.new(
|
3998
|
+
:add_or_update_taints,
|
3999
|
+
:remove_taints)
|
4000
|
+
SENSITIVE = []
|
4001
|
+
include Aws::Structure
|
4002
|
+
end
|
4003
|
+
|
3848
4004
|
# An object representing the VPC configuration to use for an Amazon EKS
|
3849
4005
|
# cluster.
|
3850
4006
|
#
|
data/lib/aws-sdk-eks/waiters.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -100,6 +100,12 @@ module Aws::EKS
|
|
100
100
|
"state" => "failure",
|
101
101
|
"argument" => "addon.status"
|
102
102
|
},
|
103
|
+
{
|
104
|
+
"expected" => "DEGRADED",
|
105
|
+
"matcher" => "path",
|
106
|
+
"state" => "failure",
|
107
|
+
"argument" => "addon.status"
|
108
|
+
},
|
103
109
|
{
|
104
110
|
"expected" => "ACTIVE",
|
105
111
|
"matcher" => "path",
|
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.55.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-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -47,11 +47,14 @@ dependencies:
|
|
47
47
|
description: Official AWS Ruby gem for Amazon Elastic Kubernetes Service (Amazon EKS).
|
48
48
|
This gem is part of the AWS SDK for Ruby.
|
49
49
|
email:
|
50
|
-
-
|
50
|
+
- aws-dr-rubygems@amazon.com
|
51
51
|
executables: []
|
52
52
|
extensions: []
|
53
53
|
extra_rdoc_files: []
|
54
54
|
files:
|
55
|
+
- CHANGELOG.md
|
56
|
+
- LICENSE.txt
|
57
|
+
- VERSION
|
55
58
|
- lib/aws-sdk-eks.rb
|
56
59
|
- lib/aws-sdk-eks/client.rb
|
57
60
|
- lib/aws-sdk-eks/client_api.rb
|
@@ -64,8 +67,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
|
|
64
67
|
licenses:
|
65
68
|
- Apache-2.0
|
66
69
|
metadata:
|
67
|
-
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
68
|
-
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
70
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-eks
|
71
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-eks/CHANGELOG.md
|
69
72
|
post_install_message:
|
70
73
|
rdoc_options: []
|
71
74
|
require_paths:
|
@@ -81,8 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
84
|
- !ruby/object:Gem::Version
|
82
85
|
version: '0'
|
83
86
|
requirements: []
|
84
|
-
|
85
|
-
rubygems_version: 2.7.6.2
|
87
|
+
rubygems_version: 3.1.6
|
86
88
|
signing_key:
|
87
89
|
specification_version: 4
|
88
90
|
summary: AWS SDK for Ruby - Amazon EKS
|