@aws-sdk/client-eks 3.45.0 → 3.46.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.
- package/CHANGELOG.md +18 -0
- package/README.md +10 -10
- package/dist-cjs/models/models_0.js +8 -3
- package/dist-cjs/protocols/Aws_restJson1.js +3 -0
- package/dist-cjs/runtimeConfig.js +0 -2
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +3 -1
- package/dist-es/runtimeConfig.js +0 -2
- package/dist-types/EKS.d.ts +112 -99
- package/dist-types/EKSClient.d.ts +10 -10
- package/dist-types/commands/CreateClusterCommand.d.ts +2 -1
- package/dist-types/commands/CreateFargateProfileCommand.d.ts +28 -24
- package/dist-types/commands/CreateNodegroupCommand.d.ts +9 -8
- package/dist-types/commands/DeleteClusterCommand.d.ts +2 -2
- package/dist-types/commands/DeleteFargateProfileCommand.d.ts +8 -7
- package/dist-types/commands/DeregisterClusterCommand.d.ts +2 -1
- package/dist-types/commands/DescribeUpdateCommand.d.ts +2 -2
- package/dist-types/commands/DisassociateIdentityProviderConfigCommand.d.ts +2 -2
- package/dist-types/commands/ListClustersCommand.d.ts +2 -1
- package/dist-types/commands/ListFargateProfilesCommand.d.ts +2 -2
- package/dist-types/commands/ListNodegroupsCommand.d.ts +3 -2
- package/dist-types/commands/ListUpdatesCommand.d.ts +2 -2
- package/dist-types/commands/RegisterClusterCommand.d.ts +9 -5
- package/dist-types/commands/TagResourceCommand.d.ts +3 -4
- package/dist-types/commands/UpdateClusterConfigCommand.d.ts +12 -11
- package/dist-types/commands/UpdateClusterVersionCommand.d.ts +3 -4
- package/dist-types/commands/UpdateNodegroupConfigCommand.d.ts +4 -5
- package/dist-types/commands/UpdateNodegroupVersionCommand.d.ts +7 -6
- package/dist-types/models/models_0.d.ts +252 -187
- package/dist-types/ts3.4/models/models_0.d.ts +10 -0
- package/package.json +37 -44
|
@@ -7,30 +7,34 @@ export interface CreateFargateProfileCommandInput extends CreateFargateProfileRe
|
|
|
7
7
|
export interface CreateFargateProfileCommandOutput extends CreateFargateProfileResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Creates an Fargate profile for your Amazon EKS cluster. You
|
|
11
|
-
* profile in a cluster to be able to run
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
* <p>
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* <p>
|
|
10
|
+
* <p>Creates an Fargate profile for your Amazon EKS cluster. You
|
|
11
|
+
* must have at least one Fargate profile in a cluster to be able to run
|
|
12
|
+
* pods on Fargate.</p>
|
|
13
|
+
* <p>The Fargate profile allows an administrator to declare which pods run
|
|
14
|
+
* on Fargate and specify which pods run on which Fargate
|
|
15
|
+
* profile. This declaration is done through the profile’s selectors. Each profile can have
|
|
16
|
+
* up to five selectors that contain a namespace and labels. A namespace is required for
|
|
17
|
+
* every selector. The label field consists of multiple optional key-value pairs. Pods that
|
|
18
|
+
* match the selectors are scheduled on Fargate. If a to-be-scheduled pod
|
|
19
|
+
* matches any of the selectors in the Fargate profile, then that pod is run
|
|
20
|
+
* on Fargate.</p>
|
|
21
|
+
* <p>When you create a Fargate profile, you must specify a pod execution
|
|
22
|
+
* role to use with the pods that are scheduled with the profile. This role is added to the
|
|
23
|
+
* cluster's Kubernetes <a href="https://kubernetes.io/docs/admin/authorization/rbac/">Role Based Access Control</a> (RBAC) for authorization so that the
|
|
24
|
+
* <code>kubelet</code> that is running on the Fargate infrastructure
|
|
25
|
+
* can register with your Amazon EKS cluster so that it can appear in your cluster
|
|
26
|
+
* as a node. The pod execution role also provides IAM permissions to the
|
|
27
|
+
* Fargate infrastructure to allow read access to Amazon ECR
|
|
28
|
+
* image repositories. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/pod-execution-role.html">Pod
|
|
29
|
+
* Execution Role</a> in the <i>Amazon EKS User Guide</i>.</p>
|
|
30
|
+
* <p>Fargate profiles are immutable. However, you can create a new updated
|
|
31
|
+
* profile to replace an existing profile and then delete the original after the updated
|
|
32
|
+
* profile has finished creating.</p>
|
|
33
|
+
* <p>If any Fargate profiles in a cluster are in the <code>DELETING</code>
|
|
34
|
+
* status, you must wait for that Fargate profile to finish deleting before
|
|
35
|
+
* you can create any other profiles in that cluster.</p>
|
|
36
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/fargate-profile.html">Fargate Profile</a> in the
|
|
37
|
+
* <i>Amazon EKS User Guide</i>.</p>
|
|
34
38
|
* @example
|
|
35
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
40
|
* ```javascript
|
|
@@ -7,15 +7,16 @@ export interface CreateNodegroupCommandInput extends CreateNodegroupRequest {
|
|
|
7
7
|
export interface CreateNodegroupCommandOutput extends CreateNodegroupResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Creates a managed node group for an Amazon EKS cluster. You can only create a
|
|
11
|
-
* for your cluster that is equal to the current Kubernetes version for the
|
|
12
|
-
* node groups are created with the latest AMI release version for the
|
|
13
|
-
* Kubernetes version of the cluster, unless you deploy a custom AMI using
|
|
14
|
-
* template. For more information about using launch templates, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html">Launch
|
|
10
|
+
* <p>Creates a managed node group for an Amazon EKS cluster. You can only create a
|
|
11
|
+
* node group for your cluster that is equal to the current Kubernetes version for the
|
|
12
|
+
* cluster. All node groups are created with the latest AMI release version for the
|
|
13
|
+
* respective minor Kubernetes version of the cluster, unless you deploy a custom AMI using
|
|
14
|
+
* a launch template. For more information about using launch templates, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html">Launch
|
|
15
15
|
* template support</a>.</p>
|
|
16
|
-
* <p>An Amazon EKS managed node group is an Amazon EC2
|
|
17
|
-
*
|
|
18
|
-
*
|
|
16
|
+
* <p>An Amazon EKS managed node group is an Amazon EC2
|
|
17
|
+
* Auto Scaling group and associated Amazon EC2 instances that are managed by
|
|
18
|
+
* Amazon Web Services for an Amazon EKS cluster. Each node group uses a version
|
|
19
|
+
* of the Amazon EKS optimized Amazon Linux 2 AMI. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html">Managed
|
|
19
20
|
* Node Groups</a> in the <i>Amazon EKS User Guide</i>. </p>
|
|
20
21
|
* @example
|
|
21
22
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -13,8 +13,8 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
|
|
|
13
13
|
* are deleted properly. Otherwise, you can have orphaned resources in your VPC that
|
|
14
14
|
* prevent you from being able to delete the VPC. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/delete-cluster.html">Deleting a
|
|
15
15
|
* Cluster</a> in the <i>Amazon EKS User Guide</i>.</p>
|
|
16
|
-
* <p>If you have managed node groups or Fargate profiles attached to the
|
|
17
|
-
* delete them first. For more information, see <a>DeleteNodegroup</a> and <a>DeleteFargateProfile</a>.</p>
|
|
16
|
+
* <p>If you have managed node groups or Fargate profiles attached to the
|
|
17
|
+
* cluster, you must delete them first. For more information, see <a>DeleteNodegroup</a> and <a>DeleteFargateProfile</a>.</p>
|
|
18
18
|
* @example
|
|
19
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
20
20
|
* ```javascript
|
|
@@ -8,13 +8,14 @@ export interface DeleteFargateProfileCommandOutput extends DeleteFargateProfileR
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Deletes an Fargate profile.</p>
|
|
11
|
-
* <p>When you delete a Fargate profile, any pods running on Fargate that were created with the
|
|
12
|
-
* profile are
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* <p>Only one Fargate profile in a cluster can be in the
|
|
16
|
-
*
|
|
17
|
-
* other profiles in that
|
|
11
|
+
* <p>When you delete a Fargate profile, any pods running on Fargate that were created with the profile are deleted. If those pods match
|
|
12
|
+
* another Fargate profile, then they are scheduled on Fargate with that profile. If they no longer match any Fargate profiles, then
|
|
13
|
+
* they are not scheduled on Fargate and they may remain in a pending
|
|
14
|
+
* state.</p>
|
|
15
|
+
* <p>Only one Fargate profile in a cluster can be in the
|
|
16
|
+
* <code>DELETING</code> status at a time. You must wait for a Fargate
|
|
17
|
+
* profile to finish deleting before you can delete any other profiles in that
|
|
18
|
+
* cluster.</p>
|
|
18
19
|
* @example
|
|
19
20
|
* Use a bare-bones client and the command you need to make an API call.
|
|
20
21
|
* ```javascript
|
|
@@ -7,7 +7,8 @@ export interface DeregisterClusterCommandInput extends DeregisterClusterRequest
|
|
|
7
7
|
export interface DeregisterClusterCommandOutput extends DeregisterClusterResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Deregisters a connected cluster to remove it from the Amazon EKS control
|
|
10
|
+
* <p>Deregisters a connected cluster to remove it from the Amazon EKS control
|
|
11
|
+
* plane.</p>
|
|
11
12
|
* @example
|
|
12
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
14
|
* ```javascript
|
|
@@ -7,8 +7,8 @@ export interface DescribeUpdateCommandInput extends DescribeUpdateRequest {
|
|
|
7
7
|
export interface DescribeUpdateCommandOutput extends DescribeUpdateResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Returns descriptive information about an update against your Amazon EKS
|
|
11
|
-
* associated managed node group.</p>
|
|
10
|
+
* <p>Returns descriptive information about an update against your Amazon EKS
|
|
11
|
+
* cluster or associated managed node group.</p>
|
|
12
12
|
* <p>When the status of the update is <code>Succeeded</code>, the update is complete. If an
|
|
13
13
|
* update fails, the status is <code>Failed</code>, and an error detail explains the reason
|
|
14
14
|
* for the failure.</p>
|
|
@@ -9,8 +9,8 @@ export interface DisassociateIdentityProviderConfigCommandOutput extends Disasso
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Disassociates an identity provider configuration from a cluster. If you disassociate
|
|
11
11
|
* an identity provider from your cluster, users included in the provider can no longer
|
|
12
|
-
* access the cluster. However, you can still access the cluster with Amazon Web Services
|
|
13
|
-
* users.</p>
|
|
12
|
+
* access the cluster. However, you can still access the cluster with Amazon Web Services
|
|
13
|
+
* IAM users.</p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
16
|
* ```javascript
|
|
@@ -7,7 +7,8 @@ export interface ListClustersCommandInput extends ListClustersRequest {
|
|
|
7
7
|
export interface ListClustersCommandOutput extends ListClustersResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Lists the Amazon EKS clusters in your Amazon Web Services account in the
|
|
10
|
+
* <p>Lists the Amazon EKS clusters in your Amazon Web Services account in the
|
|
11
|
+
* specified Region.</p>
|
|
11
12
|
* @example
|
|
12
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
14
|
* ```javascript
|
|
@@ -7,8 +7,8 @@ export interface ListFargateProfilesCommandInput extends ListFargateProfilesRequ
|
|
|
7
7
|
export interface ListFargateProfilesCommandOutput extends ListFargateProfilesResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Lists the Fargate profiles associated with the specified cluster in
|
|
11
|
-
* account in the specified Region.</p>
|
|
10
|
+
* <p>Lists the Fargate profiles associated with the specified cluster in
|
|
11
|
+
* your Amazon Web Services account in the specified Region.</p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
14
|
* ```javascript
|
|
@@ -7,8 +7,9 @@ export interface ListNodegroupsCommandInput extends ListNodegroupsRequest {
|
|
|
7
7
|
export interface ListNodegroupsCommandOutput extends ListNodegroupsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Lists the Amazon EKS managed node groups associated with the specified cluster
|
|
11
|
-
* Amazon Web Services account in the specified Region. Self-managed node groups are
|
|
10
|
+
* <p>Lists the Amazon EKS managed node groups associated with the specified cluster
|
|
11
|
+
* in your Amazon Web Services account in the specified Region. Self-managed node groups are
|
|
12
|
+
* not listed.</p>
|
|
12
13
|
* @example
|
|
13
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
15
|
* ```javascript
|
|
@@ -7,8 +7,8 @@ export interface ListUpdatesCommandInput extends ListUpdatesRequest {
|
|
|
7
7
|
export interface ListUpdatesCommandOutput extends ListUpdatesResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Lists the updates associated with an Amazon EKS cluster or managed node group
|
|
11
|
-
* account, in the specified Region.</p>
|
|
10
|
+
* <p>Lists the updates associated with an Amazon EKS cluster or managed node group
|
|
11
|
+
* in your Amazon Web Services account, in the specified Region.</p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
14
|
* ```javascript
|
|
@@ -8,14 +8,18 @@ export interface RegisterClusterCommandOutput extends RegisterClusterResponse, _
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Connects a Kubernetes cluster to the Amazon EKS control plane. </p>
|
|
11
|
-
* <p>Any Kubernetes cluster can be connected to the Amazon EKS control plane to
|
|
12
|
-
*
|
|
11
|
+
* <p>Any Kubernetes cluster can be connected to the Amazon EKS control plane to
|
|
12
|
+
* view current information about the cluster and its nodes. </p>
|
|
13
13
|
* <p>Cluster connection requires two steps. First, send a <code>
|
|
14
14
|
* <a>RegisterClusterRequest</a>
|
|
15
|
-
* </code> to add it to the Amazon EKS
|
|
16
|
-
*
|
|
15
|
+
* </code> to add it to the Amazon EKS
|
|
16
|
+
* control plane.</p>
|
|
17
|
+
* <p>Second, a <a href="https://amazon-eks.s3.us-west-2.amazonaws.com/eks-connector/manifests/eks-connector/latest/eks-connector.yaml">Manifest</a> containing the <code>activationID</code> and
|
|
18
|
+
* <code>activationCode</code> must be applied to the Kubernetes cluster through it's
|
|
19
|
+
* native provider to provide visibility.</p>
|
|
17
20
|
*
|
|
18
|
-
* <p>After the Manifest is updated and applied, then the connected cluster is visible to
|
|
21
|
+
* <p>After the Manifest is updated and applied, then the connected cluster is visible to
|
|
22
|
+
* the Amazon EKS control plane. If the Manifest is not applied within three days,
|
|
19
23
|
* then the connected cluster will no longer be visible and must be deregistered. See <a>DeregisterCluster</a>.</p>
|
|
20
24
|
* @example
|
|
21
25
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -10,10 +10,9 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
10
10
|
* <p>Associates the specified tags to a resource with the specified
|
|
11
11
|
* <code>resourceArn</code>. If existing tags on a resource are not specified in the
|
|
12
12
|
* request parameters, they are not changed. When a resource is deleted, the tags
|
|
13
|
-
* associated with that resource are deleted as well. Tags that you create for Amazon EKS
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* propagate to the subnets and nodes associated with the cluster.</p>
|
|
13
|
+
* associated with that resource are deleted as well. Tags that you create for Amazon EKS resources do not propagate to any other resources associated with the
|
|
14
|
+
* cluster. For example, if you tag a cluster with this operation, that tag does not
|
|
15
|
+
* automatically propagate to the subnets and nodes associated with the cluster.</p>
|
|
17
16
|
* @example
|
|
18
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
19
18
|
* ```javascript
|
|
@@ -7,24 +7,25 @@ export interface UpdateClusterConfigCommandInput extends UpdateClusterConfigRequ
|
|
|
7
7
|
export interface UpdateClusterConfigCommandOutput extends UpdateClusterConfigResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Updates an Amazon EKS cluster configuration. Your cluster continues to
|
|
11
|
-
* update. The response output includes an update ID that you can use
|
|
12
|
-
* of your cluster update with the <a>DescribeUpdate</a> API
|
|
10
|
+
* <p>Updates an Amazon EKS cluster configuration. Your cluster continues to
|
|
11
|
+
* function during the update. The response output includes an update ID that you can use
|
|
12
|
+
* to track the status of your cluster update with the <a>DescribeUpdate</a> API
|
|
13
|
+
* operation.</p>
|
|
13
14
|
* <p>You can use this API operation to enable or disable exporting the Kubernetes control
|
|
14
|
-
* plane logs for your cluster to CloudWatch Logs. By default, cluster control plane
|
|
15
|
-
* exported to CloudWatch Logs. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html">Amazon EKS
|
|
16
|
-
*
|
|
17
|
-
* <i>
|
|
15
|
+
* plane logs for your cluster to CloudWatch Logs. By default, cluster control plane
|
|
16
|
+
* logs aren't exported to CloudWatch Logs. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html">Amazon EKS Cluster Control Plane Logs</a> in the
|
|
17
|
+
* <i>
|
|
18
18
|
* <i>Amazon EKS User Guide</i>
|
|
19
19
|
* </i>.</p>
|
|
20
20
|
* <note>
|
|
21
|
-
* <p>CloudWatch Logs ingestion, archive storage, and data scanning rates apply to
|
|
22
|
-
* control plane logs. For more information, see <a href="http://aws.amazon.com/cloudwatch/pricing/">CloudWatch
|
|
21
|
+
* <p>CloudWatch Logs ingestion, archive storage, and data scanning rates apply to
|
|
22
|
+
* exported control plane logs. For more information, see <a href="http://aws.amazon.com/cloudwatch/pricing/">CloudWatch
|
|
23
|
+
* Pricing</a>.</p>
|
|
23
24
|
* </note>
|
|
24
25
|
* <p>You can also use this API operation to enable or disable public and private access to
|
|
25
26
|
* your cluster's Kubernetes API server endpoint. By default, public access is enabled, and
|
|
26
|
-
* private access is disabled. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html">Amazon EKS cluster
|
|
27
|
-
*
|
|
27
|
+
* 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
|
|
28
|
+
* <i>
|
|
28
29
|
* <i>Amazon EKS User Guide</i>
|
|
29
30
|
* </i>. </p>
|
|
30
31
|
* <important>
|
|
@@ -7,10 +7,9 @@ export interface UpdateClusterVersionCommandInput extends UpdateClusterVersionRe
|
|
|
7
7
|
export interface UpdateClusterVersionCommandOutput extends UpdateClusterVersionResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Updates an Amazon EKS cluster to the specified Kubernetes version. Your
|
|
11
|
-
* to function during the update. The response output includes an update
|
|
12
|
-
* use to track the status of your cluster update with the <a>DescribeUpdate</a>
|
|
13
|
-
* API operation.</p>
|
|
10
|
+
* <p>Updates an Amazon EKS cluster to the specified Kubernetes version. Your
|
|
11
|
+
* cluster continues to function during the update. The response output includes an update
|
|
12
|
+
* ID that you can use to track the status of your cluster update with the <a>DescribeUpdate</a> API operation.</p>
|
|
14
13
|
* <p>Cluster updates are asynchronous, and they should finish within a few minutes. During
|
|
15
14
|
* an update, the cluster status moves to <code>UPDATING</code> (this status transition is
|
|
16
15
|
* eventually consistent). When the update is complete (either <code>Failed</code> or
|
|
@@ -7,11 +7,10 @@ export interface UpdateNodegroupConfigCommandInput extends UpdateNodegroupConfig
|
|
|
7
7
|
export interface UpdateNodegroupConfigCommandOutput extends UpdateNodegroupConfigResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Updates an Amazon EKS managed node group configuration. Your node group
|
|
11
|
-
* function during the update. The response output includes an update ID that
|
|
12
|
-
* to track the status of your node group update with the <a>DescribeUpdate</a>
|
|
13
|
-
*
|
|
14
|
-
* scaling configuration.</p>
|
|
10
|
+
* <p>Updates an Amazon EKS managed node group configuration. Your node group
|
|
11
|
+
* continues to function during the update. The response output includes an update ID that
|
|
12
|
+
* you can use to track the status of your node group update with the <a>DescribeUpdate</a> API operation. Currently you can update the Kubernetes
|
|
13
|
+
* labels for a node group or the scaling configuration.</p>
|
|
15
14
|
* @example
|
|
16
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
16
|
* ```javascript
|
|
@@ -7,7 +7,8 @@ export interface UpdateNodegroupVersionCommandInput extends UpdateNodegroupVersi
|
|
|
7
7
|
export interface UpdateNodegroupVersionCommandOutput extends UpdateNodegroupVersionResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Updates the Kubernetes version or AMI version of an Amazon EKS managed node
|
|
10
|
+
* <p>Updates the Kubernetes version or AMI version of an Amazon EKS managed node
|
|
11
|
+
* group.</p>
|
|
11
12
|
* <p>You can update a node group using a launch template only if the node group was
|
|
12
13
|
* originally deployed with a launch template. If you need to update a custom AMI in a node
|
|
13
14
|
* group that was deployed with a launch template, then update your custom AMI, specify the
|
|
@@ -17,14 +18,14 @@ export interface UpdateNodegroupVersionCommandOutput extends UpdateNodegroupVers
|
|
|
17
18
|
* AMI version of a node group's current Kubernetes version by not specifying a Kubernetes
|
|
18
19
|
* version in the request. You can update to the latest AMI version of your cluster's
|
|
19
20
|
* current Kubernetes version by specifying your cluster's Kubernetes version in the
|
|
20
|
-
* request. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html">Amazon EKS
|
|
21
|
-
* optimized Amazon Linux 2 AMI versions</a> in the <i>Amazon EKS User Guide</i>.</p>
|
|
21
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html">Amazon EKS optimized Amazon Linux 2 AMI versions</a> in the <i>Amazon EKS User Guide</i>.</p>
|
|
22
22
|
* <p>You cannot roll back a node group to an earlier Kubernetes version or AMI
|
|
23
23
|
* version.</p>
|
|
24
24
|
* <p>When a node in a managed node group is terminated due to a scaling action or update,
|
|
25
|
-
* the pods in that node are drained first. Amazon EKS attempts to drain the nodes
|
|
26
|
-
* and will fail if it is unable to do so. You can <code>force</code> the update
|
|
27
|
-
* is unable to drain the nodes as a result of a pod disruption
|
|
25
|
+
* the pods in that node are drained first. Amazon EKS attempts to drain the nodes
|
|
26
|
+
* gracefully and will fail if it is unable to do so. You can <code>force</code> the update
|
|
27
|
+
* if Amazon EKS is unable to drain the nodes as a result of a pod disruption
|
|
28
|
+
* budget issue.</p>
|
|
28
29
|
* @example
|
|
29
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
31
|
* ```javascript
|