Skip to content

Commit a6183ad

Browse files
author
awstools
committed
feat(client-eks): Adds support for UpdateStrategies in EKS Managed Node Groups.
1 parent b54238c commit a6183ad

File tree

54 files changed

+362
-200
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+362
-200
lines changed

clients/client-eks/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ scaling, and management of containerized applications.</p>
1414
can use all the existing plugins and tooling from the Kubernetes community. Applications
1515
running on Amazon EKS are fully compatible with applications running on any
1616
standard Kubernetes environment, whether running in on-premises data centers or public
17-
clouds. This means that you can easily migrate any standard Kubernetes application to Amazon EKS without any code modification required.</p>
17+
clouds. This means that you can easily migrate any standard Kubernetes application to Amazon EKS
18+
without any code modification required.</p>
1819

1920
## Installing
2021

clients/client-eks/src/EKS.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1217,7 +1217,8 @@ export interface EKS {
12171217
* can use all the existing plugins and tooling from the Kubernetes community. Applications
12181218
* running on Amazon EKS are fully compatible with applications running on any
12191219
* standard Kubernetes environment, whether running in on-premises data centers or public
1220-
* clouds. This means that you can easily migrate any standard Kubernetes application to Amazon EKS without any code modification required.</p>
1220+
* clouds. This means that you can easily migrate any standard Kubernetes application to Amazon EKS
1221+
* without any code modification required.</p>
12211222
* @public
12221223
*/
12231224
export class EKS extends EKSClient implements EKS {}

clients/client-eks/src/EKSClient.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,8 @@ export interface EKSClientResolvedConfig extends EKSClientResolvedConfigType {}
537537
* can use all the existing plugins and tooling from the Kubernetes community. Applications
538538
* running on Amazon EKS are fully compatible with applications running on any
539539
* standard Kubernetes environment, whether running in on-premises data centers or public
540-
* clouds. This means that you can easily migrate any standard Kubernetes application to Amazon EKS without any code modification required.</p>
540+
* clouds. This means that you can easily migrate any standard Kubernetes application to Amazon EKS
541+
* without any code modification required.</p>
541542
* @public
542543
*/
543544
export class EKSClient extends __Client<

clients/client-eks/src/commands/AssociateAccessPolicyCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ export interface AssociateAccessPolicyCommandOutput extends AssociateAccessPolic
8585
* @throws {@link ResourceNotFoundException} (client fault)
8686
* <p>The specified resource could not be found. You can view your available clusters with
8787
* <code>ListClusters</code>. You can view your available managed node groups with
88-
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
88+
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region
89+
* specific.</p>
8990
*
9091
* @throws {@link ServerException} (server fault)
9192
* <p>These errors are usually caused by a server-side issue.</p>

clients/client-eks/src/commands/AssociateEncryptionConfigCommand.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export interface AssociateEncryptionConfigCommandOutput extends AssociateEncrypt
6161
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate",
6262
* // params: [ // UpdateParams
6363
* // { // UpdateParam
64-
* // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig",
64+
* // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig",
6565
* // value: "STRING_VALUE",
6666
* // },
6767
* // ],
@@ -105,7 +105,8 @@ export interface AssociateEncryptionConfigCommandOutput extends AssociateEncrypt
105105
* @throws {@link ResourceNotFoundException} (client fault)
106106
* <p>The specified resource could not be found. You can view your available clusters with
107107
* <code>ListClusters</code>. You can view your available managed node groups with
108-
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
108+
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region
109+
* specific.</p>
109110
*
110111
* @throws {@link ServerException} (server fault)
111112
* <p>These errors are usually caused by a server-side issue.</p>

clients/client-eks/src/commands/AssociateIdentityProviderConfigCommand.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export interface AssociateIdentityProviderConfigCommandOutput
7575
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate",
7676
* // params: [ // UpdateParams
7777
* // { // UpdateParam
78-
* // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig",
78+
* // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig",
7979
* // value: "STRING_VALUE",
8080
* // },
8181
* // ],
@@ -122,7 +122,8 @@ export interface AssociateIdentityProviderConfigCommandOutput
122122
* @throws {@link ResourceNotFoundException} (client fault)
123123
* <p>The specified resource could not be found. You can view your available clusters with
124124
* <code>ListClusters</code>. You can view your available managed node groups with
125-
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
125+
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region
126+
* specific.</p>
126127
*
127128
* @throws {@link ServerException} (server fault)
128129
* <p>These errors are usually caused by a server-side issue.</p>

clients/client-eks/src/commands/CreateAccessEntryCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ export interface CreateAccessEntryCommandOutput extends CreateAccessEntryRespons
105105
* @throws {@link ResourceNotFoundException} (client fault)
106106
* <p>The specified resource could not be found. You can view your available clusters with
107107
* <code>ListClusters</code>. You can view your available managed node groups with
108-
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
108+
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region
109+
* specific.</p>
109110
*
110111
* @throws {@link ServerException} (server fault)
111112
* <p>These errors are usually caused by a server-side issue.</p>

clients/client-eks/src/commands/CreateAddonCommand.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ export interface CreateAddonCommandOutput extends CreateAddonResponse, __Metadat
3131
* <p>Creates an Amazon EKS add-on.</p>
3232
* <p>Amazon EKS add-ons help to automate the provisioning and lifecycle management
3333
* of common operational software for Amazon EKS clusters. For more information,
34-
* see <a href="https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html">Amazon EKS add-ons</a> in the <i>Amazon EKS User Guide</i>.</p>
34+
* see <a href="https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html">Amazon EKS
35+
* add-ons</a> in the <i>Amazon EKS User Guide</i>.</p>
3536
* @example
3637
* Use a bare-bones client and the command you need to make an API call.
3738
* ```javascript
@@ -122,7 +123,8 @@ export interface CreateAddonCommandOutput extends CreateAddonResponse, __Metadat
122123
* @throws {@link ResourceNotFoundException} (client fault)
123124
* <p>The specified resource could not be found. You can view your available clusters with
124125
* <code>ListClusters</code>. You can view your available managed node groups with
125-
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
126+
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region
127+
* specific.</p>
126128
*
127129
* @throws {@link ServerException} (server fault)
128130
* <p>These errors are usually caused by a server-side issue.</p>

clients/client-eks/src/commands/CreateClusterCommand.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
3131
* <p>Creates an Amazon EKS control plane.</p>
3232
* <p>The Amazon EKS control plane consists of control plane instances that run the
3333
* Kubernetes software, such as <code>etcd</code> and the API server. The control plane runs in
34-
* an account managed by Amazon Web Services, and the Kubernetes API is exposed by the Amazon EKS API server endpoint. Each Amazon EKS cluster control plane is
34+
* an account managed by Amazon Web Services, and the Kubernetes API is exposed by the Amazon EKS
35+
* API server endpoint. Each Amazon EKS cluster control plane is
3536
* single tenant and unique. It runs on its own set of Amazon EC2 instances.</p>
3637
* <p>The cluster control plane is provisioned across multiple Availability Zones and
3738
* fronted by an Elastic Load Balancing
@@ -45,7 +46,8 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
4546
* <p>You can use the <code>endpointPublicAccess</code> and
4647
* <code>endpointPrivateAccess</code> parameters to enable or disable public and
4748
* private access to your cluster's Kubernetes API server endpoint. By default, public access is
48-
* enabled, and private access is disabled. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html">Amazon EKS Cluster Endpoint Access Control</a> in the
49+
* enabled, and private access is disabled. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html">Amazon EKS
50+
* Cluster Endpoint Access Control</a> in the
4951
* <i>
5052
* <i>Amazon EKS User Guide</i>
5153
* </i>. </p>

clients/client-eks/src/commands/CreateFargateProfileCommand.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface CreateFargateProfileCommandOutput extends CreateFargateProfileR
3333
* pods on Fargate.</p>
3434
* <p>The Fargate profile allows an administrator to declare which pods run
3535
* on Fargate and specify which pods run on which Fargate
36-
* profile. This declaration is done through the profiles selectors. Each profile can have
36+
* profile. This declaration is done through the profile's selectors. Each profile can have
3737
* up to five selectors that contain a namespace and labels. A namespace is required for
3838
* every selector. The label field consists of multiple optional key-value pairs. Pods that
3939
* match the selectors are scheduled on Fargate. If a to-be-scheduled pod
@@ -45,7 +45,8 @@ export interface CreateFargateProfileCommandOutput extends CreateFargateProfileR
4545
* Access Control</a> (RBAC) for authorization so that the <code>kubelet</code>
4646
* that is running on the Fargate infrastructure can register with your
4747
* Amazon EKS cluster so that it can appear in your cluster as a node. The pod
48-
* execution role also provides IAM permissions to the Fargate infrastructure to allow read access to Amazon ECR image repositories. For
48+
* execution role also provides IAM permissions to the Fargate infrastructure to
49+
* allow read access to Amazon ECR image repositories. For
4950
* more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/pod-execution-role.html">Pod Execution Role</a> in the <i>Amazon EKS User Guide</i>.</p>
5051
* <p>Fargate profiles are immutable. However, you can create a new updated
5152
* profile to replace an existing profile and then delete the original after the updated

clients/client-eks/src/commands/CreateNodegroupCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ export interface CreateNodegroupCommandOutput extends CreateNodegroupResponse, _
9292
* updateConfig: { // NodegroupUpdateConfig
9393
* maxUnavailable: Number("int"),
9494
* maxUnavailablePercentage: Number("int"),
95+
* updateStrategy: "DEFAULT" || "MINIMAL",
9596
* },
9697
* nodeRepairConfig: { // NodeRepairConfig
9798
* enabled: true || false,
@@ -163,6 +164,7 @@ export interface CreateNodegroupCommandOutput extends CreateNodegroupResponse, _
163164
* // updateConfig: { // NodegroupUpdateConfig
164165
* // maxUnavailable: Number("int"),
165166
* // maxUnavailablePercentage: Number("int"),
167+
* // updateStrategy: "DEFAULT" || "MINIMAL",
166168
* // },
167169
* // nodeRepairConfig: { // NodeRepairConfig
168170
* // enabled: true || false,

clients/client-eks/src/commands/CreatePodIdentityAssociationCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ export interface CreatePodIdentityAssociationCommandOutput
104104
* @throws {@link ResourceNotFoundException} (client fault)
105105
* <p>The specified resource could not be found. You can view your available clusters with
106106
* <code>ListClusters</code>. You can view your available managed node groups with
107-
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
107+
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region
108+
* specific.</p>
108109
*
109110
* @throws {@link ServerException} (server fault)
110111
* <p>These errors are usually caused by a server-side issue.</p>

clients/client-eks/src/commands/DeleteAccessEntryCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ export interface DeleteAccessEntryCommandOutput extends DeleteAccessEntryRespons
6161
* @throws {@link ResourceNotFoundException} (client fault)
6262
* <p>The specified resource could not be found. You can view your available clusters with
6363
* <code>ListClusters</code>. You can view your available managed node groups with
64-
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
64+
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region
65+
* specific.</p>
6566
*
6667
* @throws {@link ServerException} (server fault)
6768
* <p>These errors are usually caused by a server-side issue.</p>

clients/client-eks/src/commands/DeleteAddonCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ export interface DeleteAddonCommandOutput extends DeleteAddonResponse, __Metadat
105105
* @throws {@link ResourceNotFoundException} (client fault)
106106
* <p>The specified resource could not be found. You can view your available clusters with
107107
* <code>ListClusters</code>. You can view your available managed node groups with
108-
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
108+
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region
109+
* specific.</p>
109110
*
110111
* @throws {@link ServerException} (server fault)
111112
* <p>These errors are usually caused by a server-side issue.</p>

clients/client-eks/src/commands/DeleteClusterCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,8 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
191191
* @throws {@link ResourceNotFoundException} (client fault)
192192
* <p>The specified resource could not be found. You can view your available clusters with
193193
* <code>ListClusters</code>. You can view your available managed node groups with
194-
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
194+
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region
195+
* specific.</p>
195196
*
196197
* @throws {@link ServerException} (server fault)
197198
* <p>These errors are usually caused by a server-side issue.</p>

clients/client-eks/src/commands/DeleteEksAnywhereSubscriptionCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ export interface DeleteEksAnywhereSubscriptionCommandOutput
9292
* @throws {@link ResourceNotFoundException} (client fault)
9393
* <p>The specified resource could not be found. You can view your available clusters with
9494
* <code>ListClusters</code>. You can view your available managed node groups with
95-
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
95+
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region
96+
* specific.</p>
9697
*
9798
* @throws {@link ServerException} (server fault)
9899
* <p>These errors are usually caused by a server-side issue.</p>

clients/client-eks/src/commands/DeleteFargateProfileCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ export interface DeleteFargateProfileCommandOutput extends DeleteFargateProfileR
107107
* @throws {@link ResourceNotFoundException} (client fault)
108108
* <p>The specified resource could not be found. You can view your available clusters with
109109
* <code>ListClusters</code>. You can view your available managed node groups with
110-
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
110+
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region
111+
* specific.</p>
111112
*
112113
* @throws {@link ServerException} (server fault)
113114
* <p>These errors are usually caused by a server-side issue.</p>

0 commit comments

Comments
 (0)