@aws-sdk/client-eks 3.43.0 → 3.47.1
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 +48 -0
- package/README.md +10 -10
- package/dist-cjs/endpoints.js +1 -24
- package/dist-cjs/models/models_0.js +8 -81
- package/dist-cjs/protocols/Aws_restJson1.js +3 -0
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +1 -24
- package/dist-es/models/models_0.js +5 -52
- package/dist-es/protocols/Aws_restJson1.js +3 -1
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/EKS.d.ts +112 -99
- package/dist-types/EKSClient.d.ts +15 -11
- 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 -265
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/EKSClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +10 -52
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +40 -47
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,21 +1,28 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
-
import {
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
16
17
|
export var getRuntimeConfig = function (config) {
|
|
17
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
|
-
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
19
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
22
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0: return [4, defaultConfigProvider()];
|
|
25
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
26
|
+
}
|
|
27
|
+
}); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
28
|
};
|
package/dist-types/EKS.d.ts
CHANGED
|
@@ -35,16 +35,16 @@ import { UpdateNodegroupConfigCommandInput, UpdateNodegroupConfigCommandOutput }
|
|
|
35
35
|
import { UpdateNodegroupVersionCommandInput, UpdateNodegroupVersionCommandOutput } from "./commands/UpdateNodegroupVersionCommand";
|
|
36
36
|
import { EKSClient } from "./EKSClient";
|
|
37
37
|
/**
|
|
38
|
-
* <p>Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy
|
|
39
|
-
* Amazon Web Services without needing to stand up or maintain
|
|
40
|
-
* Kubernetes is an open-source system for automating
|
|
41
|
-
* management of containerized applications. </p>
|
|
42
|
-
* <p>Amazon EKS runs up-to-date versions of the open-source Kubernetes software, so
|
|
43
|
-
* all the existing plugins and tooling from the Kubernetes community.
|
|
44
|
-
* on Amazon EKS are fully compatible with applications
|
|
45
|
-
* environment, whether running in on-premises data
|
|
46
|
-
* that you can easily migrate any standard Kubernetes
|
|
47
|
-
* code modification required.</p>
|
|
38
|
+
* <p>Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy
|
|
39
|
+
* for you to run Kubernetes on Amazon Web Services without needing to stand up or maintain
|
|
40
|
+
* your own Kubernetes control plane. Kubernetes is an open-source system for automating
|
|
41
|
+
* the deployment, scaling, and management of containerized applications. </p>
|
|
42
|
+
* <p>Amazon EKS runs up-to-date versions of the open-source Kubernetes software, so
|
|
43
|
+
* you can use all the existing plugins and tooling from the Kubernetes community.
|
|
44
|
+
* Applications running on Amazon EKS are fully compatible with applications
|
|
45
|
+
* running on any standard Kubernetes environment, whether running in on-premises data
|
|
46
|
+
* centers or public clouds. This means that you can easily migrate any standard Kubernetes
|
|
47
|
+
* application to Amazon EKS without any code modification required.</p>
|
|
48
48
|
*/
|
|
49
49
|
export declare class EKS extends EKSClient {
|
|
50
50
|
/**
|
|
@@ -100,50 +100,56 @@ export declare class EKS extends EKSClient {
|
|
|
100
100
|
* <p>In most cases, it takes several minutes to create a cluster. After you create an Amazon EKS cluster,
|
|
101
101
|
* you must configure your Kubernetes tooling to communicate with the API server and launch
|
|
102
102
|
* nodes into your cluster. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/managing-auth.html">Managing Cluster
|
|
103
|
-
* Authentication</a> and <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html">Launching Amazon EKS nodes</a> in the
|
|
103
|
+
* Authentication</a> and <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html">Launching Amazon EKS nodes</a> in the
|
|
104
|
+
* <i>Amazon EKS User Guide</i>.</p>
|
|
104
105
|
*/
|
|
105
106
|
createCluster(args: CreateClusterCommandInput, options?: __HttpHandlerOptions): Promise<CreateClusterCommandOutput>;
|
|
106
107
|
createCluster(args: CreateClusterCommandInput, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
107
108
|
createCluster(args: CreateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
108
109
|
/**
|
|
109
|
-
* <p>Creates an Fargate profile for your Amazon EKS cluster. You
|
|
110
|
-
* profile in a cluster to be able to run
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
* <p>
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
* <p>
|
|
110
|
+
* <p>Creates an Fargate profile for your Amazon EKS cluster. You
|
|
111
|
+
* must have at least one Fargate profile in a cluster to be able to run
|
|
112
|
+
* pods on Fargate.</p>
|
|
113
|
+
* <p>The Fargate profile allows an administrator to declare which pods run
|
|
114
|
+
* on Fargate and specify which pods run on which Fargate
|
|
115
|
+
* profile. This declaration is done through the profile’s selectors. Each profile can have
|
|
116
|
+
* up to five selectors that contain a namespace and labels. A namespace is required for
|
|
117
|
+
* every selector. The label field consists of multiple optional key-value pairs. Pods that
|
|
118
|
+
* match the selectors are scheduled on Fargate. If a to-be-scheduled pod
|
|
119
|
+
* matches any of the selectors in the Fargate profile, then that pod is run
|
|
120
|
+
* on Fargate.</p>
|
|
121
|
+
* <p>When you create a Fargate profile, you must specify a pod execution
|
|
122
|
+
* role to use with the pods that are scheduled with the profile. This role is added to the
|
|
123
|
+
* cluster's Kubernetes <a href="https://kubernetes.io/docs/admin/authorization/rbac/">Role Based Access Control</a> (RBAC) for authorization so that the
|
|
124
|
+
* <code>kubelet</code> that is running on the Fargate infrastructure
|
|
125
|
+
* can register with your Amazon EKS cluster so that it can appear in your cluster
|
|
126
|
+
* as a node. The pod execution role also provides IAM permissions to the
|
|
127
|
+
* Fargate infrastructure to allow read access to Amazon ECR
|
|
128
|
+
* image repositories. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/pod-execution-role.html">Pod
|
|
129
|
+
* Execution Role</a> in the <i>Amazon EKS User Guide</i>.</p>
|
|
130
|
+
* <p>Fargate profiles are immutable. However, you can create a new updated
|
|
131
|
+
* profile to replace an existing profile and then delete the original after the updated
|
|
132
|
+
* profile has finished creating.</p>
|
|
133
|
+
* <p>If any Fargate profiles in a cluster are in the <code>DELETING</code>
|
|
134
|
+
* status, you must wait for that Fargate profile to finish deleting before
|
|
135
|
+
* you can create any other profiles in that cluster.</p>
|
|
136
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/fargate-profile.html">Fargate Profile</a> in the
|
|
137
|
+
* <i>Amazon EKS User Guide</i>.</p>
|
|
133
138
|
*/
|
|
134
139
|
createFargateProfile(args: CreateFargateProfileCommandInput, options?: __HttpHandlerOptions): Promise<CreateFargateProfileCommandOutput>;
|
|
135
140
|
createFargateProfile(args: CreateFargateProfileCommandInput, cb: (err: any, data?: CreateFargateProfileCommandOutput) => void): void;
|
|
136
141
|
createFargateProfile(args: CreateFargateProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFargateProfileCommandOutput) => void): void;
|
|
137
142
|
/**
|
|
138
|
-
* <p>Creates a managed node group for an Amazon EKS cluster. You can only create a
|
|
139
|
-
* for your cluster that is equal to the current Kubernetes version for the
|
|
140
|
-
* node groups are created with the latest AMI release version for the
|
|
141
|
-
* Kubernetes version of the cluster, unless you deploy a custom AMI using
|
|
142
|
-
* template. For more information about using launch templates, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html">Launch
|
|
143
|
+
* <p>Creates a managed node group for an Amazon EKS cluster. You can only create a
|
|
144
|
+
* node group for your cluster that is equal to the current Kubernetes version for the
|
|
145
|
+
* cluster. All node groups are created with the latest AMI release version for the
|
|
146
|
+
* respective minor Kubernetes version of the cluster, unless you deploy a custom AMI using
|
|
147
|
+
* 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
|
|
143
148
|
* template support</a>.</p>
|
|
144
|
-
* <p>An Amazon EKS managed node group is an Amazon EC2
|
|
145
|
-
*
|
|
146
|
-
*
|
|
149
|
+
* <p>An Amazon EKS managed node group is an Amazon EC2
|
|
150
|
+
* Auto Scaling group and associated Amazon EC2 instances that are managed by
|
|
151
|
+
* Amazon Web Services for an Amazon EKS cluster. Each node group uses a version
|
|
152
|
+
* 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
|
|
147
153
|
* Node Groups</a> in the <i>Amazon EKS User Guide</i>. </p>
|
|
148
154
|
*/
|
|
149
155
|
createNodegroup(args: CreateNodegroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateNodegroupCommandOutput>;
|
|
@@ -164,21 +170,22 @@ export declare class EKS extends EKSClient {
|
|
|
164
170
|
* are deleted properly. Otherwise, you can have orphaned resources in your VPC that
|
|
165
171
|
* 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
|
|
166
172
|
* Cluster</a> in the <i>Amazon EKS User Guide</i>.</p>
|
|
167
|
-
* <p>If you have managed node groups or Fargate profiles attached to the
|
|
168
|
-
* delete them first. For more information, see <a>DeleteNodegroup</a> and <a>DeleteFargateProfile</a>.</p>
|
|
173
|
+
* <p>If you have managed node groups or Fargate profiles attached to the
|
|
174
|
+
* cluster, you must delete them first. For more information, see <a>DeleteNodegroup</a> and <a>DeleteFargateProfile</a>.</p>
|
|
169
175
|
*/
|
|
170
176
|
deleteCluster(args: DeleteClusterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteClusterCommandOutput>;
|
|
171
177
|
deleteCluster(args: DeleteClusterCommandInput, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
|
|
172
178
|
deleteCluster(args: DeleteClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
|
|
173
179
|
/**
|
|
174
180
|
* <p>Deletes an Fargate profile.</p>
|
|
175
|
-
* <p>When you delete a Fargate profile, any pods running on Fargate that were created with the
|
|
176
|
-
* profile are
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
* <p>Only one Fargate profile in a cluster can be in the
|
|
180
|
-
*
|
|
181
|
-
* other profiles in that
|
|
181
|
+
* <p>When you delete a Fargate profile, any pods running on Fargate that were created with the profile are deleted. If those pods match
|
|
182
|
+
* another Fargate profile, then they are scheduled on Fargate with that profile. If they no longer match any Fargate profiles, then
|
|
183
|
+
* they are not scheduled on Fargate and they may remain in a pending
|
|
184
|
+
* state.</p>
|
|
185
|
+
* <p>Only one Fargate profile in a cluster can be in the
|
|
186
|
+
* <code>DELETING</code> status at a time. You must wait for a Fargate
|
|
187
|
+
* profile to finish deleting before you can delete any other profiles in that
|
|
188
|
+
* cluster.</p>
|
|
182
189
|
*/
|
|
183
190
|
deleteFargateProfile(args: DeleteFargateProfileCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFargateProfileCommandOutput>;
|
|
184
191
|
deleteFargateProfile(args: DeleteFargateProfileCommandInput, cb: (err: any, data?: DeleteFargateProfileCommandOutput) => void): void;
|
|
@@ -190,7 +197,8 @@ export declare class EKS extends EKSClient {
|
|
|
190
197
|
deleteNodegroup(args: DeleteNodegroupCommandInput, cb: (err: any, data?: DeleteNodegroupCommandOutput) => void): void;
|
|
191
198
|
deleteNodegroup(args: DeleteNodegroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteNodegroupCommandOutput) => void): void;
|
|
192
199
|
/**
|
|
193
|
-
* <p>Deregisters a connected cluster to remove it from the Amazon EKS control
|
|
200
|
+
* <p>Deregisters a connected cluster to remove it from the Amazon EKS control
|
|
201
|
+
* plane.</p>
|
|
194
202
|
*/
|
|
195
203
|
deregisterCluster(args: DeregisterClusterCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterClusterCommandOutput>;
|
|
196
204
|
deregisterCluster(args: DeregisterClusterCommandInput, cb: (err: any, data?: DeregisterClusterCommandOutput) => void): void;
|
|
@@ -240,8 +248,8 @@ export declare class EKS extends EKSClient {
|
|
|
240
248
|
describeNodegroup(args: DescribeNodegroupCommandInput, cb: (err: any, data?: DescribeNodegroupCommandOutput) => void): void;
|
|
241
249
|
describeNodegroup(args: DescribeNodegroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeNodegroupCommandOutput) => void): void;
|
|
242
250
|
/**
|
|
243
|
-
* <p>Returns descriptive information about an update against your Amazon EKS
|
|
244
|
-
* associated managed node group.</p>
|
|
251
|
+
* <p>Returns descriptive information about an update against your Amazon EKS
|
|
252
|
+
* cluster or associated managed node group.</p>
|
|
245
253
|
* <p>When the status of the update is <code>Succeeded</code>, the update is complete. If an
|
|
246
254
|
* update fails, the status is <code>Failed</code>, and an error detail explains the reason
|
|
247
255
|
* for the failure.</p>
|
|
@@ -252,8 +260,8 @@ export declare class EKS extends EKSClient {
|
|
|
252
260
|
/**
|
|
253
261
|
* <p>Disassociates an identity provider configuration from a cluster. If you disassociate
|
|
254
262
|
* an identity provider from your cluster, users included in the provider can no longer
|
|
255
|
-
* access the cluster. However, you can still access the cluster with Amazon Web Services
|
|
256
|
-
* users.</p>
|
|
263
|
+
* access the cluster. However, you can still access the cluster with Amazon Web Services
|
|
264
|
+
* IAM users.</p>
|
|
257
265
|
*/
|
|
258
266
|
disassociateIdentityProviderConfig(args: DisassociateIdentityProviderConfigCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateIdentityProviderConfigCommandOutput>;
|
|
259
267
|
disassociateIdentityProviderConfig(args: DisassociateIdentityProviderConfigCommandInput, cb: (err: any, data?: DisassociateIdentityProviderConfigCommandOutput) => void): void;
|
|
@@ -265,14 +273,15 @@ export declare class EKS extends EKSClient {
|
|
|
265
273
|
listAddons(args: ListAddonsCommandInput, cb: (err: any, data?: ListAddonsCommandOutput) => void): void;
|
|
266
274
|
listAddons(args: ListAddonsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAddonsCommandOutput) => void): void;
|
|
267
275
|
/**
|
|
268
|
-
* <p>Lists the Amazon EKS clusters in your Amazon Web Services account in the
|
|
276
|
+
* <p>Lists the Amazon EKS clusters in your Amazon Web Services account in the
|
|
277
|
+
* specified Region.</p>
|
|
269
278
|
*/
|
|
270
279
|
listClusters(args: ListClustersCommandInput, options?: __HttpHandlerOptions): Promise<ListClustersCommandOutput>;
|
|
271
280
|
listClusters(args: ListClustersCommandInput, cb: (err: any, data?: ListClustersCommandOutput) => void): void;
|
|
272
281
|
listClusters(args: ListClustersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListClustersCommandOutput) => void): void;
|
|
273
282
|
/**
|
|
274
|
-
* <p>Lists the Fargate profiles associated with the specified cluster in
|
|
275
|
-
* account in the specified Region.</p>
|
|
283
|
+
* <p>Lists the Fargate profiles associated with the specified cluster in
|
|
284
|
+
* your Amazon Web Services account in the specified Region.</p>
|
|
276
285
|
*/
|
|
277
286
|
listFargateProfiles(args: ListFargateProfilesCommandInput, options?: __HttpHandlerOptions): Promise<ListFargateProfilesCommandOutput>;
|
|
278
287
|
listFargateProfiles(args: ListFargateProfilesCommandInput, cb: (err: any, data?: ListFargateProfilesCommandOutput) => void): void;
|
|
@@ -284,8 +293,9 @@ export declare class EKS extends EKSClient {
|
|
|
284
293
|
listIdentityProviderConfigs(args: ListIdentityProviderConfigsCommandInput, cb: (err: any, data?: ListIdentityProviderConfigsCommandOutput) => void): void;
|
|
285
294
|
listIdentityProviderConfigs(args: ListIdentityProviderConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIdentityProviderConfigsCommandOutput) => void): void;
|
|
286
295
|
/**
|
|
287
|
-
* <p>Lists the Amazon EKS managed node groups associated with the specified cluster
|
|
288
|
-
* Amazon Web Services account in the specified Region. Self-managed node groups are
|
|
296
|
+
* <p>Lists the Amazon EKS managed node groups associated with the specified cluster
|
|
297
|
+
* in your Amazon Web Services account in the specified Region. Self-managed node groups are
|
|
298
|
+
* not listed.</p>
|
|
289
299
|
*/
|
|
290
300
|
listNodegroups(args: ListNodegroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListNodegroupsCommandOutput>;
|
|
291
301
|
listNodegroups(args: ListNodegroupsCommandInput, cb: (err: any, data?: ListNodegroupsCommandOutput) => void): void;
|
|
@@ -297,22 +307,26 @@ export declare class EKS extends EKSClient {
|
|
|
297
307
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
298
308
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
299
309
|
/**
|
|
300
|
-
* <p>Lists the updates associated with an Amazon EKS cluster or managed node group
|
|
301
|
-
* account, in the specified Region.</p>
|
|
310
|
+
* <p>Lists the updates associated with an Amazon EKS cluster or managed node group
|
|
311
|
+
* in your Amazon Web Services account, in the specified Region.</p>
|
|
302
312
|
*/
|
|
303
313
|
listUpdates(args: ListUpdatesCommandInput, options?: __HttpHandlerOptions): Promise<ListUpdatesCommandOutput>;
|
|
304
314
|
listUpdates(args: ListUpdatesCommandInput, cb: (err: any, data?: ListUpdatesCommandOutput) => void): void;
|
|
305
315
|
listUpdates(args: ListUpdatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListUpdatesCommandOutput) => void): void;
|
|
306
316
|
/**
|
|
307
317
|
* <p>Connects a Kubernetes cluster to the Amazon EKS control plane. </p>
|
|
308
|
-
* <p>Any Kubernetes cluster can be connected to the Amazon EKS control plane to
|
|
309
|
-
*
|
|
318
|
+
* <p>Any Kubernetes cluster can be connected to the Amazon EKS control plane to
|
|
319
|
+
* view current information about the cluster and its nodes. </p>
|
|
310
320
|
* <p>Cluster connection requires two steps. First, send a <code>
|
|
311
321
|
* <a>RegisterClusterRequest</a>
|
|
312
|
-
* </code> to add it to the Amazon EKS
|
|
313
|
-
*
|
|
322
|
+
* </code> to add it to the Amazon EKS
|
|
323
|
+
* control plane.</p>
|
|
324
|
+
* <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
|
|
325
|
+
* <code>activationCode</code> must be applied to the Kubernetes cluster through it's
|
|
326
|
+
* native provider to provide visibility.</p>
|
|
314
327
|
*
|
|
315
|
-
* <p>After the Manifest is updated and applied, then the connected cluster is visible to
|
|
328
|
+
* <p>After the Manifest is updated and applied, then the connected cluster is visible to
|
|
329
|
+
* the Amazon EKS control plane. If the Manifest is not applied within three days,
|
|
316
330
|
* then the connected cluster will no longer be visible and must be deregistered. See <a>DeregisterCluster</a>.</p>
|
|
317
331
|
*/
|
|
318
332
|
registerCluster(args: RegisterClusterCommandInput, options?: __HttpHandlerOptions): Promise<RegisterClusterCommandOutput>;
|
|
@@ -322,10 +336,9 @@ export declare class EKS extends EKSClient {
|
|
|
322
336
|
* <p>Associates the specified tags to a resource with the specified
|
|
323
337
|
* <code>resourceArn</code>. If existing tags on a resource are not specified in the
|
|
324
338
|
* request parameters, they are not changed. When a resource is deleted, the tags
|
|
325
|
-
* associated with that resource are deleted as well. Tags that you create for Amazon EKS
|
|
326
|
-
*
|
|
327
|
-
*
|
|
328
|
-
* propagate to the subnets and nodes associated with the cluster.</p>
|
|
339
|
+
* 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
|
|
340
|
+
* cluster. For example, if you tag a cluster with this operation, that tag does not
|
|
341
|
+
* automatically propagate to the subnets and nodes associated with the cluster.</p>
|
|
329
342
|
*/
|
|
330
343
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
331
344
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
@@ -343,24 +356,25 @@ export declare class EKS extends EKSClient {
|
|
|
343
356
|
updateAddon(args: UpdateAddonCommandInput, cb: (err: any, data?: UpdateAddonCommandOutput) => void): void;
|
|
344
357
|
updateAddon(args: UpdateAddonCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAddonCommandOutput) => void): void;
|
|
345
358
|
/**
|
|
346
|
-
* <p>Updates an Amazon EKS cluster configuration. Your cluster continues to
|
|
347
|
-
* update. The response output includes an update ID that you can use
|
|
348
|
-
* of your cluster update with the <a>DescribeUpdate</a> API
|
|
359
|
+
* <p>Updates an Amazon EKS cluster configuration. Your cluster continues to
|
|
360
|
+
* function during the update. The response output includes an update ID that you can use
|
|
361
|
+
* to track the status of your cluster update with the <a>DescribeUpdate</a> API
|
|
362
|
+
* operation.</p>
|
|
349
363
|
* <p>You can use this API operation to enable or disable exporting the Kubernetes control
|
|
350
|
-
* plane logs for your cluster to CloudWatch Logs. By default, cluster control plane
|
|
351
|
-
* exported to CloudWatch Logs. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html">Amazon EKS
|
|
352
|
-
*
|
|
353
|
-
* <i>
|
|
364
|
+
* plane logs for your cluster to CloudWatch Logs. By default, cluster control plane
|
|
365
|
+
* 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
|
|
366
|
+
* <i>
|
|
354
367
|
* <i>Amazon EKS User Guide</i>
|
|
355
368
|
* </i>.</p>
|
|
356
369
|
* <note>
|
|
357
|
-
* <p>CloudWatch Logs ingestion, archive storage, and data scanning rates apply to
|
|
358
|
-
* control plane logs. For more information, see <a href="http://aws.amazon.com/cloudwatch/pricing/">CloudWatch
|
|
370
|
+
* <p>CloudWatch Logs ingestion, archive storage, and data scanning rates apply to
|
|
371
|
+
* exported control plane logs. For more information, see <a href="http://aws.amazon.com/cloudwatch/pricing/">CloudWatch
|
|
372
|
+
* Pricing</a>.</p>
|
|
359
373
|
* </note>
|
|
360
374
|
* <p>You can also use this API operation to enable or disable public and private access to
|
|
361
375
|
* your cluster's Kubernetes API server endpoint. By default, public access is enabled, and
|
|
362
|
-
* private access is disabled. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html">Amazon EKS cluster
|
|
363
|
-
*
|
|
376
|
+
* 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
|
|
377
|
+
* <i>
|
|
364
378
|
* <i>Amazon EKS User Guide</i>
|
|
365
379
|
* </i>. </p>
|
|
366
380
|
* <important>
|
|
@@ -375,10 +389,9 @@ export declare class EKS extends EKSClient {
|
|
|
375
389
|
updateClusterConfig(args: UpdateClusterConfigCommandInput, cb: (err: any, data?: UpdateClusterConfigCommandOutput) => void): void;
|
|
376
390
|
updateClusterConfig(args: UpdateClusterConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateClusterConfigCommandOutput) => void): void;
|
|
377
391
|
/**
|
|
378
|
-
* <p>Updates an Amazon EKS cluster to the specified Kubernetes version. Your
|
|
379
|
-
* to function during the update. The response output includes an update
|
|
380
|
-
* use to track the status of your cluster update with the <a>DescribeUpdate</a>
|
|
381
|
-
* API operation.</p>
|
|
392
|
+
* <p>Updates an Amazon EKS cluster to the specified Kubernetes version. Your
|
|
393
|
+
* cluster continues to function during the update. The response output includes an update
|
|
394
|
+
* ID that you can use to track the status of your cluster update with the <a>DescribeUpdate</a> API operation.</p>
|
|
382
395
|
* <p>Cluster updates are asynchronous, and they should finish within a few minutes. During
|
|
383
396
|
* an update, the cluster status moves to <code>UPDATING</code> (this status transition is
|
|
384
397
|
* eventually consistent). When the update is complete (either <code>Failed</code> or
|
|
@@ -391,17 +404,17 @@ export declare class EKS extends EKSClient {
|
|
|
391
404
|
updateClusterVersion(args: UpdateClusterVersionCommandInput, cb: (err: any, data?: UpdateClusterVersionCommandOutput) => void): void;
|
|
392
405
|
updateClusterVersion(args: UpdateClusterVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateClusterVersionCommandOutput) => void): void;
|
|
393
406
|
/**
|
|
394
|
-
* <p>Updates an Amazon EKS managed node group configuration. Your node group
|
|
395
|
-
* function during the update. The response output includes an update ID that
|
|
396
|
-
* to track the status of your node group update with the <a>DescribeUpdate</a>
|
|
397
|
-
*
|
|
398
|
-
* scaling configuration.</p>
|
|
407
|
+
* <p>Updates an Amazon EKS managed node group configuration. Your node group
|
|
408
|
+
* continues to function during the update. The response output includes an update ID that
|
|
409
|
+
* 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
|
|
410
|
+
* labels for a node group or the scaling configuration.</p>
|
|
399
411
|
*/
|
|
400
412
|
updateNodegroupConfig(args: UpdateNodegroupConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateNodegroupConfigCommandOutput>;
|
|
401
413
|
updateNodegroupConfig(args: UpdateNodegroupConfigCommandInput, cb: (err: any, data?: UpdateNodegroupConfigCommandOutput) => void): void;
|
|
402
414
|
updateNodegroupConfig(args: UpdateNodegroupConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateNodegroupConfigCommandOutput) => void): void;
|
|
403
415
|
/**
|
|
404
|
-
* <p>Updates the Kubernetes version or AMI version of an Amazon EKS managed node
|
|
416
|
+
* <p>Updates the Kubernetes version or AMI version of an Amazon EKS managed node
|
|
417
|
+
* group.</p>
|
|
405
418
|
* <p>You can update a node group using a launch template only if the node group was
|
|
406
419
|
* originally deployed with a launch template. If you need to update a custom AMI in a node
|
|
407
420
|
* group that was deployed with a launch template, then update your custom AMI, specify the
|
|
@@ -411,14 +424,14 @@ export declare class EKS extends EKSClient {
|
|
|
411
424
|
* AMI version of a node group's current Kubernetes version by not specifying a Kubernetes
|
|
412
425
|
* version in the request. You can update to the latest AMI version of your cluster's
|
|
413
426
|
* current Kubernetes version by specifying your cluster's Kubernetes version in the
|
|
414
|
-
* request. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html">Amazon EKS
|
|
415
|
-
* optimized Amazon Linux 2 AMI versions</a> in the <i>Amazon EKS User Guide</i>.</p>
|
|
427
|
+
* 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>
|
|
416
428
|
* <p>You cannot roll back a node group to an earlier Kubernetes version or AMI
|
|
417
429
|
* version.</p>
|
|
418
430
|
* <p>When a node in a managed node group is terminated due to a scaling action or update,
|
|
419
|
-
* the pods in that node are drained first. Amazon EKS attempts to drain the nodes
|
|
420
|
-
* and will fail if it is unable to do so. You can <code>force</code> the update
|
|
421
|
-
* is unable to drain the nodes as a result of a pod disruption
|
|
431
|
+
* the pods in that node are drained first. Amazon EKS attempts to drain the nodes
|
|
432
|
+
* gracefully and will fail if it is unable to do so. You can <code>force</code> the update
|
|
433
|
+
* if Amazon EKS is unable to drain the nodes as a result of a pod disruption
|
|
434
|
+
* budget issue.</p>
|
|
422
435
|
*/
|
|
423
436
|
updateNodegroupVersion(args: UpdateNodegroupVersionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateNodegroupVersionCommandOutput>;
|
|
424
437
|
updateNodegroupVersion(args: UpdateNodegroupVersionCommandInput, cb: (err: any, data?: UpdateNodegroupVersionCommandOutput) => void): void;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateEncryptionConfigCommandInput, AssociateEncryptionConfigCommandOutput } from "./commands/AssociateEncryptionConfigCommand";
|
|
10
10
|
import { AssociateIdentityProviderConfigCommandInput, AssociateIdentityProviderConfigCommandOutput } from "./commands/AssociateIdentityProviderConfigCommand";
|
|
@@ -142,6 +142,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
142
142
|
* @internal
|
|
143
143
|
*/
|
|
144
144
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
145
|
+
/**
|
|
146
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
147
|
+
*/
|
|
148
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
145
149
|
}
|
|
146
150
|
declare type EKSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
147
151
|
/**
|
|
@@ -156,16 +160,16 @@ declare type EKSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpH
|
|
|
156
160
|
export interface EKSClientResolvedConfig extends EKSClientResolvedConfigType {
|
|
157
161
|
}
|
|
158
162
|
/**
|
|
159
|
-
* <p>Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy
|
|
160
|
-
* Amazon Web Services without needing to stand up or maintain
|
|
161
|
-
* Kubernetes is an open-source system for automating
|
|
162
|
-
* management of containerized applications. </p>
|
|
163
|
-
* <p>Amazon EKS runs up-to-date versions of the open-source Kubernetes software, so
|
|
164
|
-
* all the existing plugins and tooling from the Kubernetes community.
|
|
165
|
-
* on Amazon EKS are fully compatible with applications
|
|
166
|
-
* environment, whether running in on-premises data
|
|
167
|
-
* that you can easily migrate any standard Kubernetes
|
|
168
|
-
* code modification required.</p>
|
|
163
|
+
* <p>Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy
|
|
164
|
+
* for you to run Kubernetes on Amazon Web Services without needing to stand up or maintain
|
|
165
|
+
* your own Kubernetes control plane. Kubernetes is an open-source system for automating
|
|
166
|
+
* the deployment, scaling, and management of containerized applications. </p>
|
|
167
|
+
* <p>Amazon EKS runs up-to-date versions of the open-source Kubernetes software, so
|
|
168
|
+
* you can use all the existing plugins and tooling from the Kubernetes community.
|
|
169
|
+
* Applications running on Amazon EKS are fully compatible with applications
|
|
170
|
+
* running on any standard Kubernetes environment, whether running in on-premises data
|
|
171
|
+
* centers or public clouds. This means that you can easily migrate any standard Kubernetes
|
|
172
|
+
* application to Amazon EKS without any code modification required.</p>
|
|
169
173
|
*/
|
|
170
174
|
export declare class EKSClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, EKSClientResolvedConfig> {
|
|
171
175
|
/**
|
|
@@ -25,7 +25,8 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
|
|
|
25
25
|
* <p>In most cases, it takes several minutes to create a cluster. After you create an Amazon EKS cluster,
|
|
26
26
|
* you must configure your Kubernetes tooling to communicate with the API server and launch
|
|
27
27
|
* nodes into your cluster. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/managing-auth.html">Managing Cluster
|
|
28
|
-
* Authentication</a> and <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html">Launching Amazon EKS nodes</a> in the
|
|
28
|
+
* Authentication</a> and <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html">Launching Amazon EKS nodes</a> in the
|
|
29
|
+
* <i>Amazon EKS User Guide</i>.</p>
|
|
29
30
|
* @example
|
|
30
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
32
|
* ```javascript
|
|
@@ -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
|